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

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, 0x160
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rcx, qword [0x14008b838]
xor ebp, ebp
mov edx, dword [0x14008b8cc]
mov eax, edx
sub edx, dword [rdx + rcx - 6]
sub edx, dword [rax + rcx - 0xa]
sub edx, 0x22
mov qword [0x14008b8a8], rbp
movsxd rbx, edx
add rbx, rcx
mov qword [0x14008cb88], rbp
cmp dword [rax + rcx - 0x16], 0x6054b50
jne 0x1400032d9
cmp dword [rbx], 0x1234567b
je 0x1400031d3
lea rdx, str.Invalid_cfgdata_magic_number__see_bdist_wininst.py_
xor ecx, ecx
call fcn.140002d70
jmp 0x1400032db
test edx, edx
js 0x1400032d9
movsxd r8, dword [rbx + 8]
test r8d, r8d
je 0x1400031f8
movsxd rax, dword [rbx + 4]
mov rcx, rbx
sub rcx, rax
sub rcx, r8
mov qword [0x14008cb90], rcx
lea r14, [rbx + 4]
mov edi, 0x104
sub edx, dword [r14]
mov ecx, edi
sub edx, r8d
mov dword [0x14008b584], edx
movsxd rax, dword [r14]
sub rbx, rax
call fcn.1400454b8
mov rsi, rax
test rax, rax
je 0x1400032d9
lea rdx, [rsp + 0x40]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x1400032c5
mov r9, rsi
lea rdx, [0x14007b26c]
xor r8d, r8d
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x1400032c5
mov r9d, dword [r14]
xor r8d, r8d
mov qword [rsp + 0x30], rbp
mov rdx, rsi
mov word [rsp + 0x28], bp
mov word [rsp + 0x20], bp
lea ecx, [r8 + 2]
call fcn.1400010f0
mov rdi, rax
test rax, rax
je 0x1400032d9
movsxd r8, dword [r14]
mov rdx, rbx
mov rcx, rax
call fcn.14002ca70
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], bpl
jne 0x140003292
lea rcx, [rbx + 1]
add rcx, rax
call fcn.14004be54
mov rcx, rdi
mov qword [0x14008b8a8], rax
mov qword [0x14008cb88], rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, 1
jmp 0x1400032db
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, str.Could_not_create_temporary_file
call fcn.140002d70
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140009140
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140004c48
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0xc8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x28], 1
lea r9, [0x14007aba2]
and qword [rsp + 0x20], 0
lea r8, [0x14008ba00]
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x140004cc0
mov r8d, eax
lea rdx, str.Failed_to_start_elevated_process__ShellExecute_returned__d_
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfA]
mov r9d, 0x10
lea r8, [0x14007ba54]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140009140
add rsp, 0xc8
ret
Function at 0x140004ff8
Capabilities:
Create process on windows
Resume thread
Self delete

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r8d, 0x104
lea rdx, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea r8, [rbp - 0x20]
lea rdx, str._s.bat
lea rcx, [rbp + 0xf0]
call fcn.1400018fc
lea rdx, [0x14007bb38]
lea rcx, [rbp + 0xf0]
call fcn.1400131f8
lea rdx, str.:Repeat_n
mov rcx, rax
mov rbx, rax
call fcn.1400017a0
lea r8, [rbp - 0x20]
mov rcx, rbx
lea rdx, str.del___s__n
call fcn.1400017a0
lea r8, [rbp - 0x20]
mov rcx, rbx
lea rdx, str.if_exist___s__goto_Repeat_n
call fcn.1400017a0
lea r8, [rbp + 0xf0]
mov rcx, rbx
lea rdx, str.del___s__n
call fcn.1400017a0
mov rcx, rbx
call fcn.14001355c
mov ebx, 0x68
lea rcx, [rsp + 0x70]
mov r8d, ebx
xor edx, edx
call fcn.14000a9e0
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0xf0]
xor ebx, ebx
mov dword [rbp - 0x54], 1
lea rax, [rsp + 0x70]
mov word [rbp - 0x50], bx
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea rax, [0x14007aba0]
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor ecx, ecx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x44
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140005174
mov rcx, qword [rsp + 0x58]
lea edx, [rbx - 0xf]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea edx, [rbx + 0xf]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140009140
mov rbx, qword [rsp + 0x320]
add rsp, 0x310
pop rbp
ret
Function at 0x140005194
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
call fcn.14004be54
mov edx, 0x5b
mov rcx, rax
mov rbp, rax
call fcn.14000a2b0
mov rdi, rax
test rax, rax
je 0x14000528a
mov edx, 0x5d
lea rcx, [rax + 1]
call fcn.14000a2b0
mov rbx, rax
test rax, rax
je 0x14000528a
mov edx, 0xa
mov byte [rax], 0
lea rcx, [rax + 1]
call fcn.14000a2b0
test rax, rax
je 0x1400051ff
mov byte [rax], 0
mov rcx, qword [0x140088c48]
lea rax, [rsp + 0x48]
mov r9d, 0x20006
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rdi + 1]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140005245
call qword [sym.imp.USER32.dll_GetFocus]
xor r9d, r9d
lea r8, str.Could_not_open_key
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140005282
mov rcx, qword [rsp + 0x48]
lea rdx, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, 0xfffffffd
je 0x140005277
call qword [sym.imp.USER32.dll_GetFocus]
xor r9d, r9d
lea r8, str.Could_not_delete_key
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbp
call fcn.1400301c8
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400052a0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
call fcn.14004be54
mov edx, 0x5b
mov rcx, rax
mov rbp, rax
call fcn.14000a2b0
mov rdi, rax
test rax, rax
je 0x14000539a
mov edx, 0x5d
lea rcx, [rax + 1]
call fcn.14000a2b0
mov rbx, rax
test rax, rax
je 0x14000539a
mov edx, 0x3d
mov byte [rax], 0
lea rcx, [rax + 1]
call fcn.14000a2b0
test rax, rax
je 0x14000539a
mov rcx, qword [0x140088c48]
lea rdx, [rdi + 1]
mov byte [rax], 0
mov r9d, 0x20006
lea rax, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140005355
call qword [sym.imp.USER32.dll_GetFocus]
xor r9d, r9d
lea r8, str.Could_not_open_key
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140005392
mov rcx, qword [rsp + 0x48]
lea rdx, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, 0xfffffffd
je 0x140005387
call qword [sym.imp.USER32.dll_GetFocus]
xor r9d, r9d
lea r8, str.Could_not_delete_value
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbp
call fcn.1400301c8
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400053b0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov edx, 0x3a
call fcn.14000a2b0
mov rbx, rax
test rax, rax
jne 0x1400053ce
add rsp, 0x20
pop rbx
ret
inc rbx
movsx ecx, byte [rbx]
call fcn.140030bb0
test eax, eax
jne 0x1400053ce
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_DeleteFileA]
Function at 0x1400053ec
Capabilities:
Delete directory

Disassembly:
push rbx
sub rsp, 0x20
mov edx, 0x3a
call fcn.14000a2b0
mov rbx, rax
test rax, rax
jne 0x14000540a
add rsp, 0x20
pop rbx
ret
inc rbx
movsx ecx, byte [rbx]
call fcn.140030bb0
test eax, eax
jne 0x14000540a
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
Function at 0x14005bfbc
Capabilities:
Create thread
Print debug messages

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, 0x50
mov esi, r8d
mov r14, rdx
mov rbx, rcx
call fcn.14004ffdc
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x14005c00f
test rbx, rbx
je 0x14005c000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bpl, bpl
je 0x14005c00f
mov edi, 4
jmp 0x14005c0b8
call fcn.14004fd84
test al, al
jne 0x14005c02c
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x14005c0b8
test bpl, bpl
je 0x14005c08f
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x14005be60]
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005c0b8
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x14005c089
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14005c0b8
mov edi, dword [rsp + 0x44]
jmp 0x14005c081
call fcn.14004ff08
test al, al
jne 0x14005c0a0
bts esi, 0x15
xor ecx, ecx
jmp 0x14005c0a8
call fcn.14004fe40
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.14004fbbc
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
Function at 0x140067884
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x140067656
call fcn.14002d340
mov dword [rax], 0x16
call fcn.14004d904
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140067638
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x140067638
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x140067688
lock or dword [rax + 0x14], 0x10
jmp 0x140067638
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1400676a5
mov rcx, qword [rbp + 0x20]
call fcn.1400679c0
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x1400676ba
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x1400676c0
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.14005067c
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14004c690
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x140067713
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x140067638
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14006777f
mov rcx, qword [rbp + 0x20]
call fcn.14005067c
cmp eax, 0xffffffff
je 0x140067766
mov rcx, qword [rbp + 0x20]
call fcn.14005067c
cmp eax, 0xfffffffe
je 0x140067766
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.14005067c
movsxd rdi, eax
lea r15, [0x14008a240]
mov rcx, rbx
sar rdi, 6
call fcn.14005067c
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x14006776d
lea rax, [0x140088270]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14006777f
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x1400677b5
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1400677b1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1400677b1
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x1400677d3
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x1400677de
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x14006763d
jmp 0x140067604
Function at 0x18008e930
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x18008e99f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18008e99f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18008e99f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18008e99f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18008e99f
cmp dword [rcx + 0x84], 0xe
jbe 0x18008e99f
cmp dword [rcx + 0xf8], 0
je 0x18008e99f
mov ecx, ebx
call fcn.18008ea50
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.18008e82c
nop
cmp dword [rbp + 0x20], 0
je 0x18008e9ed
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18008e9f8
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18008e930
Function at 0x180096208
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 0x180096238
xor eax, eax
jmp 0x1800962fb
mov rbp, rbx
cmp word [rax], si
je 0x18009625d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180096244
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180096240
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.180096128
movsxd r14, eax
test eax, eax
jne 0x18009629b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180096231
mov rcx, r14
call fcn.18009070c
mov rdi, rax
test rax, rax
jne 0x1800962b4
xor ecx, ecx
call fcn.1800906d0
jmp 0x180096290
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.180096128
test eax, eax
jne 0x1800962e5
mov rcx, rdi
call fcn.1800906d0
jmp 0x1800962ef
xor ecx, ecx
call fcn.1800906d0
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 0x180096318
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 0x18009639f
mov rsi, rbx
cmp word [rax], bp
je 0x18009635e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x180096348
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x180096344
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.18009070c
mov rdi, rax
test rax, rax
je 0x18009638c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.18009d990
mov rbp, rdi
xor ecx, ecx
call fcn.1800906d0
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 0x18009d130
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18009d158
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18009d158
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140011005
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140012cb0
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140022040]
xor rax, rbp
mov qword [rbp + 0x128], rax
lea rcx, [0x1400280f4]
call fcn.140011514
nop
lea rcx, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x54], eax
cmp dword [rbp + 0x54], 4
jae 0x140012d07
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001efe0]
call fcn.140011460
mov rax, rdi
mov rcx, qword [rbp + 0x128]
xor rcx, rbp
call fcn.140011280
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x1400110a5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x140012850
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x3c8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400280f4]
call fcn.140011514
nop
call fcn.140011546
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movsxd rax, dword [rax + 0x3c]
add rax, qword [rbp + 8]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
add rax, 0x88
mov qword [rbp + 0x68], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax]
mov dword [rbp + 0x84], eax
mov eax, dword [rbp + 0x84]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x14]
mov dword [rbp + 0xc4], eax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x18]
mov dword [rbp + 0xe4], eax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x148], rax
mov qword [rbp + 0x168], 0
jmp 0x140012967
mov rax, qword [rbp + 0x168]
inc rax
mov qword [rbp + 0x168], rax
mov eax, dword [rbp + 0xc4]
cmp qword [rbp + 0x168], rax
jae 0x140012ab6
mov rax, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x168]
cmp dword [rax + rcx*4], 0
jne 0x140012990
jmp 0x140012956
mov rax, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x168]
mov eax, dword [rax + rcx*4]
mov qword [rbp + 0x188], rax
mov qword [rbp + 0x1a8], 0
jmp 0x1400129c6
mov rax, qword [rbp + 0x1a8]
inc rax
mov qword [rbp + 0x1a8], rax
mov eax, dword [rbp + 0xe4]
cmp qword [rbp + 0x1a8], rax
jae 0x140012ab1
mov rax, qword [rbp + 0x148]
mov rcx, qword [rbp + 0x1a8]
movzx eax, word [rax + rcx*2]
cmp rax, qword [rbp + 0x168]
jne 0x140012aac
mov rax, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x1a8]
mov eax, dword [rax + rcx*4]
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x1c8]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1e8], rax
mov dword [rbp + 0x204], 0
mov rax, qword [rbp + 0x1e8]
movsx eax, byte [rax]
test eax, eax
je 0x140012a87
mov eax, dword [rbp + 0x204]
shl eax, 0x19
mov ecx, dword [rbp + 0x204]
shr ecx, 7
or eax, ecx
mov dword [rbp + 0x204], eax
mov rax, qword [rbp + 0x1e8]
movsx eax, byte [rax]
mov ecx, dword [rbp + 0x204]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x204], eax
mov rax, qword [rbp + 0x1e8]
inc rax
mov qword [rbp + 0x1e8], rax
jmp 0x140012a32
mov eax, dword [rbp + 0x204]
cmp dword [rbp + 0x3c0], eax
jne 0x140012aac
mov rax, qword [rbp + 0x188]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax + 4]
jmp 0x140012ab6
jmp 0x1400129b5
jmp 0x140012956
lea rsp, [rbp + 0x3a8]
pop rdi
pop rbp
ret

Function at 0x140011262
Capabilities:
Execute syscall

Disassembly:
jmp 0x140015ab1
mov r10, rcx
mov eax, dword [section..data]
syscall
ret
Function at 0x1400112d0
Capabilities:
Terminate process

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

Disassembly:
jmp 0x1400184d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400184f0
xor al, al
jmp 0x140018571
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018503
xor al, al
jmp 0x140018571
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 0x14001852d
xor al, al
jmp 0x140018571
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018541
xor al, al
jmp 0x140018571
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018553
xor al, al
jmp 0x140018571
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001856f
xor al, al
jmp 0x140018571
mov al, 1
add rsp, 0x38
ret
Function at 0x14001143d
Capabilities:
Get memory capacity

Disassembly:
jmp 0x140012d60
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140022040]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1400280f4]
call fcn.140011514
nop
mov dword [rbp + 0x10], 0x40
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
nop
xor edx, edx
mov rax, qword [rbp + 0x18]
mov ecx, 0x400
div rcx
xor edx, edx
mov ecx, 0x400
div rcx
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0x1000
jae 0x140012dd6
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001f060]
call fcn.140011460
mov rax, rdi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.140011280
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret