joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18005b3c0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov ebp, r8d
mov qword [rcx], 0
mov r14d, edx
mov qword [rcx + 8], 0
mov rdi, rcx
call fcn.18005b250
test eax, eax
jne 0x18005b407
mov eax, 9
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rdi], 0
je 0x18005b47e
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x18005b466
mov qword [rsp + 0x38], rsi
nop
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18005b45a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.18005b0a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x18005b420
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rbp, qword [rsp + 0x40]
xor eax, eax
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x18005b4a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1800bc040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1800e5f50]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18005b513
mov eax, 0xa
jmp 0x18005b5a6
test esi, esi
je 0x18005b535
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 0x18005b558
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18005b558
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18005b551
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18005b558
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18007ba50
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x18005b5d0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x1800e5f5c]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x18005b617
mov rax, qword [0x1800e5f50]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x18005b624
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x18005b600
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x18005b617
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.18005b3c0
mov edi, eax
test eax, eax
jne 0x18005b70d
mov r9d, dword [0x1800e5f5c]
cmp ebx, r9d
jae 0x18005b69c
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x1800e5f50]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x18005b695
mov edx, esi
mov ecx, ebx
call fcn.18005b4a0
mov edi, eax
test eax, eax
jne 0x18005b69c
mov r9d, dword [0x1800e5f5c]
inc ebx
cmp ebx, r9d
jb 0x18005b660
cmp qword [rsp + 0x20], 0
je 0x18005b70b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18005b6f7
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18005b6e8
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 0x18005b6c0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800e5520]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x18005baa0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x1800e530c], ebp
je 0x18005baf7
cmp rbx, 0x20
jae 0x18005bae0
xor ecx, ecx
jmp 0x18005bae2
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800e530c], ebp
jne 0x18005bad6
cmp qword [0x1800e5520], r15
je 0x18005bbf1
test rdi, rdi
jne 0x18005bb17
mov ecx, esi
call fcn.18005b5d0
mov edi, eax
jmp 0x18005bbf6
mov ecx, dword [0x1800e5f5c]
mov ebx, r15d
test ecx, ecx
je 0x18005bb3f
mov rdx, qword [0x1800e5f50]
mov rax, rdx
nop
cmp rdi, qword [rax]
je 0x18005bb49
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18005bb30
mov edi, 4
jmp 0x18005bbf6
cmp ebx, 0xffffffff
je 0x18005bb3f
mov eax, ebx
imul rcx, rax, 0x38
movzx eax, byte [rcx + rdx + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x18005bbe8
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18005b3c0
mov edi, eax
test eax, eax
jne 0x18005bbf6
mov edx, esi
mov ecx, ebx
call fcn.18005b4a0
mov edi, eax
cmp qword [rsp + 0x20], r15
je 0x18005bbf6
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18005bbd2
mov rbx, qword [rsp + 0x20]
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18005bbc8
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 0x18005bba0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800e5520]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18005bbf6
neg esi
sbb edi, edi
add edi, 6
jmp 0x18005bbf6
mov edi, 2
xchg dword [0x1800e530c], r15d
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, 0x30
pop r15
ret
Function at 0x1800601f0
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
sub rsp, 0xe8
mov rax, qword [0x1800bc040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov ecx, dword [0x1800e3e9c]
cmp dword [0x1800e5528], ecx
cmovg ecx, dword [0x1800e5528]
test ecx, ecx
js 0x18006023b
lea r9, str.GetProcessWindow_called...
mov r8d, 0x5f
lea rdx, str.C:UsersTOTOMAN2_source_reposMetroExodus_EE_QolsModImGuiutilsutils.cpp
xor ecx, ecx
call fcn.180064a50
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], 0
lea rcx, [0x180060160]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x1800603a5
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0xf8], rbp
movabs rbp, 0x7fffffffffffffff
mov qword [rsp + 0x100], rsi
movabs rsi, 0x431bde82d7b634db
mov qword [rsp + 0x108], rdi
movabs rdi, 0x4e94914effff
mov qword [rsp + 0xe0], r14
movabs r14, 0x7ffffffff4143dfe
lea rdx, [rsp + 0x40]
lea rcx, [0x180060160]
call qword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [0x1800e3e9c]
cmp dword [0x1800e5528], ecx
cmovg ecx, dword [0x1800e5528]
test ecx, ecx
js 0x1800602f8
lea r9, str.____Waiting_for_window_to_appear._n
mov r8d, reloc.d3d12.dll_Ordinal_101
lea rdx, str.C:UsersTOTOMAN2_source_reposMetroExodus_EE_QolsModImGuiutilsutils.cpp
xor ecx, ecx
call fcn.180064a50
lea rcx, [rsp + 0x30]
call fcn.18005d550
mov rax, qword [rsp + 0x30]
lea rbx, [rax + 0xbebc200]
cmp rax, r14
jle 0x180060316
mov rbx, rbp
lea rcx, [rsp + 0x38]
call fcn.18005d550
mov rax, qword [rsp + 0x38]
cmp rbx, rax
je 0x18006036f
jl 0x18006036f
mov rcx, rbx
sub rcx, rax
cmp rcx, rdi
jg 0x180060363
mov rax, rsi
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0xf4240
cmp rax, rcx
jge 0x18006035a
inc rdx
mov ecx, edx
call sub.KERNEL32.dll_Sleep
jmp 0x180060316
mov ecx, 0x5265c00
call sub.KERNEL32.dll_Sleep
jmp 0x180060316
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1800602b4
mov r14, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0x108]
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0xf0]
mov r8d, 0x80
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [0x1800e3e9c]
cmp dword [0x1800e5528], ecx
cmovg ecx, dword [0x1800e5528]
test ecx, ecx
js 0x1800603f2
lea rax, [rsp + 0x50]
mov r8d, 0x6b
lea r9, str.Got_window_with_name:__s_n
mov qword [rsp + 0x20], rax
lea rdx, str.C:UsersTOTOMAN2_source_reposMetroExodus_EE_QolsModImGuiutilsutils.cpp
xor ecx, ecx
call fcn.180064a50
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.18007ba50
add rsp, 0xe8
ret
Function at 0x180060e30
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x180060e58
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x180060e7e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180060e80
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180060ed9
test ecx, ecx
jle 0x180060eb9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x180060ed9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180060ed9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x180060f00
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180060f22
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x180060f38
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180060f54
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180060f56
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180060f92
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18006102e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x180060fcd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x18006100e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x18006102e
cmp rbx, rax
ja 0x180060fe0
test rbx, rbx
je 0x18006102e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x180061490
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1800bc040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1800614bd
xor eax, eax
jmp 0x180061629
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1800614f7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1800614f7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x180061629
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18006161c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18006153a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x180061565
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x180061621
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1800615d4
sub eax, 1
je 0x1800615d4
cmp eax, 2
jne 0x18006161c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x180061621
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180061602
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x18006161c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x180061621
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18007ba50
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180062190
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800bc040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180062263
cmp byte [rcx + 0x71], 0
je 0x180062263
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18006225f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180062224
sub eax, 1
je 0x180062228
cmp eax, 2
jne 0x18006225f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18007ba50
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180062256
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x18006225f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18006220c
xor al, al
jmp 0x18006220c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18007ba50
add rsp, 0x60
pop rbx
ret
Function at 0x180072fa0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x180072fd5
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.18006c9a0
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x180073116
mov qword [rsp + 0x50], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rbx
xor r9, rdx
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x180073090
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180073105
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1800730cd
mov r10, qword [rdx]
cmp r10, rax
je 0x1800730c7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180073105
cmp r9, rdx
je 0x1800730e1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180073127
cmp r9, rdx
jne 0x1800730d2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rdi
jne 0x180073040
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180073105
Function at 0x18007b848
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18007b882
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18007b887
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18007b8d0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180081ba0]
cmp byte [rcx + rax], 0
je 0x18007b8d0
dec r8
sub rdx, 1
jne 0x18007b8b6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140003970
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400039b5
xor ecx, ecx
call fcn.14000ed8c
add rsp, 0x48
ret

Function at 0x140003b20
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Resume thread
Use process replacement

Disassembly:
push rdi
sub rsp, 0x150
call fcn.14000edc0
cmp dword [rax], 1
je 0x140003b46
lea rcx, str.This_program_does_not_accept_any_arguments._n
call fcn.140007a00
xor eax, eax
jmp 0x140003d3e
call fcn.1400039e0
mov dword [rsp + 0x70], eax
call fcn.140003a90
call fcn.1400039c0
call fcn.140003970
mov dword [rsp + 0x74], 4
mov dword [rsp + 0x78], 0x1000
mov dword [rsp + 0x7c], 0x40
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.C:WindowsHelpPane.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x60], rax
lea rdx, [0x140030c18]
lea rcx, [rsp + 0xa8]
call fcn.140003750
nop
lea rcx, [rsp + 0xa8]
call fcn.140007910
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xa8]
call fcn.140007910
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0xa8]
call fcn.1400071b0
lea rcx, [rsp + 0xd8]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x80]
mov r9, rcx
mov r8, rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x98], rax
lea rax, str.QueueUserAPC
mov qword [rsp + 0x88], rax
lea rcx, [0x140023fe8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, qword [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa0], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x98]
call qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0xa8]
call fcn.140006460
mov eax, dword [rsp + 0x50]
add rsp, 0x150
pop rdi
ret
Function at 0x140008754
Capabilities:
Parse pe header

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

Function at 0x14000ed8c
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 0x14000ebeb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ebeb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ebeb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ebeb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ebeb
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ebeb
cmp dword [rcx + 0xf8], 0
je 0x14000ebeb
mov ecx, ebx
call fcn.14000eca8
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.14000ea78
nop
cmp dword [rbp + 0x20], 0
je 0x14000ec39
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000ec44
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000eb7c