joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016d60
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14032fb70]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x538c], ecx
test rbx, rbx
je 0x140016dcf
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140016de0
lea rdx, [0x14004dbc8]
mov rcx, rbx
mov rdi, rax
call fcn.14000cdc0
mov rbx, rax
test rax, rax
je 0x140016dca
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x14001a6c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
mov rbx, qword [0x14032fb70]
cmp byte [rbx + 0x5389], 0
jne 0x14001a81a
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001a813
lea rdx, [0x14004dbc4]
mov qword [rsp + 0x40], rdi
call fcn.14000cdc0
mov rdi, rax
test rax, rax
je 0x14001a80e
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14001a7fb
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001a7fb
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14001a7fb
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001a7fb
cmp rsi, 0xffffffffffffffff
je 0x14001a7fb
mov rax, qword [0x14032fb70]
test rax, rax
je 0x14001a785
inc dword [rax + 0xf4]
mov rdx, qword [0x14032fb80]
mov rcx, rsi
call qword [section..data]
mov rbp, rax
test rax, rax
je 0x14001a7fb
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rsi
je 0x14001a7c1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001a7d7
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14001a7d7
mov rdx, rsi
mov rcx, rbp
call fcn.14000e280
mov rax, qword [0x14032fb70]
test rax, rax
je 0x14001a7e9
dec dword [rax + 0xf4]
mov rdx, qword [0x14032fb80]
mov rcx, rbp
call qword [0x14005b008]
jmp 0x14001a804
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x5389], 1
movss xmm0, dword [rbx + 0x538c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001a85d
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x538c], xmm0
jb 0x14001a85d
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001a84c
call fcn.140016d60
jmp 0x14001a853
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x538c], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14002f9b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14032fb70]
mov rcx, qword [rax + 0x4308]
mov r10, qword [rax + 0x3ea0]
movsxd rax, dword [rcx + 0x7c]
movups xmm0, xmmword [rcx + 0x170]
movss xmm4, dword [rcx + 0x170]
movss xmm3, dword [rcx + 0x174]
movss xmm2, dword [rcx + 0x178]
movss xmm1, dword [rcx + 0x17c]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x68
mov rax, qword [r10 + 0x280]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x220], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x280]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [r9 + 0x57]
mov rdx, qword [r10 + 0x280]
mov rcx, qword [rcx + 0x1a0]
add rsp, 0x38
jmp 0x140024480

Function at 0x14002fa80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14032fb70]
mov rcx, qword [rax + 0x4308]
mov r9, qword [rax + 0x3ea0]
movups xmm0, xmmword [r9 + 0x220]
movups xmmword [rcx + 0x170], xmm0
mov rax, qword [r9 + 0x280]
movups xmm0, xmmword [rcx + 0x150]
movss xmm4, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movss xmm2, dword [rcx + 0x158]
movss xmm1, dword [rcx + 0x15c]
movups xmmword [r9 + 0x220], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x280]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [rcx + 0x207]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x280]
add rsp, 0x38
jmp 0x140024480
Function at 0x14003f530
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14032f9c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov edi, r8d
mov rsi, rdx
xor r9d, r9d
cmp ecx, 0x7b
ja 0x14003f571
movsxd rax, ecx
lea r9, str.Keybind
mov r9, qword [r9 + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
test r9, r9
jne 0x14003f5b7
mov qword [rbp - 0x20], 0xa
movsd xmm0, qword [str.Select_Key]
movsd qword [rbp - 0x30], xmm0
movzx eax, word [0x140052e68]
mov word [rbp - 0x28], ax
mov byte [rbp - 0x26], r9b
jmp 0x14003f5f7
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [r9 + rbx], 0
jne 0x14003f5c0
lea rcx, [rbp - 0x30]
cmp rbx, 0xf
ja 0x14003f5ea
mov qword [rbp - 0x20], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 0x30], 0
jmp 0x14003f5f7
movzx r8d, byte [rbp - 0x40]
mov rdx, rbx
call fcn.140036120
cmp edi, 1
jne 0x14003f64e
mov rax, qword [rbp - 0x18]
cmp rax, 0xd
jb 0x14003f634
lea rbx, [rbp - 0x30]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x30]
mov qword [rbp - 0x20], 0xd
lea r8d, [rdi + 0xc]
lea rdx, str.Press_the_Key
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xd], 0
jmp 0x14003f64e
lea r9, str.Press_the_Key
movzx r8d, byte [rbp - 0x40]
mov edx, 0xd
lea rcx, [rbp - 0x30]
call fcn.140036120
mov dword [rbp - 0x3c], 0x43480000
mov dword [rbp - 0x38], 0x41f00000
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
lea rdx, [rbp - 0x3c]
call fcn.140036d20
test al, al
je 0x14003f699
test edi, edi
jne 0x14003f699
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14003f6d7
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f6d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f6d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140047de0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140048260
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140048a44
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140075744
xor r8d, r8d
xor edx, edx
jmp 0x140075428
Function at 0x140002ccf
Capabilities:
Get geographical location

Disassembly:
jmp 0x14005f62c
sub rsp, 0x28
and dword [rsp + 0x30], 0
call fcn.140003f76
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 0x14005f679
sub ecx, 1
je 0x14005f672
cmp ecx, 1
je 0x14005f66b
xor eax, eax
jmp 0x14005f67e
mov eax, 3
jmp 0x14005f67e
mov eax, 1
jmp 0x14005f67e
mov eax, 2
add rsp, 0x28
ret

Function at 0x140002ee6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400eab0c
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140122258]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x1401271c8]
xor r11d, r11d
lea rdi, [0x1400f8a47]
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 0x1400eab7c
mov rax, 0xfffffffffffffffe
jmp 0x1400eacc9
cmp word [r10 + 6], r11w
jne 0x1400eabeb
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400eaba6
test r14, r14
je 0x1400eab97
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1400eacc9
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400eabb4
mov r8b, 2
jmp 0x1400eabd2
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400eabc2
mov r8b, 3
jmp 0x1400eabd2
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400eacbe
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 0x1400eac14
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400eacbe
cmp bl, bpl
jb 0x1400eacbe
cmp bl, r8b
jae 0x1400eacbe
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1400eac41
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400eacbe
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 0x1400eac23
cmp r9, rbp
jae 0x1400eac6d
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1400eab70
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400eacbe
cmp edx, 0x110000
jae 0x1400eacbe
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 0x1400eacbe
test r14, r14
je 0x1400eacac
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.140005c22
jmp 0x1400eacc9
mov rdx, rsi
mov rcx, r10
call fcn.140006857
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140003788
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002f68
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x140016a94
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140016b21
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140016b21
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140016b21
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 0x140016b08
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140016b02
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140016b0a
add rdx, 0x28
jmp 0x140016ae7
xor edx, edx
test rdx, rdx
jne 0x140016b13
xor al, al
jmp 0x140016b27
cmp dword [rdx + 0x24], 0
jge 0x140016b1d
xor al, al
jmp 0x140016b27
mov al, 1
jmp 0x140016b27
xor al, al
jmp 0x140016b27
add rsp, 0x18
ret

Function at 0x140003495
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400743f0
mov rax, rcx
neg rcx
test rax, 7
je 0x14007440d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140074468
test al, 7
jne 0x140074400
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 0x140074421
mov rdx, qword [rax - 8]
test dl, dl
je 0x140074492
test dh, dh
je 0x14007448c
shr rdx, 0x10
test dl, dl
je 0x140074486
test dh, dh
je 0x140074480
shr rdx, 0x10
test dl, dl
je 0x14007447a
test dh, dh
je 0x140074474
shr edx, 0x10
test dl, dl
je 0x14007446e
test dh, dh
jne 0x140074421
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 0x1400034db
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400c8ab8
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 0x1400c8b3f
mov rsi, rbx
cmp word [rax], bp
je 0x1400c8afe
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400c8ae8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400c8ae4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140001069
mov rdi, rax
test rax, rax
je 0x1400c8b2c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400037b0
mov rbp, rdi
xor ecx, ecx
call fcn.140001294
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 0x1400037ce
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x140056ae4
jmp 0x14005df24
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x140056b14
movzx eax, byte [r9 + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x140056af6
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
mov rdx, r8
jmp 0x14000243c
Function at 0x1400039db
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140073958
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400fdf28]
mov ecx, 2
lea r8, [0x1400fdf20]
lea rdx, str.FlsGetValue
call fcn.140073428
mov ecx, ebx
test rax, rax
je 0x140073992
add rsp, 0x20
pop rbx
jmp qword [0x140135020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x140003c38
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400c8964
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 0x1400c8994
xor eax, eax
jmp 0x1400c8a57
mov rbp, rbx
cmp word [rax], si
je 0x1400c89b9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400c89a0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400c899c
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.140004dc7
movsxd r14, eax
test eax, eax
jne 0x1400c89f7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400c898d
mov rcx, r14
call fcn.140001069
mov rdi, rax
test rax, rax
jne 0x1400c8a10
xor ecx, ecx
call fcn.140001294
jmp 0x1400c89ec
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.140004dc7
test eax, eax
jne 0x1400c8a41
mov rcx, rdi
call fcn.140001294
jmp 0x1400c8a4b
xor ecx, ecx
call fcn.140001294
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 0x140003c47
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400738a8
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400fdee8]
xor ecx, ecx
lea r8, [0x1400fdee0]
lea rdx, str.FlsAlloc
call fcn.140073428
test rax, rax
je 0x1400738e1
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140135020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140003d0a
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400cad9c
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, [0x140103628]
mov rbp, rcx
lea r8, [0x140103620]
lea rdx, str.GetLocaleInfoEx
mov ecx, 7
call fcn.1400ca2b8
test rax, rax
je 0x1400cadfc
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x140135030]
jmp 0x1400cae16
xor edx, edx
mov rcx, rbp
call fcn.140002fe5
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 0x140003d14
Capabilities:
Terminate process

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

Disassembly:
jmp 0x1400756dc
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x140075428
Function at 0x140004809
Capabilities:
Parse pe header

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

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

Disassembly:
jmp 0x1400310bc
jmp 0x140050b30
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400310ee
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400310d1
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14000119f

Function at 0x14000507e
Capabilities:
Terminate process

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

Disassembly:
jmp 0x1400739b0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400fdf48]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1400fdf40]
call fcn.140073428
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1400739f0
call qword [0x140135020]
jmp 0x1400739f6
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005f24
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400e0830
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.140002e87
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400e08ba
cmp byte [rbp - 0x21], r15b
je 0x1400e08b5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400e08f0
call fcn.1400065f0
test eax, eax
jne 0x1400e08dc
cmp byte [rbp - 0x21], r15b
je 0x1400e08d4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400e08f0
cmp byte [rbp - 0x21], r15b
je 0x1400e08ed
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.1400069ab
test eax, eax
jne 0x1400e0990
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140002e87
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400e092f
cmp byte [rbp - 0x21], r15b
je 0x1400e0964
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400e0964
call fcn.1400065f0
test eax, eax
jne 0x1400e0950
cmp byte [rbp - 0x21], r15b
je 0x1400e0949
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400e0964
cmp byte [rbp - 0x21], r15b
je 0x1400e0961
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.1400069ab
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400e0990
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400e0993
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400e09a1
mov rcx, rdi
call fcn.140001294
cmp byte [rbp + 0x3f], r15b
je 0x1400e09b0
mov rcx, qword [rbp + 0x27]
call fcn.140001294
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