joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400dd310
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400dd326
mov al, 1
jmp 0x1400dd386
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400dd337
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400dd384
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400ddd24
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400dd384
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400dd384
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400dd384
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400dd386
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400dde34
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400d59f0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400d59f0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400ddf84
cmp rax, 0xffffffffffffffff
je 0x1400ddf84
xor edi, edi
test rbp, rbp
jle 0x1400ddf2f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400d9df0
mov rbx, rax
test rax, rax
jne 0x1400ddebc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400ddf25
mov edx, 0x8000
mov ecx, r14d
call fcn.1400d70b0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400d8830
cmp eax, 0xffffffff
je 0x1400ddf05
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400ddecc
mov edx, r15d
mov ecx, r14d
call fcn.1400d70b0
jmp 0x1400ddf25
cmp byte [rsi + 0x38], dil
je 0x1400ddf1c
cmp dword [rsi + 0x34], 5
jne 0x1400ddf1c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1400ddf25
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400d9e68
jmp 0x1400ddf98
jns 0x1400ddf98
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400d59f0
cmp rax, 0xffffffffffffffff
jne 0x1400ddf50
cmp byte [rsi + 0x30], dil
je 0x1400ddf98
mov edi, dword [rsi + 0x2c]
jmp 0x1400ddf98
mov ecx, r14d
call fcn.1400ddd24
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400ddf98
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1400ddf98
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400ddf91
mov eax, dword [rsi + 0x2c]
jmp 0x1400ddf96
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400d59f0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400e1814
Capabilities:
Query environment variable

Disassembly:
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 0x1400e1844
xor eax, eax
jmp 0x1400e1907
mov rbp, rbx
cmp word [rax], si
je 0x1400e1869
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400e1850
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400e184c
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.1400de7d0
movsxd r14, eax
test eax, eax
jne 0x1400e18a7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400e183d
mov rcx, r14
call fcn.1400daa4c
mov rdi, rax
test rax, rax
jne 0x1400e18c0
xor ecx, ecx
call fcn.1400d9e68
jmp 0x1400e189c
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.1400de7d0
test eax, eax
jne 0x1400e18f1
mov rcx, rdi
call fcn.1400d9e68
jmp 0x1400e18fb
xor ecx, ecx
call fcn.1400d9e68
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 0x1400e1924
Capabilities:
Query environment variable

Disassembly:
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 0x1400e19ab
mov rsi, rbx
cmp word [rax], bp
je 0x1400e196a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400e1954
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400e1950
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400daa4c
mov rdi, rax
test rax, rax
je 0x1400e1998
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400e9070
mov rbp, rdi
xor ecx, ecx
call fcn.1400d9e68
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 0x1400e30ac
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400e30cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400cab9c
or eax, 0xffffffff
jmp 0x1400e30ce
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400e5a18
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14012c700]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400e5a62
call fcn.1400cac08
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.1400cac28
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.1400c7d90
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400bf630
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400e5a6d
lea eax, [rbx + 1]
jmp 0x1400e5a4f
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1400e5a4d
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400e5a4f
Function at 0x1400e6eb4
Capabilities:
Set environment variable

Disassembly:
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.1400cac48
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400e6f3e
cmp byte [rbp - 0x21], r15b
je 0x1400e6f39
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400e6f74
call fcn.1400da110
test eax, eax
jne 0x1400e6f60
cmp byte [rbp - 0x21], r15b
je 0x1400e6f58
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400e6f74
cmp byte [rbp - 0x21], r15b
je 0x1400e6f71
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.1400d3498
test eax, eax
jne 0x1400e7014
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400cac48
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400e6fb3
cmp byte [rbp - 0x21], r15b
je 0x1400e6fe8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400e6fe8
call fcn.1400da110
test eax, eax
jne 0x1400e6fd4
cmp byte [rbp - 0x21], r15b
je 0x1400e6fcd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400e6fe8
cmp byte [rbp - 0x21], r15b
je 0x1400e6fe5
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.1400d3498
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400e7014
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400e7017
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400e7025
mov rcx, rdi
call fcn.1400d9e68
cmp byte [rbp + 0x3f], r15b
je 0x1400e7034
mov rcx, qword [rbp + 0x27]
call fcn.1400d9e68
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
Function at 0x140001008
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov dl, 1
mov cl, dl
call sub.jli.dll_JLI_InitArgProcessing
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001072
lea rcx, str.Windows_original_main_args:_n
call fcn.14000114c
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [rax], ebx
jle 0x140001072
xor edi, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov edx, ebx
lea rcx, str.wwwd_args__d____s_n
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call fcn.14000114c
inc ebx
lea rdi, [rdi + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp ebx, dword [rax]
jl 0x140001047
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
test edi, edi
jle 0x1400010be
xor edx, edx
mov r9d, edi
mov rcx, qword [rax]
lea rax, [rax + 0x10]
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x1400010ab
mov rcx, qword [str.openjdk]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010d5
mov rcx, qword [rbx]
mov rax, qword [section..data]
test rax, rax
jne 0x1400010e4
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
lea r9, str._J_Dsun.jvm.hotspot.debugger.useProcDebugger
mov byte [rsp + 0x60], 0
mov r8d, 5
mov byte [rsp + 0x58], 0
mov rdx, rbx
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov ecx, edi
mov qword [rsp + 0x40], rax
lea rax, [0x14000235c]
mov qword [rsp + 0x38], rax
lea rax, [0x140002360]
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x1400012c0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140008010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdx, qword [0x140008728]
test rdx, rdx
je 0x14000131d
mov eax, dword [rdx]
lea r8, [rsp + 0x50]
mov rcx, qword [0x140008710]
xor r9d, r9d
mov dword [rsp + 0x50], eax
movzx eax, byte [rdx + 4]
mov byte [rsp + 0x54], al
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140003460
add rsp, 0x68
ret
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rdx, 0x35dd74628d031c1e
movabs rax, 0x2ff4c84deff4a8bc
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x50], rdx
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
movabs rax, 0x2ff4c23f8086daf9
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rdx
lea rdx, [rsp + 0x30]
mov rax, qword [rsp + 0x50]
movdqa xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x48], rax
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.140002cb0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140003df4
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1400f7771
mov r10, rcx
mov eax, 0x3f
syscall
ret
Function at 0x1400ccd98
Capabilities:
Execute syscall

Disassembly:
jmp 0x1400f775b
mov r10, rcx
mov eax, 0x2a
syscall
ret

Function at 0x1400ccf32
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140146ae0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x140146b08
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x140146b52
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x140146afd
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x1400ce724
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14019b620
mov rax, rcx
neg rcx
test rax, 7
je 0x14019b63d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x14019b698
test al, 7
jne 0x14019b630
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 0x14019b651
mov rdx, qword [rax - 8]
test dl, dl
je 0x14019b6c2
test dh, dh
je 0x14019b6bc
shr rdx, 0x10
test dl, dl
je 0x14019b6b6
test dh, dh
je 0x14019b6b0
shr rdx, 0x10
test dl, dl
je 0x14019b6aa
test dh, dh
je 0x14019b6a4
shr edx, 0x10
test dl, dl
je 0x14019b69e
test dh, dh
jne 0x14019b651
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 0x1400ce760
Capabilities:
Query environment variable

Disassembly:
jmp 0x14024bb80
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14024b700
lea rcx, [rsp + 0x20]
call fcn.14024b750
movzx eax, al
test eax, eax
jne 0x14024bbc5
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.14024b730
mov rax, qword [rsp + 0x40]
jmp 0x14024bcbf
lea rcx, [rsp + 0x20]
call fcn.14024b850
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14024b7f0
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, [0x1402a7970]
mov edx, 2
mov rcx, rax
call fcn.1400ceb25
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400ce06c
lea rcx, [rsp + 0x28]
call fcn.1400cf061
movzx eax, al
test eax, eax
jne 0x14024bc5f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400d0646
lea rcx, [rsp + 0x20]
call fcn.14024b730
mov rax, qword [rsp + 0x50]
jmp 0x14024bcbf
lea rcx, [rsp + 0x20]
call fcn.14024b850
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1400d172b
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.1400cea4e
lea rcx, [rsp + 0x28]
call fcn.1400d212b
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400d0646
lea rcx, [rsp + 0x20]
call fcn.14024b730
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x1400ce96d
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x1400e4740
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rcx, [0x1405702ac]
call fcn.1400d182a
nop
mov qword [rbp + 8], 0
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x148]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x140]
movzx eax, byte [rax + 0x14]
test eax, eax
jne 0x1400e47ac
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rbp + 0x140]
mov qword [rcx], rax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, qword [rbp + 0x148]
mov rdx, qword [rbp + 0x150]
mov rax, qword [rbp + 0x140]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x140]
movzx eax, byte [rax + 0x14]
test eax, eax
jne 0x1400e4805
cmp qword [rbp + 8], 0
je 0x1400e4805
mov r8, qword [rbp + 0x148]
xor edx, edx
mov rcx, qword [rbp + 8]
call fcn.1400d018c
nop
mov rax, qword [rbp + 0x140]
mov rcx, qword [rbp + 8]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 8]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400ceb6b
Capabilities:
Resume thread

Disassembly:
jmp 0x1400ead20
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x140570485]
call fcn.1400d182a
nop
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop
mov edx, 0xffffffff
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1400cece7
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140198b00
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140198480
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140198b3f
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 [0x140571020]
jmp 0x140198b49
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x1400cef85
Capabilities:
Query environment variable

Disassembly:
jmp 0x14024b8d0
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14024b700
lea rcx, [rsp + 0x40]
call fcn.14024b880
movzx eax, al
test eax, eax
jne 0x14024b918
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.14024b730
mov rax, qword [rsp + 0x70]
jmp 0x14024bae9
lea rcx, [rsp + 0x40]
call fcn.14024b850
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14024b7f0
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.14024b850
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.1400d0231
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14024b9be
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.14024b730
mov rax, qword [rsp + 0x80]
jmp 0x14024bae9
mov r9d, 0x66
lea r8, [0x1402a7970]
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400ceb25
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400ce8c8
lea rcx, [rsp + 0x48]
call fcn.1400ce2b5
movzx eax, al
test eax, eax
jne 0x14024ba25
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1400ccda2
lea rcx, [rsp + 0x40]
call fcn.14024b730
mov rax, qword [rsp + 0x88]
jmp 0x14024bae9
lea rcx, [rsp + 0x48]
call fcn.1400cf4c6
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14024b850
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.1400d0231
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14024babb
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1400ccda2
lea rcx, [rsp + 0x40]
call fcn.14024b730
mov rax, qword [rsp + 0xa0]
jmp 0x14024bae9
lea rcx, [rsp + 0x48]
call fcn.1400ce87d
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1400ccda2
lea rcx, [rsp + 0x40]
call fcn.14024b730
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x1400cef9e
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140198a30
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.140198400
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140198a71
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 [0x140571020]
jmp 0x140198a77
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x1400cf070
Capabilities:
Get geographical location

Disassembly:
jmp 0x140232dc0
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.140231cf0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140232e27
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 [0x140571030]
jmp 0x140232e49
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400ce224
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 0x1400cf084
Capabilities:
Terminate process

Disassembly:
jmp 0x140176200
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