joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005dbe0
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 0x14005dc02
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14005dc11
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 0x14005dc34
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14005dc36
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14005dc72
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 0x14005dd0e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14005dcad
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 0x14005dcee
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 0x14005dd0e
cmp rbx, rax
ja 0x14005dcc0
test rbx, rbx
je 0x14005dd0e
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
invalid
Function at 0x14005e120
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400f2010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14005e14d
xor eax, eax
jmp 0x14005e2aa
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x14005e178
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x14005e178
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x14005e2aa
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14005e29d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14005e1bb
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x14005e1e6
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 0x14005e2a2
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 0x14005e255
sub eax, 1
je 0x14005e255
cmp eax, 2
jne 0x14005e29d
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 0x14005e2a2
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14005e283
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 0x14005e29d
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14005e2a2
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140060f80
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14005ef10
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400f2010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14005efe3
cmp byte [rcx + 0x71], 0
je 0x14005efe3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14005efdf
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 0x14005efa4
sub eax, 1
je 0x14005efa8
cmp eax, 2
jne 0x14005efdf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140060f80
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14005efd6
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 0x14005efdf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14005ef8c
xor al, al
jmp 0x14005ef8c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140060f80
add rsp, 0x60
pop rbx
ret

Function at 0x140060700
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 0x140060784
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140064c00]
cmp byte [rcx + rax], 0
je 0x140060784
dec r8
sub rdx, 1
jne 0x14006076a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140061c48
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1400b81f4
xor r8d, r8d
xor edx, edx
jmp 0x1400b7ed8

Function at 0x140001bef
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400e28b0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, r8d
mov rbp, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ebx, eax
test eax, eax
je 0x1400e28f8
test rdi, rdi
je 0x1400e28e7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.140001e1a
cmp eax, 1
je 0x1400e28f8
mov eax, 4
jmp 0x1400e293d
call fcn.14000596b
cmp eax, 2
jne 0x1400e2934
call fcn.140001ea1
test al, al
je 0x1400e2934
call fcn.140003f80
test al, al
jne 0x1400e292a
bts esi, 0x15
xor ecx, ecx
mov rdx, rdi
mov r8, rbp
mov r9d, esi
call fcn.1400059b6
jmp 0x1400e293d
call fcn.14000575e
mov rcx, rax
jmp 0x1400e291a
neg ebx
sbb eax, eax
neg eax
add eax, 3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140002bad
Capabilities:
Get geographical location

Disassembly:
jmp 0x140075008
sub rsp, 0x28
call fcn.140003df5
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x14007505a
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x14007505a
sub ecx, 1
je 0x140075053
cmp ecx, 1
je 0x14007504c
xor eax, eax
jmp 0x14007505f
mov eax, 3
jmp 0x14007505f
mov eax, 1
jmp 0x14007505f
mov eax, 2
add rsp, 0x28
ret

Function at 0x140002de2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400d83e4
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140131440]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea rbx, [0x1401353c8]
xor r12d, r12d
lea rdi, [0x14010a04b]
test r9, r9
mov rax, rdx
mov r15, rdx
cmovne rbx, r9
test rdx, rdx
lea ebp, [r12 + 1]
cmovne rbp, r8
cmovne rdi, rdx
neg rax
sbb r14, r14
and r14, rcx
test rbp, rbp
jne 0x1400d8452
mov rax, 0xfffffffffffffffe
jmp 0x1400d8585
cmp word [rbx + 6], r12w
jne 0x1400d84a8
mov rcx, rdi
call fcn.14000581c
movsxd r8, eax
movzx eax, byte [rdi]
inc rdi
cmp r8d, 1
jbe 0x1400d8498
lea ecx, [r8 - 2]
cmp ecx, 2
ja 0x1400d857a
movzx edx, r8b
mov ecx, 7
sub ecx, edx
mov r9b, r8b
mov edx, 1
shl edx, cl
dec edx
and edx, eax
jmp 0x1400d84d1
test r14, r14
je 0x1400d84a0
mov dword [r14], eax
mov rax, r8
jmp 0x1400d8585
mov r8b, byte [rbx + 4]
mov edx, dword [rbx]
mov r9b, byte [rbx + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400d857a
cmp r9b, 1
jb 0x1400d857a
cmp r9b, r8b
jae 0x1400d857a
movzx r11d, r9b
cmp r11, rbp
mov r10d, r11d
cmovae r10, rbp
jmp 0x1400d84ff
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400d857a
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r15
cmp rax, r10
jb 0x1400d84e1
cmp r10, r11
jae 0x1400d8529
movzx eax, r8b
sub r9b, r10b
mov word [rbx + 4], ax
movzx eax, r9b
mov word [rbx + 6], ax
mov dword [rbx], edx
jmp 0x1400d8446
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400d857a
cmp edx, 0x110000
jae 0x1400d857a
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 0x1400d857a
test r14, r14
je 0x1400d8568
mov dword [r14], edx
neg edx
mov rdx, rbx
sbb rcx, rcx
and rcx, r11
call fcn.1400059bb
jmp 0x1400d8585
mov rdx, rsi
mov rcx, rbx
call fcn.140006537
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400035e4
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002e55
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14001bb50
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14001bbdd
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14001bbdd
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001bbdd
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 0x14001bbc4
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14001bbbe
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14001bbc6
add rdx, 0x28
jmp 0x14001bba3
xor edx, edx
test rdx, rdx
jne 0x14001bbcf
xor al, al
jmp 0x14001bbe3
cmp dword [rdx + 0x24], 0
jge 0x14001bbd9
xor al, al
jmp 0x14001bbe3
mov al, 1
jmp 0x14001bbe3
xor al, al
jmp 0x14001bbe3
add rsp, 0x18
ret

Function at 0x140003332
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140101320
mov rax, rcx
neg rcx
test rax, 7
je 0x14010133d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140101398
test al, 7
jne 0x140101330
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 0x140101351
mov rdx, qword [rax - 8]
test dl, dl
je 0x1401013c2
test dh, dh
je 0x1401013bc
shr rdx, 0x10
test dl, dl
je 0x1401013b6
test dh, dh
je 0x1401013b0
shr rdx, 0x10
test dl, dl
je 0x1401013aa
test dh, dh
je 0x1401013a4
shr edx, 0x10
test dl, dl
je 0x14010139e
test dh, dh
jne 0x140101351
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 0x14000336e
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400de100
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 0x1400de187
mov rsi, rbx
cmp word [rax], bp
je 0x1400de146
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400de130
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400de12c
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 0x1400de174
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000360c
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 0x14000362a
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14006cc5c
jmp 0x140073640
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x14006cc8c
movzx eax, byte [rcx + r9]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x14006cc6e
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
mov rdx, r8
jmp 0x140002374
Function at 0x140003841
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140088908
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14010f658]
mov ecx, 2
lea r8, [0x14010f650]
lea rdx, str.FlsGetValue
call fcn.1400883d8
mov ecx, ebx
test rax, rax
je 0x140088942
add rsp, 0x20
pop rbx
jmp qword [0x140145020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x140003aad
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400ddfac
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 0x1400ddfdc
xor eax, eax
jmp 0x1400de09f
mov rbp, rbx
cmp word [rax], si
je 0x1400de001
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400ddfe8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400ddfe4
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.140004bce
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x1400de042
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400ddfd5
call fcn.14000105f
mov rdi, rax
test rax, rax
jne 0x1400de058
xor ecx, ecx
call fcn.14000125d
jmp 0x1400de037
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.140004bce
test eax, eax
jne 0x1400de089
mov rcx, rdi
call fcn.14000125d
jmp 0x1400de093
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 0x140003ac1
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140088858
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x14010f618]
xor ecx, ecx
lea r8, [0x14010f610]
lea rdx, str.FlsAlloc
call fcn.1400883d8
test rax, rax
je 0x140088891
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140145020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140003b7f
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400e0818
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140146050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x1400e087d
test rax, rax
jne 0x1400e086b
lea r9, [0x140113808]
lea r8, [0x140113800]
lea rdx, str.GetLocaleInfoEx
lea ecx, [rax + 0xa]
call fcn.1400dfca8
test rax, rax
je 0x1400e087d
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.140006776
jmp 0x1400e0897
xor edx, edx
mov rcx, rbp
call fcn.140002ec3
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 0x140003b8e
Capabilities:
Terminate process

Disassembly:
jmp 0x1400fc010
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 0x140003e22
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400b818c
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400b7ed8

Function at 0x1400040d9
Capabilities:
Parse pe header

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

Function at 0x14000462e
Capabilities:
Parse pe header

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

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

Disassembly:
jmp 0x140048c20
jmp 0x140066198
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x140048c52
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140048c35
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14000117c
Function at 0x140004ad4
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1400fbdd0
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 0x1400fbe11
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1400fbe05
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1400fbe13
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1400fbdf3
xor eax, eax
ret

Function at 0x140004e62
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140088960
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x14010f678]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x14010f670]
call fcn.1400883d8
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1400889a0
call qword [0x140145020]
jmp 0x1400889a6
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005c8b
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400f4438
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.140002d7e
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400f44c2
cmp byte [rbp - 0x21], r15b
je 0x1400f44bd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400f44f8
call fcn.1400062ee
test eax, eax
jne 0x1400f44e4
cmp byte [rbp - 0x21], r15b
je 0x1400f44dc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400f44f8
cmp byte [rbp - 0x21], r15b
je 0x1400f44f5
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.14000667c
test eax, eax
jne 0x1400f4598
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140002d7e
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400f4537
cmp byte [rbp - 0x21], r15b
je 0x1400f456c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400f456c
call fcn.1400062ee
test eax, eax
jne 0x1400f4558
cmp byte [rbp - 0x21], r15b
je 0x1400f4551
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400f456c
cmp byte [rbp - 0x21], r15b
je 0x1400f4569
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.14000667c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400f4598
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400f459b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400f45a9
mov rcx, rdi
call fcn.14000125d
cmp byte [rbp + 0x3f], r15b
je 0x1400f45b8
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