joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400038b0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov rdx, rcx
mov rcx, qword [rcx + 0x10]
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400039b5
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
xor r8d, r8d
mov eax, 0x4550
cmp dword [rcx], eax
cmove r8, rcx
mov qword [rdx + 0x18], r8
cmp dword [r8], eax
jne 0x14000393d
mov eax, 0x10b
cmp word [r8 + 0x18], ax
jne 0x14000390a
mov byte [rdx + 0x20], 0
mov rax, qword [r8 + 0x30]
jmp 0x14000391e
mov eax, 0x20b
cmp word [r8 + 0x18], ax
jne 0x140003979
mov byte [rdx + 0x20], 1
mov eax, dword [r8 + 0x34]
mov qword [rdx + 0x28], rax
mov eax, dword [r8 + 0x50]
mov dword [rdx + 0x30], eax
mov eax, dword [r8 + 0x54]
mov dword [rdx + 0x34], eax
mov eax, dword [r8 + 0x28]
mov dword [rdx + 0x38], eax
add rsp, 0x50
pop rbp
ret
lea rax, vtable.std::exception.0
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, [0x140080360]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x10], 0xc000a000
and dword [rbp - 0xc], 0
lea rdx, [0x1400a01c0]
lea rcx, [rbp - 0x28]
call fcn.140058c30
int3
lea rax, vtable.std::exception.0
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, [0x140080360]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x10], 0xc000007b
and dword [rbp - 0xc], 0
lea rdx, [0x1400a01c0]
lea rcx, [rbp - 0x28]
call fcn.140058c30
int3
lea rax, vtable.std::exception.0
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, [0x140080360]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x10], 0xc000012f
and dword [rbp - 0xc], 0
lea rdx, [0x1400a01c0]
lea rcx, [rbp - 0x28]
call fcn.140058c30
int3
Function at 0x140004a0c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r15, r9
mov rbx, r8
mov rsi, rdx
mov r13, rcx
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x140004bf3
movsxd rdi, dword [rdx + 0x3c]
add rdi, rdx
cmp dword [rdi], 0x4550
jne 0x140004bf3
mov eax, dword [rdi + 0x54]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rbx
mov eax, 1
mov dword [rbp + 0x6f], eax
mov eax, dword [0x140071848]
mov dword gs:[0x68], eax
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x21]
mov rcx, qword [rcx]
call fcn.1400558a0
nop
mov dword [r15], eax
movzx r14d, word [rdi + 0x14]
add r14, 0x3c
xor r8d, r8d
movzx r12d, r8w
cmp r8w, word [rdi + 6]
jae 0x140004bfa
add r14, rdi
lea edx, [r8 + 1]
mov eax, dword [r14 - 0x18]
lea rcx, [rax + rbx]
mov qword [rbp - 0x31], rcx
lea r10, [rax + rsi]
test dword [r14], 0x2000000
je 0x140004b2e
mov ebx, dword [r14 - 0x1c]
mov r8d, ebx
xor edx, edx
mov rcx, r10
call fcn.140058aa0
nop
mov qword [rbp - 0x19], rbx
mov rax, qword [rbp - 0x31]
mov qword [rbp - 0x11], rax
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x11]
mov eax, dword [0x14007184c]
mov r9d, 0x4000
mov dword gs:[0x68], eax
mov rcx, qword [r13]
call fcn.1400558a0
nop
mov rbx, qword [rbp + 0x77]
jmp 0x140004bd2
mov eax, dword [r14]
and eax, 0x40000000
test dword [r14], 0x20000000
je 0x140004b53
neg eax
sbb r9d, r9d
and r9d, 0x10
add r9d, 0x10
mov eax, 0x40
jmp 0x140004b63
neg eax
sbb r9d, r9d
neg r9d
add r9d, edx
mov eax, 4
cmp dword [r14], r8d
cmovl r9d, eax
cmp r9d, edx
jne 0x140004b9a
mov ebx, dword [r14 - 0x1c]
mov r8d, ebx
xor edx, edx
mov rcx, r10
call fcn.140058aa0
nop
mov qword [rbp - 9], rbx
mov rax, qword [rbp - 0x31]
mov qword [rbp - 1], rax
lea r8, [rbp - 9]
lea rdx, [rbp - 1]
jmp 0x140004b07
mov eax, dword [r14 - 0x1c]
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rcx
mov dword [rbp - 0x39], edx
mov eax, dword [0x140071848]
mov dword gs:[0x68], eax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 7]
lea rdx, [rbp + 0xf]
mov rcx, qword [r13]
call fcn.1400558a0
nop
mov dword [r15], eax
mov edx, 1
add r12w, dx
add r14, 0x28
cmp r12w, word [rdi + 6]
lea r8d, [rdx - 1]
jb 0x140004ac8
jmp 0x140004bfa
mov dword [r9], 0xc000007b
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140006488
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
lea r9, [r8 + 4]
mov rbx, rcx
cmp r9, r8
movabs rax, 0xcbf29ce484222325
mov r11, r8
sbb r10, r10
not r10
and r10d, 4
cmp r8, r9
ja 0x1400064d6
movzx ecx, byte [r11]
movabs r9, 0x100000001b3
xor rax, rcx
inc r11
mov rcx, r11
sub rcx, r8
imul rax, r9
cmp rcx, r10
jne 0x1400064b3
mov r9, qword [rbx + 0x30]
mov r11, qword [rbx + 0x18]
and r9, rax
add r9, r9
mov r10, qword [r11 + r9*8]
mov rcx, r10
cmp r10, qword [rbx + 8]
jne 0x1400064f7
mov rax, qword [rbx + 8]
jmp 0x1400064ff
mov rax, qword [r11 + r9*8 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x140006511
mov eax, dword [r8]
cmp dword [rcx + 0x10], eax
je 0x140006515
mov rcx, qword [rcx]
jmp 0x1400064eb
mov rcx, qword [rbx + 8]
mov qword [rdx], rcx
mov rax, rdx
mov rbx, qword [rsp + 8]
ret

Function at 0x140006e58
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea r11, [r8 + 0x10]
mov rsi, rdx
lea r9, [r11 + 4]
mov r10, rcx
cmp r9, r11
movabs rax, 0xcbf29ce484222325
mov rdi, r11
sbb rbx, rbx
not rbx
and ebx, 4
cmp r11, r9
ja 0x140006eb5
movzx ecx, byte [rdi]
movabs rdx, 0x100000001b3
xor rax, rcx
inc rdi
mov rcx, rdi
sub rcx, r11
imul rax, rdx
cmp rcx, rbx
jne 0x140006e93
mov rdx, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and rdx, rax
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x140006eed
cmp qword [rcx + rdx*8], r8
jne 0x140006ee2
mov rax, qword [r10 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
jmp 0x140006ee6
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140006efa
cmp qword [rcx + rdx*8], r8
jne 0x140006efa
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov edx, 0x30
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r10 + 0x10]
call fcn.1400558ec
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140007504
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, qword gs:[0x60]
mov rbp, rcx
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x1400075be
mov rcx, qword [rdi + 0x110]
lea r14, [rax + 0x10]
mov rbx, qword [r14]
xor esi, esi
call fcn.140002024
jmp 0x140007556
cmp qword [rbx + 0x30], rbp
je 0x14000755d
mov rbx, qword [rbx]
cmp rbx, r14
jne 0x14000754d
jmp 0x140007560
mov rsi, rbx
mov rdx, qword [rdi + 0x110]
sub dword [rdx + 0xc], 1
je 0x140007573
lock dec dword [rdx + 8]
jmp 0x1400075bb
and qword [rdx + 0x10], 0
or eax, 0xffffffff
lock xadd dword [rdx + 8], eax
dec eax
cmp eax, 0xffffffff
je 0x1400075bb
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x1400075bb
cmp rcx, 0xffffffffffffffff
jne 0x1400075b3
mov r9, qword gs:[0x60]
xor r8d, r8d
add r9, 0xc0
xor ecx, ecx
call qword [sym.imp.ntdll.dll_NtReleaseKeyedEvent]
jmp 0x1400075bb
xor edx, edx
call qword [sym.imp.ntdll.dll_NtSetEvent]
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140007abc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
xor r14d, r14d
mov dword [rbp - 9], 0x4b005c
mov qword [rbp + 0x7f], r14
mov rsi, r8
mov dword [rbp - 5], 0x6f006e
mov rdi, rcx
mov dword [rbp - 1], 0x6e0077
mov dword [rbp + 3], 0x6c0044
mov dword [rbp + 7], 0x73006c
mov dword [rbp + 0xb], 0x320033
mov word [rbp + 0xf], r14w
test dl, dl
jne 0x140007b1b
mov word [rbp + 0xb], r14w
or rbx, 0xffffffffffffffff
lea rcx, [rbp - 9]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140007b26
add ax, ax
mov dword [rbp + 0x17], 0x30
mov word [rbp - 0x29], ax
lea r8, [rbp + 0x17]
add ax, 2
mov qword [rbp + 0x1f], r14
mov word [rbp - 0x27], ax
lea rcx, [rbp + 0x7f]
lea rax, [rbp - 9]
mov dword [rbp + 0x2f], 0x40
mov qword [rbp - 0x21], rax
xorps xmm0, xmm0
lea rax, [rbp - 0x29]
mov edx, 3
mov qword [rbp + 0x27], rax
movdqu xmmword [rbp + 0x37], xmm0
call qword [sym.imp.ntdll.dll_ZwOpenDirectoryObject]
test eax, eax
js 0x140007be3
inc rbx
cmp word [rdi + rbx*2], r14w
jne 0x140007b80
mov rax, qword [rbp + 0x7f]
lea r8, [rbp + 0x17]
add bx, bx
mov qword [rbp + 0x1f], rax
mov word [rbp - 0x19], bx
lea rax, [rbp - 0x19]
xorps xmm0, xmm0
mov qword [rbp + 0x27], rax
add bx, 2
mov qword [rbp - 0x11], rdi
mov edx, 0xf
mov word [rbp - 0x17], bx
mov rcx, rsi
mov dword [rbp + 0x17], 0x30
mov dword [rbp + 0x2f], 0x40
movdqu xmmword [rbp + 0x37], xmm0
call qword [sym.imp.ntdll.dll_ZwOpenSection]
mov rcx, qword [rbp + 0x7f]
mov ebx, eax
call qword [0x140073728]
mov eax, ebx
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140007d44
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
test rcx, rcx
je 0x140007d6b
mov al, byte [rcx]
mov edx, 0x811c9dc5
test al, al
je 0x140007d6b
inc rcx
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [rcx]
test al, al
jne 0x140007d54
mov eax, edx
ret
xor eax, eax
ret

Function at 0x140007d70
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r9
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r14d, r14d
xor r15d, r15d
xor ebp, ebp
mov rax, r9
mov r13d, edx
mov r10, rcx
mov ebx, 0xc0000225
test rcx, rcx
je 0x140007ef9
test rax, rax
je 0x140007ef9
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140007ef2
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140007ef2
mov ecx, 0x10b
cmp word [rax + 0x18], cx
je 0x140007dfa
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x140007ef2
mov ecx, 0x88
jmp 0x140007dff
mov ecx, 0x78
mov edi, dword [rcx + rax]
test edi, edi
je 0x140007eeb
mov r12d, dword [rcx + rax + 4]
test r12d, r12d
je 0x140007eeb
lea r8, [r10 + rdi]
cmp dword [r8 + 0x1c], ebp
je 0x140007e29
mov r14d, dword [r8 + 0x1c]
add r14, r10
cmp dword [r8 + 0x24], ebp
je 0x140007e36
mov r15d, dword [r8 + 0x24]
add r15, r10
cmp dword [r8 + 0x20], ebp
je 0x140007e43
mov ebp, dword [r8 + 0x20]
add rbp, r10
test r13d, r13d
je 0x140007e4e
mov esi, dword [r8 + 0x18]
jmp 0x140007e52
mov esi, dword [r8 + 0x14]
xor r11d, r11d
test esi, esi
je 0x140007ee7
test r13d, r13d
je 0x140007e8e
mov ecx, dword [rbp + r11*4]
add rcx, r10
mov r9d, r11d
call fcn.140007d44
cmp byte [rsp + 0x78], 0
je 0x140007e7e
xor eax, 0x4cec1bbc
cmp r13d, eax
jne 0x140007e97
movzx eax, word [r15 + r11*2]
mov ecx, dword [r14 + rax*4]
jmp 0x140007ea8
mov ecx, dword [r8 + 0x10]
add ecx, r11d
je 0x140007ea1
inc r11d
cmp r11d, esi
jae 0x140007ee7
jmp 0x140007e5d
mov ecx, dword [r14 + r11*4]
mov r9d, r11d
cmp ecx, edi
jb 0x140007ed8
lea eax, [r12 + rdi]
cmp ecx, eax
jae 0x140007ed8
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140007ed1
mov r8d, dword [rbp + r9*4]
mov edx, 0x80
add r8, r10
call qword [sym.imp.msvcrt.dll_strcpy_s]
mov ebx, 0xc000036f
jmp 0x140007ee7
mov eax, ecx
mov rcx, qword [rsp + 0x68]
add rax, r10
xor ebx, ebx
mov qword [rcx], rax
mov eax, ebx
jmp 0x140007efe
mov eax, 0xc000047c
jmp 0x140007efe
mov eax, 0xc000007b
jmp 0x140007efe
mov eax, 0xc000000d
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140007f1c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov byte [rax + 0x10], dl
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r12, r9
mov byte [rax + 0x10], bl
mov r10, r8
mov rsi, rcx
test rcx, rcx
je 0x14000805e
test r9, r9
je 0x14000805e
mov eax, 0x5a4d
cmp word [rcx], ax
je 0x140007f67
mov edi, ebx
jmp 0x140007f78
movsxd rdi, dword [rcx + 0x3c]
add rdi, rsi
cmp dword [rdi], 0x4550
cmovne rdi, rbx
mov eax, 0x10b
cmp word [rdi + 0x18], ax
je 0x140007f9a
mov eax, 0x20b
cmp word [rdi + 0x18], ax
jne 0x140008057
mov r14d, 0x88
jmp 0x140007fa0
mov r14d, 0x78
cmp dword [r14 + rdi], ebx
jne 0x140007fb0
mov eax, 0xc000047c
jmp 0x140008063
mov ebp, dword [r14 + rdi]
add rbp, rsi
cmp dword [rbp + 0x1c], ebx
je 0x140008057
cmp dword [rbp + 0x24], ebx
je 0x140008057
cmp dword [rbp + 0x20], ebx
je 0x140008057
mov r13d, dword [rbp + 0x1c]
mov r15d, ebx
mov eax, dword [rbp + 0x24]
add r13, rsi
mov r9d, dword [rbp + 0x20]
add rax, rsi
add r9, rsi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x70], r9
cmp dword [rbp + 0x18], ebx
jbe 0x140008053
mov ecx, dword [r14 + rdi]
mov r8d, r15d
movzx eax, word [rax + r8*2]
mov edx, dword [r13 + rax*4]
cmp edx, ecx
jb 0x140008016
add ecx, dword [r14 + rdi + 4]
cmp edx, ecx
jb 0x14000803e
mov ecx, dword [r9 + r8*4]
add rdx, rsi
add rcx, rsi
lea r9, [rsp + 0x78]
mov r8, r10
call r12
cmp byte [rsp + 0x78], bl
jne 0x14000804e
mov r9, qword [rsp + 0x70]
mov r10, qword [rsp + 0x80]
mov rax, qword [rsp + 0x20]
inc r15d
cmp r15d, dword [rbp + 0x18]
jb 0x140007ff8
jmp 0x140008053
mov ebx, 0x80
mov eax, ebx
jmp 0x140008063
mov eax, 0xc000007b
jmp 0x140008063
mov eax, 0xc000000d
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140008760
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x40
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x218
mov rcx, rbx
call fcn.140058aa0
nop
mov eax, dword [0x1400718e8]
mov dword gs:[0x68], eax
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x218
mov r9, rbx
mov r8d, 2
mov rdx, rdi
mov rcx, qword [rsi]
call fcn.1400558a0
nop
mov dword [r14], eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret
Function at 0x140009054
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0xe0
mov qword [rax - 0x60], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rbx, rcx
xor r15d, r15d
mov qword [rsp + 0x68], r15
mov r8, qword [rcx + 0x18]
mov rdx, qword [rdx + 0x20]
mov eax, dword [0x140071804]
mov dword gs:[0x68], eax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x68]
or rcx, 0xffffffffffffffff
call fcn.1400558a0
nop
mov dword [rsp + 0x128], eax
test eax, eax
js 0x1400092db
mov dword [rsp + 0x110], 0x40
mov dword [rsp + 0x118], 0x1000
lea r8, [rsp + 0x110]
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x40]
call fcn.140007154
nop
lea r9d, [r15 + 4]
or r8, 0xffffffffffffffff
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.1400051dc
nop
lea r9d, [r15 + 0x20]
mov r8, qword [rbx + 0x18]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.1400051dc
nop
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov rdx, r14
mov rcx, rbx
call fcn.14000b298
nop
mov rax, qword [rbx + 0x58]
mov qword [rsp + 0xb0], rax
mov dword [rax], r15d
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0xb8], rdx
mov r8, qword [rbx + 0x68]
mov qword [rsp + 0xc0], r8
mov rcx, qword [rbx]
mov qword [rsp + 0xc8], rcx
mov eax, dword [0x14007181c]
mov dword [rsp + 0x78], eax
mov dword gs:[0x68], eax
imul rdx, rdx, 0xfffffffffffffffc
mov qword [rsp + 0x20], r15
xor r9d, r9d
call fcn.1400558a0
nop
mov dword [rsp + 0x128], eax
test eax, eax
jns 0x140009220
cmp qword [rsp + 0x50], r15
je 0x1400091d2
mov eax, dword [0x140071910]
mov dword [rsp + 0x80], eax
mov dword gs:[0x68], eax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call fcn.1400558a0
nop
mov qword [rsp + 0x50], r15
cmp qword [rsp + 0x60], r15
je 0x140009203
mov eax, dword [0x140071910]
mov dword [rsp + 0x88], eax
mov dword gs:[0x68], eax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call fcn.1400558a0
nop
mov qword [rsp + 0x60], r15
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140009219
call qword [0x140073728]
nop
mov qword [rsp + 0x40], r15
xor al, al
jmp 0x1400092dd
lea rdx, [r14 + 0x20]
mov rcx, rbx
call fcn.14000c588
nop
test rdi, rdi
je 0x140009242
mov rax, qword [rbx + 0x58]
mov qword [rsp + 0xd0], rax
mov eax, dword [rax]
mov dword [rdi], eax
mov qword [rsp + 0xa0], 0xfffffffffffc2f70
lea rdx, [rsp + 0xa0]
xor ecx, ecx
call qword [0x140073708]
nop
cmp qword [rsp + 0x50], r15
je 0x140009290
mov eax, dword [0x140071910]
mov dword [rsp + 0x90], eax
mov dword gs:[0x68], eax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call fcn.1400558a0
nop
mov qword [rsp + 0x50], r15
cmp qword [rsp + 0x60], r15
je 0x1400092c1
mov eax, dword [0x140071910]
mov dword [rsp + 0x98], eax
mov dword gs:[0x68], eax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call fcn.1400558a0
nop
mov qword [rsp + 0x60], r15
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400092d7
call qword [0x140073728]
nop
mov qword [rsp + 0x40], r15
mov al, 1
jmp 0x1400092dd
xor al, al
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140009b18
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rcx, qword [0x140072210]
test rcx, rcx
jne 0x140009bc4
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax]
mov rcx, qword [rcx + 0x30]
call fcn.140007504
mov rbx, rax
mov rdi, qword [rax + 0x30]
mov eax, dword [rax + 0x40]
lea rcx, [rbx + 0x58]
lea rsi, [rdi - 1]
add rsi, rax
test rcx, rcx
je 0x140009b7a
lea rdx, [rsp + 0x30]
call fcn.140009a88
jmp 0x140009b7f
mov eax, 0xc000000d
test eax, eax
jns 0x140009b87
xor eax, eax
jmp 0x140009bc7
mov eax, dword [rsp + 0x30]
lea rdx, [rbx + 0x70]
and eax, 0x1f
mov dword [rsp + 0x30], eax
mov rcx, qword [rdx]
cmp rcx, rdx
je 0x140009bbd
cmp rcx, rdi
jb 0x140009ba8
cmp rcx, rsi
jb 0x140009bad
mov rcx, qword [rcx]
jmp 0x140009b99
shl rax, 4
sub rcx, rax
mov qword [0x140072210], rcx
jmp 0x140009bc4
mov rcx, qword [0x140072210]
mov rax, rcx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140009bd8
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, rdx
mov rbp, rcx
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
xor r15d, r15d
mov rbx, rax
test rax, rax
jne 0x140009c0e
mov eax, 0xc000007b
jmp 0x140009c6e
mov ecx, dword [rax + 0x50]
mov rdi, r14
xor eax, eax
mov rdx, rbp
rep stosb byte [rdi], al
mov r8d, dword [rbx + 0x54]
mov rcx, r14
call fcn.140058d50
movzx edi, word [rbx + 0x14]
mov esi, r15d
add rdi, 0x28
cmp r15w, word [rbx + 6]
jae 0x140009c6c
add rdi, rbx
test dword [rdi + 0x14], 0xe0000000
je 0x140009c5e
cmp dword [rdi], r15d
je 0x140009c5e
mov edx, dword [rdi + 4]
mov ecx, dword [rdi - 4]
add rdx, rbp
mov r8d, dword [rdi]
add rcx, r14
call fcn.140058d50
movzx eax, word [rbx + 6]
inc esi
add rdi, 0x28
cmp esi, eax
jb 0x140009c3c
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140009d34
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x47], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r9d, r8d
mov r10, rcx
xor ebx, ebx
test r8d, r8d
jne 0x140009d68
rdtsc
shl rdx, 0x20
or rax, rdx
mov r9, rax
mov dword [rbp + 0x77], r9d
imul ecx, r9d, 0x343fd
add ecx, 0x269ec3
mov r9d, ecx
mov dword [rbp + 0x77], ecx
sar ecx, 0x10
and ecx, 0x7fff
cmp ecx, 0x7fff
jae 0x140009d6c
mov eax, 0x38e38e39
mul ecx
shr edx, 1
lea eax, [rdx + rdx*8]
sub ecx, eax
add ecx, 8
movsxd r11, ecx
mov dword [rbp - 0x39], 0x310030
mov dword [rbp - 0x35], 0x330032
mov dword [rbp - 0x31], 0x350034
mov dword [rbp - 0x2d], 0x370036
mov dword [rbp - 0x29], 0x390038
mov dword [rbp - 0x25], 0x420041
mov dword [rbp - 0x21], 0x440043
mov dword [rbp - 0x1d], 0x460045
mov dword [rbp - 0x19], 0x480047
mov dword [rbp - 0x15], 0x4a0049
mov dword [rbp - 0x11], 0x4c004b
mov dword [rbp - 0xd], 0x4e004d
mov dword [rbp - 9], 0x50004f
mov dword [rbp - 5], 0x520051
mov dword [rbp - 1], 0x540053
mov dword [rbp + 3], 0x560055
mov dword [rbp + 7], 0x580057
mov dword [rbp + 0xb], 0x5a0059
mov dword [rbp + 0xf], 0x620061
mov dword [rbp + 0x13], 0x640063
mov dword [rbp + 0x17], 0x660065
mov dword [rbp + 0x1b], 0x680067
mov dword [rbp + 0x1f], 0x6a0069
mov dword [rbp + 0x23], 0x6c006b
mov dword [rbp + 0x27], 0x6e006d
mov dword [rbp + 0x2b], 0x70006f
mov dword [rbp + 0x2f], 0x720071
mov dword [rbp + 0x33], 0x740073
mov dword [rbp + 0x37], 0x760075
mov dword [rbp + 0x3b], 0x780077
mov dword [rbp + 0x3f], 0x7a0079
mov r8, rbx
je 0x140009ec2
imul ecx, r9d, 0x343fd
add ecx, 0x269ec3
mov r9d, ecx
mov dword [rbp + 0x77], ecx
sar ecx, 0x10
and ecx, 0x7fff
cmp ecx, 0x7fe0
jae 0x140009e82
mov eax, 0x3e0f83e1
mul ecx
shr edx, 7
movzx ecx, word [rbp + rdx*2 - 0x39]
mov word [r10 + r8*2], cx
inc r8
cmp r8, r11
jb 0x140009e82
mov word [r10 + r8*2], bx
mov dword [rbp + 0x77], ebx
mov rax, r10
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rbp
ret

Function at 0x140009ee0
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x10
mov qword [rsp], 0xfffffffffffffffe
mov rax, qword gs:[0x58]
mov r8, qword [rax]
mov ecx, 0x13a8
mov eax, dword [rcx + r8]
mov ebx, 0x20
test al, 1
jne 0x140009f64
or eax, 1
mov dword [rcx + r8], eax
mov r9d, ebx
add r9, r8
rdtsc
shl rdx, 0x20
or rax, rdx
or dword [r9 + 0x1384], 0xffffffff
mov dword [r9 + 4], eax
mov edx, 1
lea r10, [r9 + 8]
mov r11d, 0x26f
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul ecx, ecx, 0x6c078965
add ecx, edx
mov dword [r10], ecx
mov eax, ecx
inc edx
lea r10, [r10 + 4]
sub r11, 1
jne 0x140009f3d
mov dword [r9], 0x270
mov eax, ebx
add rax, r8
add rsp, 0x10
pop rbx
ret