joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004790
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14173a0a0]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x80], 0
jg 0x1400047c4
xor eax, eax
jmp 0x140004970
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x1400047ec
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140005530
jmp 0x140004970
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x70]
call fcn.140006f10
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x140004888
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.140004990
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400070d0
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.140008240
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
call fcn.140007030
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x140004960
mov rcx, qword [rsp + 0x70]
call fcn.1400068c0
mov qword [rsp + 0x38], 0xfff
cmp qword [rsp + 0x40], 0xfff
jbe 0x140004928
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.140066438
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x28], 0xfff
je 0x140004926
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x140004970
jmp 0x1400048ae
cmp qword [rsp + 0x40], 0
jbe 0x140004960
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.140066438
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14003c100
add rsp, 0x68
ret
Function at 0x140006970
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x14173a0a0]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x68], 0
je 0x1400069ad
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400069b4
mov al, 1
jmp 0x140006afc
call fcn.140008150
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rcx
mov edx, eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x48]
call qword [rax + 0x18]
mov dword [rsp + 0x38], eax
call fcn.140008150
mov dword [rsp + 0x3c], eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x3c]
call fcn.1400081b0
movzx eax, al
test eax, eax
je 0x140006a05
xor al, al
jmp 0x140006afc
mov qword [rsp + 0x50], 0x20
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0xa0]
add rcx, 0x74
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x60]
mov rdx, rcx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x68]
call fcn.140008380
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140006a6a
cmp dword [rsp + 0x30], 1
je 0x140006a76
cmp dword [rsp + 0x30], 3
je 0x140006aea
jmp 0x140006afa
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jbe 0x140006ac1
mov rax, qword [rsp + 0xa0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140065cd4
cmp qword [rsp + 0x40], rax
je 0x140006ac1
xor al, al
jmp 0x140006afc
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140006adb
mov dword [rsp + 0x34], 1
jmp 0x140006ae3
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x140006afc
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140006afc
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14003c100
add rsp, 0x98
ret

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

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

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

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

Function at 0x1400795fc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140079384
Function at 0x1400023e4
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140086030
mov dword [rsp + 8], ecx
sub rsp, 0x28
xor r8d, r8d
xor edx, edx
mov ecx, dword [rsp + 0x30]
call fcn.140085b90
add rsp, 0x28
ret
Function at 0x140002527
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400b0f80
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400b0b00
lea rcx, [rsp + 0x20]
call fcn.1400b0b50
movzx eax, al
test eax, eax
jne 0x1400b0fc5
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.1400b0b30
mov rax, qword [rsp + 0x40]
jmp 0x1400b10bf
lea rcx, [rsp + 0x20]
call fcn.1400b0c50
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.1400b0bf0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.140002702
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400021b2
lea rcx, [rsp + 0x28]
call fcn.1400029af
movzx eax, al
test eax, eax
jne 0x1400b105f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400034f9
lea rcx, [rsp + 0x20]
call fcn.1400b0b30
mov rax, qword [rsp + 0x50]
jmp 0x1400b10bf
lea rcx, [rsp + 0x20]
call fcn.1400b0c50
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.140003dff
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140002699
lea rcx, [rsp + 0x28]
call fcn.140004313
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400034f9
lea rcx, [rsp + 0x20]
call fcn.1400b0b30
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret

Function at 0x1400027e3
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400230b0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140022a30
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400230ef
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140189020]
jmp 0x1400230f9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x14000292d
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400b0cd0
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400b0b00
lea rcx, [rsp + 0x40]
call fcn.1400b0c80
movzx eax, al
test eax, eax
jne 0x1400b0d18
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.1400b0b30
mov rax, qword [rsp + 0x70]
jmp 0x1400b0ee9
lea rcx, [rsp + 0x40]
call fcn.1400b0c50
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400b0bf0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.1400b0c50
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.1400032e7
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1400b0dbe
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.1400b0b30
mov rax, qword [rsp + 0x80]
jmp 0x1400b0ee9
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.140002702
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400025f4
lea rcx, [rsp + 0x48]
call fcn.1400022ed
movzx eax, al
test eax, eax
jne 0x1400b0e25
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.140001735
lea rcx, [rsp + 0x40]
call fcn.1400b0b30
mov rax, qword [rsp + 0x88]
jmp 0x1400b0ee9
lea rcx, [rsp + 0x48]
call fcn.140002bcb
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.1400b0c50
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.1400032e7
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1400b0ebb
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.140001735
lea rcx, [rsp + 0x40]
call fcn.1400b0b30
mov rax, qword [rsp + 0xa0]
jmp 0x1400b0ee9
lea rcx, [rsp + 0x48]
call fcn.1400025d1
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.140001735
lea rcx, [rsp + 0x40]
call fcn.1400b0b30
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x14000293c
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140022fe0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1400229b0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140023021
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140189020]
jmp 0x140023027
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x1400029b9
Capabilities:
Get geographical location

Disassembly:
jmp 0x14009cc90
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.14009bbc0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14009ccf7
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x140189030]
jmp 0x14009cd19
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14000229d
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x1400029cd
Capabilities:
Terminate process

Disassembly:
jmp 0x140009a80
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x140002b7b
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400ccd40
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x140177ec0]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1400ccd66
jmp 0x1400ccde3
mov rcx, qword [rbp + 0x30]
call fcn.1400024f5
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1400ccd7f
jmp 0x1400ccde3
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1400ccd9c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140001875
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.140001c1c
test eax, eax
jne 0x1400ccde3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.140002694
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x140002c98
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400debb0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400debd4
xor eax, eax
jmp 0x1400dec22
mov rax, qword [rsp]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x1400debfc
xor eax, eax
jmp 0x1400dec22
mov rax, qword [rsp + 8]
add rax, 0x18
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax]
cmp eax, 0x20b
je 0x1400dec1d
xor eax, eax
jmp 0x1400dec22
mov eax, 1
add rsp, 0x28
ret

Function at 0x140002dfb
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400b2e30
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret

Function at 0x140002fcc
Capabilities:
Parse pe header

Disassembly:
jmp 0x14000be10
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14000be30
xor al, al
jmp 0x14000beb1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14000be43
xor al, al
jmp 0x14000beb1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14000be6d
xor al, al
jmp 0x14000beb1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14000be81
xor al, al
jmp 0x14000beb1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14000be93
xor al, al
jmp 0x14000beb1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14000beaf
xor al, al
jmp 0x14000beb1
mov al, 1
add rsp, 0x38
ret
Function at 0x140003260
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1400dea20
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov dword [rsp], 0
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x10]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 8], rax
jmp 0x1400dea7e
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 0x28
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 6]
cmp dword [rsp], eax
jae 0x1400deabd
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
cmp qword [rsp + 0x38], rax
jb 0x1400deabb
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 8]
add eax, dword [rcx + 8]
mov eax, eax
cmp qword [rsp + 0x38], rax
jae 0x1400deabb
mov rax, qword [rsp + 8]
jmp 0x1400deabf
jmp 0x1400dea68
xor eax, eax
add rsp, 0x28
ret

Function at 0x140003459
Capabilities:
Terminate process

Disassembly:
jmp 0x14002d760
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14002d78e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140003b20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140003b75
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400a8940
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x140003c15
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140023120
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140022a70
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140023169
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140189020]
jmp 0x140023178
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x140003cab
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400cfbf0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.14000218a
lea rcx, [rsp + 0x48]
call fcn.14000218a
call fcn.1400028e2
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.140001fd7
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400cfc5f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.140002432
lea rcx, [rsp + 0x78]
call fcn.140002432
mov eax, dword [rsp + 0x24]
jmp 0x1400cfcf0
call fcn.1400028e2
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.140001fd7
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1400cfca6
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.140002432
lea rcx, [rsp + 0x78]
call fcn.140002432
mov eax, dword [rsp + 0x2c]
jmp 0x1400cfcf0
lea rcx, [rsp + 0x48]
call fcn.14000211c
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.14000211c
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.140002432
lea rcx, [rsp + 0x78]
call fcn.140002432
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x140007d50
Capabilities:
Create process on windows
Create process suspended

Disassembly:
jmp 0x140007d50
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x7f0
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x158
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x818]
mov rax, qword [0x140177ec0]
xor rax, rbp
mov qword [rbp + 0x798], rax
mov byte [rbp + 0x784], 0
lea rcx, [0x140188168]
call fcn.140003e86
nop
mov qword [rbp + 0xc8], 0
cmp qword [rbp + 0x7d0], 0
je 0x140007dd1
mov rcx, qword [rbp + 0x7d0]
call fcn.1400024f5
test rax, rax
jne 0x140007de3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbp + 0xc8], rax
jmp 0x140007e9f
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.140003297
nop
mov dword [rbp + 0x10], 0x68
mov byte [rbp + 0x784], 1
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 0x98]
call fcn.140003297
nop
mov r9, qword [rbp + 0x7d0]
lea r8, [0x1400eb33c]
mov edx, 0x400
lea rcx, [rbp + 0xf0]
call fcn.140001d7a
nop
mov byte [rbp + 0x784], 1
lea rax, [rbp + 0x98]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xf0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140007e91
jmp 0x140007f01
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0
jne 0x140007eab
jmp 0x140007f01
cmp byte [rbp + 0x784], 0
jne 0x140007ec1
lea rcx, [0x1400eb230]
call fcn.140001785
nop
movsxd rax, dword [rbp + 0x7c8]
lea rcx, [rbp + 0x750]
lea rdx, [rbp + 0x98]
mov rdi, rcx
mov rsi, rdx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov r9, rax
mov r8, qword [rbp + 0x7c0]
lea rdx, [rbp + 0x750]
mov rcx, qword [rbp + 0xc8]
call fcn.140001f23
nop
lea rcx, [rbp - 0x50]
lea rdx, [0x1400eb300]
call fcn.140003648
mov rcx, qword [rbp + 0x798]
xor rcx, rbp
call fcn.140002694
lea rsp, [rbp + 0x7a0]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140008520
Capabilities:
Resume thread

Disassembly:
jmp 0x140008520
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x758
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x13e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x778]
mov rax, qword [0x140177ec0]
xor rax, rbp
mov qword [rbp + 0x728], rax
lea rcx, [0x1401883b3]
call fcn.140003e86
nop
mov dword [rbp + 0x40], 0x100002
lea rdx, [rbp + 0x10]
mov rax, qword [rbp + 0x758]
mov rcx, qword [rax + 8]
call sub.ntdll.dll_NtGetContextThread
test eax, eax
je 0x140008595
jmp 0x1400085d0
mov rax, qword [rbp + 0x760]
mov qword [rbp + 0x90], rax
lea rdx, [rbp + 0x10]
mov rax, qword [rbp + 0x758]
mov rcx, qword [rax + 8]
call sub.ntdll.dll_NtSetContextThread
test eax, eax
je 0x1400085bd
jmp 0x1400085d0
xor edx, edx
mov rax, qword [rbp + 0x758]
mov rcx, qword [rax + 8]
call sub.ntdll.dll_NtResumeThread
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x1400eb540]
call fcn.140003648
mov rcx, qword [rbp + 0x728]
xor rcx, rbp
call fcn.140002694
lea rsp, [rbp + 0x738]
pop rdi
pop rbp
ret
Function at 0x1400230b0
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400230b0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140022a30
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400230ef
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140189020]
jmp 0x1400230f9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x14009cc90
Capabilities:
Get geographical location

Disassembly:
jmp 0x14009cc90
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.14009bbc0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14009ccf7
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x140189030]
jmp 0x14009cd19
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14000229d
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret
Function at 0x1400a8940
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400a8940
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret