joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001be0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x40]
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x1a
xor esi, esi
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
test eax, eax
jne 0x140001d6a
mov qword [rsp + 0x178], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x180], rbp
mov rbx, 0xffffffffffffffff
mov qword [rdi + 0x18], rsi
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], sil
jne 0x140001c60
movabs rbp, 0x7fffffffffffffff
cmp rbx, rbp
ja 0x140001d7a
cmp rbx, 0xf
ja 0x140001ca7
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x40]
mov qword [rdi + 0x18], 0xf
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], sil
jmp 0x140001d36
mov rax, rbx
or rax, 0xf
cmp rax, rbp
jbe 0x140001cdc
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140004018
test rax, rax
je 0x140001d08
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140001d17
mov ecx, 0x16
mov rbp, rax
cmp rax, rcx
cmovb rbp, rcx
lea rcx, [rbp + 1]
test rcx, rcx
je 0x140001d17
cmp rcx, 0x1000
jb 0x140001d0f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001d80
jmp 0x140001cc1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004018
mov rsi, rax
mov r8, rbx
mov qword [rdi], rsi
lea rdx, [rsp + 0x40]
mov qword [rdi + 0x10], rbx
mov rcx, rsi
mov qword [rdi + 0x18], rbp
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov rbx, qword [rsp + 0x178]
mov rax, rdi
mov rbp, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140003ff0
mov rsi, qword [rsp + 0x188]
add rsp, 0x160
pop rdi
ret
mov qword [rdi + 0x18], 0xf
mov rax, rdi
mov byte [rdi], sil
jmp 0x140001d49
call fcn.1400011b0
int3
call fcn.140001110
int3
Function at 0x140002800
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140002828
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000284e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140002850
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400028a9
test ecx, ecx
jle 0x140002889
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400028a9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400028a9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x1400028d0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400028f2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140002908
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140002924
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140002926
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140002962
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400029fe
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000299d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1400029de
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400029fe
cmp rbx, rax
ja 0x1400029b0
test rbx, rbx
je 0x1400029fe
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140002e60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140002e8d
xor eax, eax
jmp 0x140002ff9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002ec7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002ec7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140002ff9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140002fec
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140002f0a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140002f35
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002ff1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002fa4
sub eax, 1
je 0x140002fa4
cmp eax, 2
jne 0x140002fec
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002ff1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002fd2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140002fec
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002ff1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140003ff0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140003270
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140003343
cmp byte [rcx + 0x71], 0
je 0x140003343
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000333f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003304
sub eax, 1
je 0x140003308
cmp eax, 2
jne 0x14000333f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003ff0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140003336
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000333f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400032ec
xor al, al
jmp 0x1400032ec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003ff0
add rsp, 0x60
pop rbx
ret

Function at 0x1400049ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400049f6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400049f6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400049f6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400049f6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400049f6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400049f8
xor al, al
add rsp, 0x28
ret
Function at 0x1400010aa
Capabilities:
Parse pe header

Disassembly:
jmp 0x14009ec20
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14009e9eb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009e9eb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009e9eb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009e9eb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009e9eb
cmp dword [rcx + 0x84], 0xe
jbe 0x14009e9eb
cmp dword [rcx + 0xf8], 0
je 0x14009e9eb
mov ecx, ebx
call fcn.14009eb7c
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14009e6fc
cmp dword [rbp + 0x20], 0
je 0x14009ea38
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14009ea70
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14009e984

Function at 0x1400011db
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400a5aa4
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400e3838]
mov ecx, 5
lea r8, [0x1400e3830]
lea rdx, str.FlsGetValue
call fcn.1400a509c
mov ecx, ebx
test rax, rax
je 0x1400a5ade
add rsp, 0x20
pop rbx
jmp qword [0x140116010]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x140001f55
Capabilities:
Terminate process

Disassembly:
jmp 0x140054f78
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 0x1400022b6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400c2b84
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140104098]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r11d, r11d
lea r10, [0x140109498]
test r9, r9
lea rdi, [0x1400eb0ce]
mov rax, rdx
mov r15, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r14d, ebp
cmovne r14, r8
neg rax
sbb rsi, rsi
and rsi, rcx
test r14, r14
jne 0x1400c2bed
mov rax, 0xfffffffffffffffe
jmp 0x1400c2d3f
movzx r9d, word [r10 + 6]
test r9w, r9w
jne 0x1400c2c5d
mov bl, byte [rdi]
inc rdi
test bl, bl
js 0x1400c2c19
test rsi, rsi
je 0x1400c2c0b
movzx ecx, bl
mov dword [rsi], ecx
test bl, bl
setne r11b
mov rax, r11
jmp 0x1400c2d3f
mov al, bl
and al, 0xe0
cmp al, 0xc0
jne 0x1400c2c26
mov r8b, 2
jmp 0x1400c2c42
mov al, bl
and al, 0xf0
cmp al, 0xe0
jne 0x1400c2c33
mov r8b, 3
jmp 0x1400c2c42
mov al, bl
and al, 0xf8
cmp al, 0xf0
jne 0x1400c2d2b
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov r9b, r8b
sub edx, ebp
movzx eax, bl
and edx, eax
jmp 0x1400c2c82
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400c2d2b
cmp r9b, bpl
jb 0x1400c2d2b
cmp r9b, r8b
jae 0x1400c2d2b
movzx ebp, r9b
cmp rbp, r14
mov ebx, ebp
cmovae rbx, r14
jmp 0x1400c2cb1
mov cl, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400c2d2b
mov eax, edx
movzx ecx, cl
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r15
cmp rax, rbx
jb 0x1400c2c91
cmp rbx, rbp
jae 0x1400c2cde
movzx eax, r8b
sub r9b, bl
mov word [r10 + 4], ax
movzx eax, r9b
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1400c2be1
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400c2d2b
cmp edx, 0x110000
jae 0x1400c2d2b
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 0x1400c2d2b
test rsi, rsi
je 0x1400c2d1c
mov dword [rsi], edx
xor eax, eax
neg edx
mov qword [r10], rax
sbb rax, rax
and rax, rbp
jmp 0x1400c2d3f
xor eax, eax
mov qword [r10], rax
call fcn.140002676
mov dword [rax], 0x2a
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400024b9
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

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

Disassembly:
jmp 0x140051e20
movabs rcx, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140051e53
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x140051e35
mov eax, ecx
ret

Function at 0x14000241e
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400a5afc
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400e3858]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 6
lea r8, [0x1400e3850]
call fcn.1400a509c
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1400a5b3c
call qword [0x140116010]
jmp 0x1400a5b42
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400024be
Capabilities:
Parse pe header

Disassembly:
jmp 0x14009ec94
xor r8d, r8d
xor edx, edx
jmp 0x14009e984

Function at 0x14000303f
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400b4970
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 r14d, r14d
mov rbx, rax
test rax, rax
je 0x1400b4a42
mov rsi, rax
cmp word [rax], r14w
je 0x1400b49c3
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1400b49ab
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1400b49a7
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.14000528b
movsxd rbp, eax
test eax, eax
je 0x1400b4a42
mov rcx, rbp
call fcn.140003d7d
mov rdi, rax
test rax, rax
je 0x1400b4a35
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.14000528b
test eax, eax
je 0x1400b4a35
mov rsi, rdi
mov rdi, r14
jmp 0x1400b4a38
mov rsi, r14
mov rcx, rdi
call fcn.14000386e
jmp 0x1400b4a45
mov rsi, r14
test rbx, rbx
je 0x1400b4a53
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140003bd4
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14005d19c
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400dd038]
xor ecx, ecx
lea r8, [0x1400dd030]
lea rdx, [0x1400d5970]
call fcn.14005cbfc
test rax, rax
je 0x14005d1d5
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140116010]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

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

Disassembly:
jmp 0x1400451dc
sub r8, rdx
movabs rcx, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140045215
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x1400451f7
mov eax, ecx
ret

Function at 0x140004458
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x140054c08
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140054c96
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x140054c96
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140054c96
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140054c7d
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140054c77
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140054c7f
add rdx, 0x28
jmp 0x140054c5c
xor edx, edx
test rdx, rdx
jne 0x140054c88
xor al, al
jmp 0x140054c9c
cmp dword [rdx + 0x24], 0
jge 0x140054c92
xor al, al
jmp 0x140054c9c
mov al, 1
jmp 0x140054c9c
xor al, al
jmp 0x140054c9c
add rsp, 0x18
ret
Function at 0x140004912
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400c1c30
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 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.1400056b4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400c1cba
cmp byte [rbp - 0x21], r15b
je 0x1400c1cb5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r8d, ebx
jmp 0x1400c1cf0
call fcn.140004e26
test eax, eax
jne 0x1400c1cdc
cmp byte [rbp - 0x21], r15b
je 0x1400c1cd4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r8d, 1
jmp 0x1400c1cf0
cmp byte [rbp - 0x21], r15b
je 0x1400c1ced
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r8d, r15d
lea rdx, [rbp + 0x17]
mov rcx, rsi
call fcn.140001adc
test eax, eax
jne 0x1400c1d88
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400056b4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400c1d2b
cmp byte [rbp - 0x21], r15b
je 0x1400c1d60
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400c1d60
call fcn.140004e26
test eax, eax
jne 0x1400c1d4c
cmp byte [rbp - 0x21], r15b
je 0x1400c1d45
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400c1d60
cmp byte [rbp - 0x21], r15b
je 0x1400c1d5d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r8d, ebx
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140001adc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400c1d88
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400c1d8b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400c1d99
mov rcx, rdi
call fcn.14000386e
cmp byte [rbp + 0x3f], r15b
je 0x1400c1da8
mov rcx, qword [rbp + 0x27]
call fcn.14000386e
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400049a8
Capabilities:
Parse pe header

Disassembly:
jmp 0x14009ec30
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14009e984

Function at 0x140004a5c
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14005d2a4
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400dd068]
mov edi, ecx
lea rdx, [0x1400d59a0]
mov ecx, 3
lea r8, [0x1400dd060]
call fcn.14005cbfc
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14005d2e4
call qword [0x140116010]
jmp 0x14005d2ea
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005083
Capabilities:
Parse pe header

Disassembly:
jmp 0x140055810
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005585b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005585b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005585b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005585b
cmp dword [rcx + 0x84], 0xe
jbe 0x14005585b
cmp dword [rcx + 0xf8], 0
je 0x14005585b
mov al, 1
jmp 0x14005585d
xor al, al
add rsp, 0x28
ret
Function at 0x1400054d9
Capabilities:
Terminate process

Disassembly:
jmp 0x14006666c
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140066686
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.140005718
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 0x140005795
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14005d24c
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400dd058]
mov ecx, 2
lea r8, [0x1400dd050]
lea rdx, [0x1400d5990]
call fcn.14005cbfc
mov ecx, ebx
test rax, rax
je 0x14005d286
add rsp, 0x20
pop rbx
jmp qword [0x140116010]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

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

Disassembly:
jmp 0x140045228
sub r8, rdx
movabs rcx, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140045261
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x140045243
mov eax, ecx
ret

Function at 0x140005894
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400a59f0
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400e37f8]
mov ecx, 3
lea r8, [0x1400e37f0]
lea rdx, str.FlsAlloc
call fcn.1400a509c
test rax, rax
je 0x1400a5a2c
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140116010]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140005a10
Capabilities:
Get geographical location

Disassembly:
jmp 0x140028d70
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140106f10]
mov ebx, r9d
xor rax, qword [0x140104098]
mov rdi, r8
mov esi, edx
je 0x140028d9f
call qword [0x140116010]
jmp 0x140028db4
call fcn.140003b11
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 rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140005af1
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400a5c90
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, [0x1400e3920]
mov rbp, rcx
lea r8, [0x1400e3918]
lea rdx, str.GetLocaleInfoEx
mov ecx, 0xb
call fcn.1400a509c
mov rcx, rbp
test rax, rax
je 0x1400a5ce6
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [0x140116010]
jmp 0x1400a5cfd
xor edx, edx
call fcn.1400035f3
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