joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140065068
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x140065089
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x14006510d
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x1400650d8
mov dword [rsp + 4], 0x9908b0df
jmp 0x1400650e0
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14006507c
add rsp, 0x18
ret

Function at 0x1400696a4
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov rax, qword [0x14009ab40]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x130]
call qword [rax + 8]
movzx eax, al
test eax, eax
jne 0x1400696f8
mov eax, 0xffffffff
jmp 0x140069829
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x130]
add rax, 0x3a0
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call fcn.14004a680
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x148]
mov r8d, dword [rsp + 0x140]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.14006a7a0
mov rcx, qword [rsp + 0x130]
add rcx, 0x48
mov rdx, rax
call fcn.14004eb00
mov rax, qword [rsp + 0x130]
add rax, 0x48
mov rcx, rax
call fcn.14004f49c
cmp rax, 0xffffffffffffffff
jne 0x140069789
mov eax, 0xffffffff
jmp 0x140069829
cmp dword [rsp + 0x140], 0
jne 0x140069822
mov dword [rsp + 0x30], 0x80
mov rax, qword [rsp + 0x130]
add rax, 0x48
mov rcx, rax
call fcn.14004f49c
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x1400697d5
mov eax, 0xffffffff
jmp 0x140069829
movzx eax, word [rsp + 0x90]
cmp eax, 2
jne 0x1400697f7
movzx ecx, word [rsp + 0x92]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
jmp 0x140069829
movzx eax, word [rsp + 0x90]
cmp eax, 0x17
jne 0x140069819
movzx ecx, word [rsp + 0x92]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
jmp 0x140069829
mov eax, 0xffffffff
jmp 0x140069829
mov eax, dword [rsp + 0x140]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.14007dac0
add rsp, 0x128
ret
Function at 0x14006d094
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x14009ab40]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14006d123
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14006d110
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
mov dword [0x1400a20f8], eax
mov eax, dword [rsp + 0x38]
jmp 0x14006d130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14006d0de
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14007dac0
add rsp, 0x178
ret

Function at 0x14006d50c
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x470
mov rax, qword [0x14009ab40]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rax, qword [rsp + 0x480]
movzx eax, word [rax]
cmp eax, 2
jne 0x14006d56a
mov rax, qword [rsp + 0x480]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov rcx, qword [rsp + 0x498]
mov dword [rcx], eax
jmp 0x14006d5a2
mov rax, qword [rsp + 0x480]
movzx eax, word [rax]
cmp eax, 0x17
jne 0x14006d59b
mov rax, qword [rsp + 0x480]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov rcx, qword [rsp + 0x498]
mov dword [rcx], eax
jmp 0x14006d5a2
xor al, al
jmp 0x14006d62c
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x401
rep stosb byte [rdi], al
lea rcx, [rsp + 0x50]
call fcn.1400769e4
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x50]
call fcn.140034074
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0x488]
mov rcx, qword [rsp + 0x480]
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x14006d610
xor al, al
jmp 0x14006d62c
lea rcx, [rsp + 0x50]
call fcn.140034074
mov rdx, rax
mov rcx, qword [rsp + 0x490]
call fcn.14004ec60
mov al, 1
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14007dac0
add rsp, 0x470
pop rdi
ret

Function at 0x14006d678
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x14009ab40]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x20], 0x80
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x14006d6e2
mov r9, qword [rsp + 0xe0]
mov r8, qword [rsp + 0xd8]
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14006d50c
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14007dac0
add rsp, 0xc8
ret
Function at 0x1400701c8
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rax, qword [0x14009ab40]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x80]
call fcn.14006a300
lea rcx, [rsp + 0x48]
call fcn.14004a3f0
nop
mov qword [rsp + 0x38], 0
jmp 0x140070216
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x88]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
cmp qword [rsp + 0x38], rax
jae 0x140070250
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
movsx ax, byte [rax]
movzx edx, ax
lea rcx, [rsp + 0x48]
call fcn.14005352c
jmp 0x140070209
lea rcx, [rsp + 0x48]
call fcn.140069d94
mov qword [rsp + 0x20], 0
mov r9d, 3
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFile2]
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0xffffffffffffffff
jne 0x1400702ae
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x48]
call fcn.14004d828
mov al, byte [rsp + 0x30]
jmp 0x1400703da
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rdx, [rsp + 0x40]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1400702f1
mov byte [rsp + 0x31], 0
lea rcx, [rsp + 0x48]
call fcn.14004d828
mov al, byte [rsp + 0x31]
jmp 0x1400703da
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x10]
mov r8d, 2
xor edx, edx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingFromApp]
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 8], 0
jne 0x14007036d
mov rcx, qword [rsp + 0x80]
call fcn.14006a300
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0x48]
call fcn.14004d828
mov al, byte [rsp + 0x32]
jmp 0x1400703da
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFileFromApp]
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x18], 0
jne 0x1400703c7
mov rcx, qword [rsp + 0x80]
call fcn.14006a300
mov byte [rsp + 0x33], 0
lea rcx, [rsp + 0x48]
call fcn.14004d828
mov al, byte [rsp + 0x33]
jmp 0x1400703da
mov byte [rsp + 0x34], 1
lea rcx, [rsp + 0x48]
call fcn.14004d828
mov al, byte [rsp + 0x34]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14007dac0
add rsp, 0x70
pop rdi
ret
Function at 0x14007b7e8
Capabilities:
Create thread
Hide graphical window

Disassembly:
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140059e0c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xa0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x88], 0
lea rax, [0x14005a3d4]
mov qword [rsp + 0x78], rax
lea rax, [0x1400880c8]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x70], 3
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x14007b8a0
lea rdx, str._n_n_Notepad
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140032cb8
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x60], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000000
xor r8d, r8d
lea rdx, str.Notepad
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x1400a2708], rax
mov edx, 5
mov rcx, qword [0x1400a2708]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x1400880b8]
mov rcx, qword [0x1400a2708]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x1400a2708]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1400a2708]
call qword [sym.imp.USER32.dll_UpdateWindow]
add rsp, 0xc0
pop rdi
ret
Function at 0x14007d190
Capabilities:
Create thread
Set console window title

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x560
mov rax, qword [0x14009ab40]
xor rax, rsp
mov qword [rsp + 0x550], rax
lea rcx, [rsp + 0x120]
call fcn.14004bcf4
nop
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x40], rax
call fcn.14006cfac
movzx eax, al
test eax, eax
jne 0x14007d1f0
lea rdx, str.driver_is_not_loaded_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140032cb8
call fcn.140058330
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400590d4]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 0x1e
lea rcx, [rsp + 0x100]
call fcn.140072c00
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140069d78
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, [rsp + 0x100]
call fcn.14004d800
mov dx, 3
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp qword [0x1400a20a8], 0
jne 0x14007d2aa
lea rdx, str.Fortnite
lea rcx, [rsp + 0xd0]
call fcn.140048a78
lea rcx, [rsp + 0xd0]
call fcn.14006ae60
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x1400a20a8], rax
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14007d260
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x78]
call fcn.140046398
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140031ad8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.14006af58
nop
lea rcx, [rsp + 0x80]
call fcn.14004e8c8
lea rdx, str.Server_is_started.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140032cb8
movzx eax, byte [0x1400a1ea4]
test eax, eax
jne 0x14007d3bb
lea rdx, str._n_waiting.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140032cb8
lea rax, [rsp + 0x90]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.140031ec4
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea rdx, str._load
lea rcx, [rsp + 0xe0]
call fcn.14004a0f4
nop
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x120]
call fcn.140057d98
nop
lea rcx, [rsp + 0xe0]
call fcn.14004d800
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14007d306
xor eax, eax
cmp eax, 1
je 0x14007d3c4
jmp 0x14007d3bb
lea rcx, [rsp + 0x120]
call fcn.14004e260
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.14007dac0
add rsp, 0x560
pop rdi
ret
Function at 0x14007e1c8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007e212
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007e212
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007e212
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007e212
cmp dword [rcx + 0x84], 0xe
jbe 0x14007e212
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14007e214
xor al, al
add rsp, 0x28
ret
Function at 0x1800021d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x180131040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r12, qword [rsp + 0xd0]
lea r8, [rsp + 0x38]
xor esi, esi
mov qword [rsp + 0x50], 0x1000
mov rbx, rdx
mov r15, rcx
mov edx, 0x1000
mov rcx, r12
mov r14d, esi
lea r9d, [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov ebp, 0x1000
movabs r13, 0x90000001000
mov r9d, 0x30
lea r8, [rsp + 0x38]
mov rdx, rbp
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x180002369
cmp dword [rsp + 0x58], 0x1000
jne 0x180002369
cmp dword [rsp + 0x5c], 0x40
jne 0x180002369
mov rcx, r14
call fcn.18004b3ec
mov rcx, qword [rsp + 0x50]
call fcn.18004b610
mov r8, qword [rsp + 0x50]
mov r14, rax
mov rdx, qword [rsp + 0x38]
lea rax, [rsp + 0x70]
mov r9d, 0x40
mov qword [rsp + 0x20], rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x180002369
mov r9, qword [rsp + 0x50]
lea rax, [rsp + 0x68]
mov rdx, qword [rsp + 0x38]
mov r8, r14
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r9d, dword [rsp + 0x70]
lea rax, [rsp + 0x70]
mov r8, qword [rsp + 0x50]
mov rcx, r12
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], sil
jne 0x180002302
mov rdi, qword [rsp + 0x68]
test rdi, rdi
jle 0x180002369
mov r10, r14
mov edx, esi
sub r10, rbx
mov r11d, esi
test r8, r8
jle 0x18000235d
nop word [rax + rax]
mov r9, r15
mov rax, rbx
sub r9, rbx
nop dword [rax]
cmp byte [rax], 0x3f
je 0x180002350
movzx ecx, byte [r10 + rax]
cmp byte [r9 + rax], cl
jne 0x180002379
inc edx
inc rax
movsxd rcx, edx
cmp rcx, r8
jl 0x180002340
movsxd rcx, r11d
lea rax, [rcx + r14]
test rax, rax
jne 0x18000238b
add rbp, qword [rsp + 0x50]
cmp rbp, r13
jb 0x180002240
jmp 0x18000238f
inc r11d
inc r10
movsxd rax, r11d
cmp rax, rdi
jge 0x180002369
mov edx, esi
jmp 0x180002330
lea rsi, [rcx + rbp]
mov rcx, r14
call fcn.18004b3ec
mov rax, rsi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18004b020
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1800077a0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800077c8
xor eax, eax
lea r8, [0x180007670]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x1800090a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1800090fd
lea rbx, [0x18011d9b0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800090e4
cmp r10, 2
jb 0x1800090e4
cmp byte [r9], r8b
jne 0x1800090e4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1800090c0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000913f
lea rbx, [0x18011d9b0]
cmp r8b, 0x23
jne 0x180009123
cmp byte [r9], r8b
jne 0x180009123
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180009110
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180009300
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x18000932f
mov r8d, 0x600
lea rdx, str.C:UsersexpomOneDrivePulpitALL_SRC_src_sgownoelo123libsimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x18000933b
mov qword [rdi], 0
lea rdx, [0x180124a28]
mov rcx, rbx
call fcn.180009150
mov rbx, rax
test rax, rax
jne 0x18000935d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x180009434
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180009434
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x180009434
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180009434
cmp rsi, 0xffffffffffffffff
je 0x180009434
mov rax, qword [0x18013e358]
test rax, rax
je 0x1800093d1
inc dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x180009434
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x180009421
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18013e358]
test rax, rax
je 0x180009416
dec dword [rax + 0x3b4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000943d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x18000942f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x18000943f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18000b920
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc8], 0
mov rbx, rcx
mov edi, edx
jg 0x18000b956
mov r8d, 0x675
lea rdx, str.C:UsersexpomOneDrivePulpitALL_SRC_src_sgownoelo123libsimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0xc8]
mov rax, qword [rbx + 0xd0]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x18011d9b0]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x18013e358]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1b30], edx
jne 0x18000b9d0
mov dword [rax + 0x1b34], edx
cmp dword [rax + 0x1b70], edx
jne 0x18000b9df
mov byte [rax + 0x1b74], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret
Function at 0x18000b9f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc8], 0
mov rdi, rdx
mov rbx, rcx
jg 0x18000ba23
mov r8d, 0x675
lea rdx, str.C:UsersexpomOneDrivePulpitALL_SRC_src_sgownoelo123libsimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [rbx + 0xc8]
mov rax, qword [rbx + 0xd0]
movss xmm0, dword [rdi]
subss xmm0, dword [rbx + 0x10]
movss xmm1, dword [rdi + 4]
subss xmm1, dword [rbx + 0x14]
cvttss2si r8d, xmm0
movss xmm0, dword [rdi + 8]
subss xmm0, dword [rbx + 0x10]
cvttss2si r9d, xmm1
movss xmm1, dword [rdi + 0xc]
lea rdi, [0x18011d9b0]
subss xmm1, dword [rbx + 0x14]
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, r8b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
cvttss2si r10d, xmm0
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
movzx eax, r9b
cvttss2si r11d, xmm1
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
movzx eax, r10b
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
xor ebx, dword [rdi + rdx*4]
shr eax, 0x10
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
movzx eax, r11b
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r11d
shr eax, 8
movzx edx, al
mov eax, r11d
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x18013e358]
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r11d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [rdi + rdx*4]
not ebx
cmp dword [rax + 0x1b30], ebx
jne 0x18000bbc4
mov dword [rax + 0x1b34], ebx
cmp dword [rax + 0x1b70], ebx
jne 0x18000bbd3
mov byte [rax + 0x1b74], 1
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret