joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401cb0e0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x22a8
call fcn.14021b430
sub rsp, rax
mov dword [rsp + 0x24], 0
mov rcx, qword [rsp + 0x22b0]
call fcn.14000fa60
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
lea r9, [rsp + 0x28]
mov r8d, 0x2000
lea rdx, [rsp + 0x2a0]
mov rcx, qword [0x140339930]
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x1401cb202
mov dword [rsp + 0x20], 0
jmp 0x1401cb152
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x28]
xor edx, edx
mov eax, ecx
mov ecx, 8
div rcx
mov rcx, qword [rsp + 0x30]
cmp rcx, rax
jae 0x1401cb202
mov eax, dword [rsp + 0x20]
mov r9d, 0x104
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + rax*8 + 0x2a0]
mov rcx, qword [0x140339930]
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x1401cb1fd
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.140007ba0
nop
mov eax, dword [rsp + 0x20]
lea rax, [rsp + rax*8 + 0x2a0]
mov r8, rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1401ca4a0
nop
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x22b0]
call fcn.1401cb690
nop
lea rcx, [rsp + 0x60]
call fcn.1400112c0
nop
lea rcx, [rsp + 0x40]
call fcn.140010d00
jmp 0x1401cb148
mov rax, qword [rsp + 0x22b0]
add rsp, 0x22a8
ret
Function at 0x1401ce6a0
Capabilities:
Hash data using murmur3

Disassembly:
mov dword [rsp + 8], ecx
mov eax, dword [rsp + 8]
shr eax, 0xf
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
imul eax, dword [rsp + 8], 0x85ebca77
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
shr eax, 0xd
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
imul eax, dword [rsp + 8], 0xc2b2ae3d
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
shr eax, 0x10
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
ret
Function at 0x14021ab00
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 0x14021ab84
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140302dc0]
cmp byte [rcx + rax], 0
je 0x14021ab84
dec r8
sub rdx, 1
jne 0x14021ab6a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14021bd44
Capabilities:
Parse pe header

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

Function at 0x140c32aea
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp], rbx
mov ebx, 0xf2171991
push rbx
mov qword [rsp], rsi
lea rbx, [0x140c4b6d8]
movzx esi, byte [rdi]
xor esi, r10d
and esi, 0xff
push 0x124e9a9
mov esi, dword [rbx + rsi*4]
add word [rsp + 1], 0x1d99
shr r10d, 8
xor r10d, esi
inc rdi
xor r10d, 0x36920b3c
push 0xffffffff8429862d
dec rcx
not byte [rsp + 0xb]
lea rsp, [rsp + 0x10]
jne 0x140c32aff
jmp 0x140c61383
mov esi, 0x60b31eab
pop rsi
jmp 0x140c3e09e
Function at 0x180002ae0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002b12
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002b12
nop word cs:[rax + rax]
jmp 0x180002b10
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002be8
mov rsi, r10
test r8b, r8b
je 0x180002c00
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002b80
test r9b, r9b
je 0x180002c10
sub rsi, rcx
je 0x180002be4
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002be0
test ebp, ebp
jne 0x180002be0
add rbx, 1
cmp rsi, rbx
jne 0x180002ba0
jmp 0x180002be4
test ebp, ebp
jne 0x180002b6c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002c00
jmp 0x180002c10
Function at 0x180001ff0
Capabilities:
Check for debugger via api

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov ebx, edx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x18000203c
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180003a00
add rsp, 0x30
pop rbx
ret
cmp ebx, 1
jne 0x180002046
call fcn.180001ca0
mov al, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180003a00
add rsp, 0x30
pop rbx
ret
Function at 0x180002190
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x1800021df
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1800251d0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18000221d
cmp rsi, r14
jb 0x180002215
cmp rsi, r15
jae 0x180002215
cmp qword [rsi + 8], 0
jne 0x1800023e7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180002200
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800022b2
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800022a9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800022a9
cmp dword [rsp + 0x40], 0x10000
je 0x18000232b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x1800022a9
sub rbx, rbp
cmp rbx, r14
jae 0x180002270
test rsi, rsi
jne 0x180002390
cmp rdi, r15
ja 0x1800023cf
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800023cf
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800023cf
cmp dword [rsp + 0x40], 0x10000
je 0x180002361
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800022e2
jmp 0x1800023cf
test rbx, rbx
je 0x1800022a9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180002390
cmp rbx, r14
jae 0x180002250
jmp 0x1800022b2
test rdi, rdi
je 0x1800023cf
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180002390
cmp rdi, r15
jbe 0x1800022c0
jmp 0x1800023cf
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1800023a0
mov rax, qword [0x1800251d0]
mov qword [rsi], rax
mov qword [0x1800251d0], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180003a00
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x180002e20
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov qword [rcx], rsi
mov rbx, rcx
mov qword [rcx + 8], rsi
xor edx, edx
mov ecx, 4
mov ebp, r8d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180002f4b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180002f42
nop dword [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180002f24
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180002f24
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180002f24
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180002ee2
mov rcx, qword [0x1800251a0]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180002f42
jmp 0x180002f17
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180002f17
mov rcx, qword [0x1800251a0]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180002f42
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180002e90
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180002fa5
cmp dword [rbx + 0xc], esi
jbe 0x180002fa5
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
mov ecx, 0x5a
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180002f9e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180002c50
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180002f60
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180003a00
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180002fd0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov edx, 5
mov esi, 7
add rbx, qword [0x1800251c0]
mov r8d, 0x40
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x20]
shl eax, 0x1f
sar eax, 0x1f
test eax, eax
lea rdi, [rcx - 5]
cmove esi, edx
cmove rdi, rcx
mov edx, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18000303f
mov eax, 0xa
jmp 0x18000308c
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18000305b
mov rax, qword [rbx]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or dword [rbx + 0x20], 6
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180003a00
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1800030b0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov edx, dword [0x1800251cc]
xor edi, edi
mov ebx, edi
test edx, edx
je 0x1800031e2
mov rax, qword [0x1800251c0]
add rax, 0x20
nop word [rax + rax]
mov ecx, dword [rax]
shl ecx, 0x1e
sar ecx, 0x1f
cmp ecx, 1
jne 0x180003104
inc ebx
add rax, 0x38
cmp ebx, edx
jb 0x1800030e0
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x1800031e2
mov edx, 0xffffffff
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.180002e20
mov r8d, dword [0x1800251cc]
cmp ebx, r8d
jae 0x180003167
nop
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x1800251c0]
mov edx, dword [rcx + rax + 0x20]
shl edx, 0x1e
sar edx, 0x1f
cmp edx, 1
je 0x180003160
mov ecx, ebx
call fcn.180002fd0
mov edi, eax
test eax, eax
jne 0x180003167
mov r8d, dword [0x1800251cc]
inc ebx
cmp ebx, r8d
jb 0x180003130
cmp qword [rsp + 0x20], 0
je 0x1800031e2
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800031ce
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
mov qword [rsp + 0x48], rsi
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800031ba
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180003190
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800251a0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x1800073e4
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 0x180007453
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180007453
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180007453
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180007453
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180007453
cmp dword [rcx + 0x84], 0xe
jbe 0x180007453
cmp dword [rcx + 0xf8], 0
je 0x180007453
mov ecx, ebx
call fcn.180007504
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.1800072e0
nop
cmp dword [rbp + 0x20], 0
je 0x1800074a1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800074ac
int3
xor r8d, r8d
xor edx, edx
jmp 0x1800073e4

Function at 0x1800075a0
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 0x180007453
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180007453
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180007453
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180007453
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180007453
cmp dword [rcx + 0x84], 0xe
jbe 0x180007453
cmp dword [rcx + 0xf8], 0
je 0x180007453
mov ecx, ebx
call fcn.180007504
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.1800072e0
nop
cmp dword [rbp + 0x20], 0
je 0x1800074a1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800074ac
int3
xor r8d, r8d
xor edx, edx
jmp 0x1800073e4
Function at 0x18000e968
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 0x18000e998
xor eax, eax
jmp 0x18000ea5b
mov rbp, rbx
cmp word [rax], si
je 0x18000e9bd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000e9a4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000e9a0
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.18000e888
movsxd r14, eax
test eax, eax
jne 0x18000e9fb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000e991
mov rcx, r14
call fcn.18000b3b4
mov rdi, rax
test rax, rax
jne 0x18000ea14
xor ecx, ecx
call fcn.18000b378
jmp 0x18000e9f0
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.18000e888
test eax, eax
jne 0x18000ea45
mov rcx, rdi
call fcn.18000b378
jmp 0x18000ea4f
xor ecx, ecx
call fcn.18000b378
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 0x180015cb0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180015cd8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180015cd8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180002490
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a8c], 0xa
jl 0x1800024c2
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x1800024c2
nop word cs:[rax + rax]
jmp 0x1800024c0
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a74], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a94]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a98], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002598
mov rsi, r10
test r8b, r8b
je 0x1800025b0
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002530
test r9b, r9b
je 0x1800025c0
sub rsi, rcx
je 0x180002594
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002590
test ebp, ebp
jne 0x180002590
add rbx, 1
cmp rsi, rbx
jne 0x180002550
jmp 0x180002594
test ebp, ebp
jne 0x18000251c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x1800025b0
jmp 0x1800025c0
Function at 0x180002640
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002672
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002672
nop word cs:[rax + rax]
jmp 0x180002670
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002748
mov rsi, r10
test r8b, r8b
je 0x180002760
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x1800026e0
test r9b, r9b
je 0x180002770
sub rsi, rcx
je 0x180002744
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002740
test ebp, ebp
jne 0x180002740
add rbx, 1
cmp rsi, rbx
jne 0x180002700
jmp 0x180002744
test ebp, ebp
jne 0x1800026cc
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002760
jmp 0x180002770
Function at 0x180002b80
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002bb2
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002bb2
nop word cs:[rax + rax]
jmp 0x180002bb0
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002c88
mov rsi, r10
test r8b, r8b
je 0x180002ca0
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002c20
test r9b, r9b
je 0x180002cb0
sub rsi, rcx
je 0x180002c84
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002c80
test ebp, ebp
jne 0x180002c80
add rbx, 1
cmp rsi, rbx
jne 0x180002c40
jmp 0x180002c84
test ebp, ebp
jne 0x180002c0c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002ca0
jmp 0x180002cb0