joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18017c3b0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x18017c3e1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1802232b8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1802232c8]
lea rdx, [rdi + rdi]
call fcn.180091060
mov rax, qword [0x1802232b8]
lea r9, [rdi - 1]
mov qword [0x1802232e0], r9
mov qword [0x1802232e8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18017c554
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1802232c8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18017c4a0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18017c515
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18017c4dd
mov r10, qword [rdx]
cmp r10, rax
je 0x18017c4d7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x18017c515
cmp r9, rdx
je 0x18017c4f1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18017c529
cmp r9, rdx
jne 0x18017c4e2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x18017c54f
mov r9, qword [0x1802232e0]
jmp 0x18017c451
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18017c515
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18017cd90
Capabilities:
Enumerate gui resources
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
sub rsp, 0x48
mov qword [rax + 0x18], rbx
mov rbx, r8
mov qword [rax - 0x10], rsi
mov qword [rax - 0x18], rdi
test r8, r8
jne 0x18017cdca
lea r8, [rax + 0x10]
lea rdx, [rax - 0x28]
call fcn.18017cee0
mov edx, dword [rsp + 0x58]
mov rbx, qword [rax]
add rbx, 0x18
mov qword [rsp + 0x40], rbp
test edx, edx
je 0x18017cea0
mov ecx, edx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x18017cea0
cmp qword [0x18022a180], 0
jne 0x18017ce1b
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], 0
lea rcx, [0x180179620]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x50]
mov qword [0x18022a180], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x18022a180]
jne 0x18017cea0
cmp byte [rbx], 0
mov dil, 1
jne 0x18017cea3
movzx esi, dil
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
lea r8, [rbx + 8]
movabs rax, 0x346dc5d63886594b
imul rcx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r8]
add rax, 0xfa
cmp rdx, rax
jge 0x18017ceca
movzx ecx, dil
xor al, al
mov rbp, qword [rsp + 0x40]
test sil, sil
mov byte [rbx], dil
mov rdi, qword [rsp + 0x30]
mov byte [rbx + 1], sil
mov rsi, qword [rsp + 0x38]
mov byte [rbx + 2], cl
mov byte [rbx + 3], al
mov rbx, qword [rsp + 0x60]
je 0x18017ce9b
mov qword [r8], rdx
add rsp, 0x48
ret
xor dil, dil
xor sil, sil
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
movabs rax, 0x346dc5d63886594b
imul rcx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xor cl, cl
lea r8, [rbx + 8]
test dil, dil
jne 0x18017ce70
cmp byte [rbx], cl
je 0x18017ce70
mov al, 1
jmp 0x18017ce72
Function at 0x18017d1d0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x18017d201
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x180223388]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x180223398]
lea rdx, [rdi + rdi]
call fcn.180091060
mov rax, qword [0x180223388]
lea r9, [rdi - 1]
mov qword [0x1802233b0], r9
mov qword [0x1802233b8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18017d374
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x180223398]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18017d2c0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18017d335
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18017d2fd
mov r10, qword [rdx]
cmp r10, rax
je 0x18017d2f7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x18017d335
cmp r9, rdx
je 0x18017d311
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x18017d349
cmp r9, rdx
jne 0x18017d302
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x18017d36f
mov r9, qword [0x1802233b0]
jmp 0x18017d271
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18017d335
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18017d7d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x80
mov rsi, r8
mov r14, rdx
mov edi, 0x811c9dc5
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x18017d800
xor edx, edx
test rcx, rcx
je 0x18017d835
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rdx + r8]
inc rdx
xor eax, edi
imul edi, eax, 0x1000193
cmp rdx, rcx
jb 0x18017d820
xor ebx, ebx
mov qword [rsp + 0x90], rbp
cmp dword [r14 + 8], ebx
jle 0x18017d8c8
xor ebp, ebp
nop dword [rax + rax]
mov rax, qword [r14]
mov r8d, 0x811c9dc5
movups xmm1, xmmword [rax + rbp + 0x40]
mov r9, qword [rax + rbp]
mov rax, 0xffffffffffffffff
movaps xmmword [rsp + 0x60], xmm1
nop
inc rax
cmp byte [r9 + rax], 0
jne 0x18017d870
xor edx, edx
test rax, rax
je 0x18017d898
movsx ecx, byte [rdx + r9]
inc rdx
xor ecx, r8d
imul r8d, ecx, 0x1000193
cmp rdx, rax
jb 0x18017d881
cmp edi, r8d
je 0x18017d8f4
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x18017d8bc
mov r8, rsi
lea rcx, [0x180229ae0]
call fcn.18017d7d0
mov ecx, eax
test eax, eax
jne 0x18017d8ec
inc ebx
add rbp, 0x60
cmp ebx, dword [r14 + 8]
jl 0x18017d850
xor eax, eax
mov rbp, qword [rsp + 0x90]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov eax, dword [rsp + 0x68]
add eax, ecx
jmp 0x18017d8ca
mov eax, dword [rsp + 0x68]
jmp 0x18017d8ca

Function at 0x18017f800
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18017f884
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1801ac360]
cmp byte [rcx + rax], 0
je 0x18017f884
dec r8
sub rdx, 1
jne 0x18017f86a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400015f5
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400a2568
xor r8d, r8d
xor edx, edx
jmp 0x1400a2258
Function at 0x140002b71
Capabilities:
Get geographical location

Disassembly:
jmp 0x14008c2d0
sub rsp, 0x28
and dword [rsp + 0x30], 0
call fcn.140003d87
mov r9d, 2
lea r8, [rsp + 0x30]
mov rcx, qword [rax + 0x28]
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x14008c31d
sub ecx, 1
je 0x14008c316
cmp ecx, 1
je 0x14008c30f
xor eax, eax
jmp 0x14008c322
mov eax, 3
jmp 0x14008c322
mov eax, 1
jmp 0x14008c322
mov eax, 2
add rsp, 0x28
ret

Function at 0x140002d97
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14010f664
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140144380]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x140148e18]
xor r11d, r11d
lea rdi, [0x14011edbb]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x14010f6d4
mov rax, 0xfffffffffffffffe
jmp 0x14010f821
cmp word [r10 + 6], r11w
jne 0x14010f743
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x14010f6fe
test r14, r14
je 0x14010f6ef
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x14010f821
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x14010f70c
mov r8b, 2
jmp 0x14010f72a
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x14010f71a
mov r8b, 3
jmp 0x14010f72a
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x14010f816
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x14010f76c
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x14010f816
cmp bl, bpl
jb 0x14010f816
cmp bl, r8b
jae 0x14010f816
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x14010f799
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x14010f816
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x14010f77b
cmp r9, rbp
jae 0x14010f7c5
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x14010f6c8
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x14010f816
cmp edx, 0x110000
jae 0x14010f816
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x14010f816
test r14, r14
je 0x14010f804
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.1400058d5
jmp 0x14010f821
mov rdx, rsi
mov rcx, r10
call fcn.140006442
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400035ad
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002e0f
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1400471c0
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14004724d
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14004724d
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004724d
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140047234
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14004722e
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140047236
add rdx, 0x28
jmp 0x140047213
xor edx, edx
test rdx, rdx
jne 0x14004723f
xor al, al
jmp 0x140047253
cmp dword [rdx + 0x24], 0
jge 0x140047249
xor al, al
jmp 0x140047253
mov al, 1
jmp 0x140047253
xor al, al
jmp 0x140047253
add rsp, 0x18
ret

Function at 0x14000330a
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400a1b00
mov rax, rcx
neg rcx
test rax, 7
je 0x1400a1b1d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1400a1b78
test al, 7
jne 0x1400a1b10
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1400a1b31
mov rdx, qword [rax - 8]
test dl, dl
je 0x1400a1ba2
test dh, dh
je 0x1400a1b9c
shr rdx, 0x10
test dl, dl
je 0x1400a1b96
test dh, dh
je 0x1400a1b90
shr rdx, 0x10
test dl, dl
je 0x1400a1b8a
test dh, dh
je 0x1400a1b84
shr edx, 0x10
test dl, dl
je 0x1400a1b7e
test dh, dh
jne 0x1400a1b31
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x140003341
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400efa30
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400efab7
mov rsi, rbx
cmp word [rax], bp
je 0x1400efa76
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400efa60
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400efa5c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000105f
mov rdi, rax
test rax, rax
je 0x1400efaa4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400035d5
mov rbp, rdi
xor ecx, ecx
call fcn.14000125d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
jmp 0x140083ee8
jmp 0x14008a8e8
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x140083f18
movzx eax, byte [rcx + r9]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x140083efa
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
mov rdx, r8
jmp 0x14000235b
Function at 0x14000380a
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14009f984
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x140124078]
mov ecx, 2
lea r8, [0x140124070]
lea rdx, str.FlsGetValue
call fcn.14009f454
mov ecx, ebx
test rax, rax
je 0x14009f9be
add rsp, 0x20
pop rbx
jmp qword [0x140157020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x140003a58
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400ef8dc
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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400ef90c
xor eax, eax
jmp 0x1400ef9cf
mov rbp, rbx
cmp word [rax], si
je 0x1400ef931
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400ef918
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400ef914
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140004b10
movsxd r14, eax
test eax, eax
jne 0x1400ef96f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400ef905
mov rcx, r14
call fcn.14000105f
mov rdi, rax
test rax, rax
jne 0x1400ef988
xor ecx, ecx
call fcn.14000125d
jmp 0x1400ef964
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140004b10
test eax, eax
jne 0x1400ef9b9
mov rcx, rdi
call fcn.14000125d
jmp 0x1400ef9c3
xor ecx, ecx
call fcn.14000125d
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140003a67
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14009f8d4
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x140124038]
xor ecx, ecx
lea r8, [0x140124030]
lea rdx, str.FlsAlloc
call fcn.14009f454
test rax, rax
je 0x14009f90d
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140157020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140003b2a
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400f1d64
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x140127508]
mov rbp, rcx
lea r8, [0x140127500]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.1400f1284
test rax, rax
je 0x1400f1dc4
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x140157030]
jmp 0x1400f1dde
xor edx, edx
mov rcx, rbp
call fcn.140002e82
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140003b34
Capabilities:
Terminate process

Disassembly:
jmp 0x140111a40
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140003db4
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400a24fc
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400a2258

Function at 0x140004052
Capabilities:
Parse pe header

Disassembly:
jmp 0x140111960
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140111988
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140111988
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400045a2
Capabilities:
Parse pe header

Disassembly:
jmp 0x140047c10
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140047c5a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140047c5a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140047c5a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140047c5a
cmp dword [rcx + 0x84], 0xe
jbe 0x140047c5a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140047c5c
xor al, al
add rsp, 0x28
ret

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

Disassembly:
jmp 0x14005fe60
jmp 0x14007d49c
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14005fe92
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14005fe75
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14000117c

Function at 0x140004a1b
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1401118a0
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x1401118e1
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1401118d5
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1401118e3
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1401118c3
xor eax, eax
ret

Function at 0x140004da4
Capabilities:
Terminate process

Disassembly:
jmp 0x1400a1a1c
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400a1a36
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.1400058f3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140005aba
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14009f9dc
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x140124098]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x140124090]
call fcn.14009f454
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14009fa1c
call qword [0x140157020]
jmp 0x14009fa22
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005bb9
Capabilities:
Set environment variable

Disassembly:
jmp 0x140104f2c
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140002d38
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140104fb6
cmp byte [rbp - 0x21], r15b
je 0x140104fb1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140104fec
call fcn.1400061fe
test eax, eax
jne 0x140104fd8
cmp byte [rbp - 0x21], r15b
je 0x140104fd0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140104fec
cmp byte [rbp - 0x21], r15b
je 0x140104fe9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140006578
test eax, eax
jne 0x14010508c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140002d38
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14010502b
cmp byte [rbp - 0x21], r15b
je 0x140105060
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140105060
call fcn.1400061fe
test eax, eax
jne 0x14010504c
cmp byte [rbp - 0x21], r15b
je 0x140105045
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140105060
cmp byte [rbp - 0x21], r15b
je 0x14010505d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140006578
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14010508c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14010508f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14010509d
mov rcx, rdi
call fcn.14000125d
cmp byte [rbp + 0x3f], r15b
je 0x1401050ac
mov rcx, qword [rbp + 0x27]
call fcn.14000125d
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret