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

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x22c8
call fcn.1800c0d70
sub rsp, rax
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x22b0], rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x180025095
xor al, al
jmp 0x18002521e
mov dword [rsp + 0x40], 0x130
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x1800250c3
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x18002521e
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800251f9
lea r9, [rsp + 0x170]
mov r8d, 0x2000
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x1800251ed
mov dword [rsp + 0x24], 0
jmp 0x180025123
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov qword [rsp + 0x38], rax
mov ecx, dword [rsp + 0x170]
xor edx, edx
mov eax, ecx
mov ecx, 8
div rcx
mov rcx, qword [rsp + 0x38]
cmp rcx, rax
jae 0x1800251ed
mov eax, dword [rsp + 0x24]
mov r9d, 0x104
lea r8, [rsp + 0x21a0]
mov rdx, qword [rsp + rax*8 + 0x1a0]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x1800251e8
lea rdx, [rsp + 0x21a0]
lea rcx, [rsp + 0x178]
call fcn.180019fc0
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x22d0]
lea rcx, [rsp + 0x178]
call fcn.18002e5c0
cmp rax, 0xffffffffffffffff
je 0x1800251da
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x178]
call fcn.180019f10
movzx eax, byte [rsp + 0x20]
jmp 0x18002521e
lea rcx, [rsp + 0x178]
call fcn.180019f10
nop
jmp 0x180025119
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1800250c3
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x22b0]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0x22c8
ret
Function at 0x1800261c0
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x278
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov byte [rsp + 0xe0], 0
lea rdx, [rsp + 0xe0]
lea rcx, [0x180026040]
call qword [sym.imp.USER32.dll_EnumWindows]
nop
movzx eax, byte [rsp + 0xe0]
test eax, eax
je 0x18002620f
mov al, 1
jmp 0x180026477
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0xffffffffffffffff
jne 0x180026230
xor al, al
jmp 0x180026477
mov dword [rsp + 0x130], 0x130
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x180026264
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x180026477
lea rdx, [rsp + 0x15c]
lea rcx, [rsp + 0x108]
call fcn.180019fc0
nop
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x108]
call fcn.18002e840
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x108]
call fcn.18002e790
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x108]
call fcn.18002e840
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x68], rax
mov rax, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xb8]
call fcn.180038490
nop
mov rdx, qword [rsp + 0x280]
lea rcx, [rsp + 0xe8]
call fcn.180025d50
nop
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xe8]
call fcn.18002e840
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0xe8]
call fcn.18002e790
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xe8]
call fcn.18002e840
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x98], rax
mov rax, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xd8]
call fcn.180038490
nop
xor r8d, r8d
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x108]
call fcn.18002e5c0
cmp rax, 0xffffffffffffffff
je 0x180026434
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0xe8]
call fcn.180019f10
lea rcx, [rsp + 0x108]
call fcn.180019f10
movzx eax, byte [rsp + 0x30]
jmp 0x180026477
lea rcx, [rsp + 0xe8]
call fcn.180019f10
lea rcx, [rsp + 0x108]
call fcn.180019f10
nop
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180026264
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0x278
ret
Function at 0x180028090
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x290], rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x1800280cf
xor al, al
jmp 0x18002818c
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x18002817f
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x270]
call fcn.180018380
nop
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x2b0]
call fcn.180039820
movzx eax, al
test eax, eax
je 0x180028159
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180028159
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x270]
call fcn.180018310
nop
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1800280ef
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0x2a8
ret
Function at 0x1800281b0
Capabilities:
Delete file
Get file size
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1090
call fcn.1800c0d70
sub rsp, rax
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x1080], rax
mov rcx, qword [rsp + 0x10a0]
call fcn.18001cd00
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x180028223
xor al, al
jmp 0x18002836a
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x180028249
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x18002836a
mov dword [rsp + 0x60], 0
lea rax, [rsp + 0x64]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x60], rax
jge 0x180028329
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov eax, eax
cmp rax, 0x1000
jbe 0x180028297
mov qword [rsp + 0x58], 0x1000
jmp 0x1800282ae
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov eax, eax
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1800282ea
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x68], eax
je 0x1800282f9
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x18002836a
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
nop
jmp 0x180028262
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x10a0]
call fcn.18001cd00
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x180028360
mov byte [rsp + 0x40], 1
jmp 0x180028365
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x1080]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0x1090
pop rdi
ret
Function at 0x180028d50
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0x130
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x180028d9c
xor eax, eax
jmp 0x180028e09
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x180028dfc
mov rcx, qword [rsp + 0x180]
call fcn.1800216a0
mov rdx, rax
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
test eax, eax
jne 0x180028de8
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 0x180028e09
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180028db0
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.1800c00c0
add rsp, 0x178
ret

Function at 0x180028e30
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 qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x180028e72
mov al, 1
jmp 0x180028e74
xor al, al
add rsp, 0x48
ret
Function at 0x18002b6f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x18002b729
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call 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]
jmp 0x18002b818
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x18002b7c0
cmp qword [rsp + 0x20], 0
jle 0x18002b7c0
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x18002b769
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.18001a5d0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rsp + 0x50], 0
jle 0x18002b808
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x18002b808
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x18002b820
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x18002b854
xor eax, eax
jmp 0x18002ba51
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x18002b886
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call 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]
jmp 0x18002ba51
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x18002b938
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.180018780
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.18001a5d0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
nop
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x18002ba41
mov rcx, qword [rsp + 0x80]
call fcn.180030de0
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x18002b9ee
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x18002b9e9
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x18002ba51
jmp 0x18002b964
cmp qword [rsp + 0x50], 0
jbe 0x18002ba41
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0x78
ret
Function at 0x18002d350
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.180031870
nop
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x180030ea0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x180030edd
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x180030ee4
mov al, 1
jmp 0x18003103c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.18002ec00
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.18002ec00
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.1800336d0
movzx eax, al
test eax, eax
je 0x180030f39
xor al, al
jmp 0x18003103c
mov qword [rsp + 0x60], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
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]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x180030fa9
cmp dword [rsp + 0x30], 1
je 0x180030fb5
cmp dword [rsp + 0x30], 3
je 0x18003102a
jmp 0x18003103a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x180031001
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x180031001
xor al, al
jmp 0x18003103c
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x18003101b
mov dword [rsp + 0x34], 1
jmp 0x180031023
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x18003103c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x18003103c
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0xa8
ret
Function at 0x180039870
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x58
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x28]
call fcn.18001f040
nop
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x30]
call fcn.180019240
nop
lea rcx, [rsp + 0x30]
call fcn.1800192b0
movzx eax, al
test eax, eax
je 0x180039909
lea rcx, [rsp + 0x30]
call fcn.1800192f0
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 0x180039909
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.180019310
mov rcx, rax
call fcn.18001ac10
cmp eax, 0xfaba0065
jne 0x180039907
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.180019350
jmp 0x180039920
jmp 0x1800398c1
lea rcx, [rsp + 0x28]
call fcn.18001f060
movzx eax, al
test eax, eax
jne 0x18003988e
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0x58
ret

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

Disassembly:
sub rsp, 0x58
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x28]
call fcn.18001f040
nop
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x30]
call fcn.180019240
nop
lea rcx, [rsp + 0x30]
call fcn.1800192b0
movzx eax, al
test eax, eax
je 0x180039aa9
lea rcx, [rsp + 0x30]
call fcn.1800192f0
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 0x180039aa9
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.180019310
mov rcx, rax
call fcn.18001ac10
cmp eax, 0x2fa62ca8
jne 0x180039aa7
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.180019350
jmp 0x180039ac0
jmp 0x180039a61
lea rcx, [rsp + 0x28]
call fcn.18001f060
movzx eax, al
test eax, eax
jne 0x180039a2e
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0x58
ret
Function at 0x180043310
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.180017490
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.18004f450
lea rax, [0x18004f4b0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.1800191a0
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 0x1800433b3
lea rcx, [rsp + 0x40]
call fcn.18003dfc0
nop
jmp 0x1800433cb
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x40]
call fcn.18004ac50
nop
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0x58
ret

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

Disassembly:
sub rsp, 0x68
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x28]
call fcn.1800193b0
nop
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x38]
call fcn.180019240
nop
lea rcx, [rsp + 0x38]
call fcn.1800192b0
movzx eax, al
test eax, eax
je 0x180043769
lea rcx, [rsp + 0x38]
call fcn.1800192f0
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 0x180043769
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.180019310
mov rcx, rax
call fcn.18001ac10
cmp eax, 0x53b2070f
jne 0x180043767
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.180019350
jmp 0x180043780
jmp 0x180043721
lea rcx, [rsp + 0x28]
call fcn.180019420
movzx eax, al
test eax, eax
jne 0x1800436ee
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0x68
ret