joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404350
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov ebx, ecx
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x15e
push 0x28a
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x42
push 0
push 0
push 0
push 0x15e
push 0x28a
push 0
push 0
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [0x45d5f8], 1
jne 0x4043b9
mov ecx, esi
call fcn.004041f0
push 0xcc0020
push 0
push 0
push esi
push 0x15e
push 0x28a
push 0x7f
push 0x19
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 4]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404410
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x44740c]
movdqu xmm0, xmmword [str.ReadMe.txt]
push edi
push 0
push 0x80
push 1
push 0
mov dword [ebp - 0xc], eax
mov ax, word [0x447410]
push 3
mov word [ebp - 8], ax
lea eax, [ebp - 0x1c]
push 0xc0000000
push eax
movdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4044c0
push esi
push 0xa
push 0x7c7
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4044bf
push ebx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x4044be
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4044be
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4044be
push 0
lea ecx, [ebp - 0x20]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0043847c
mov esp, ebp
pop ebp
ret
Function at 0x4044d0
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x44740c]
movdqu xmm0, xmmword [str.ReadMe.txt]
push esi
push 0
push 0x80
push 3
push 0
mov dword [ebp - 0xc], eax
mov ax, word [0x447410]
push 3
mov word [ebp - 8], ax
lea eax, [ebp - 0x1c]
push 0xc0000000
push eax
mov dword [ebp - 0x20], 0
movdqu xmmword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x404547
push 0
lea eax, [ebp - 0x20]
push eax
push 0x2711
push 0x45da10
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, 0xffffffff
je 0x404553
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043847c
mov esp, ebp
pop ebp
ret
Function at 0x404ab0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov eax, ecx
push edi
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
push ebx
mov dword [ebp - 4], ebx
call esi
push ebx
mov edi, eax
call esi
push 0x15e
push 0x28a
push ebx
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
mov dword [ebp - 0xc], eax
call ebx
push dword [0x45d5a0]
mov dword [ebp - 8], eax
push esi
call ebx
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
push 0x42
push 0
push 0
push 0
push 0x15e
push 0x28a
push 0
push 0
push edi
call ebx
cmp dword [0x45d5f8], 1
jne 0x404b33
mov ecx, edi
call fcn.004041f0
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xb49b96
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, str.__Activate_During_Gameplay__
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404b50
sub ecx, edx
sar ecx, 1
push ecx
push str.__Activate_During_Gameplay__
push 0xa
push 0xcd
push edi
call dword [sym.imp.GDI32.dll_TextOutW]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xb49b96
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, str.OPTiON___1______NUMPAD_1___GOD_MODE
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404b90
sub ecx, edx
sar ecx, 1
push ecx
push str.OPTiON___1______NUMPAD_1___GOD_MODE
push 0x23
push 0x8c
push edi
call dword [sym.imp.GDI32.dll_TextOutW]
mov eax, dword [0x45d5c0]
test eax, eax
jne 0x404bda
push 0xee0086
push eax
push eax
push esi
push 0x17
push 0x2a
push 0x145
push 0x12c
push edi
call ebx
mov eax, dword [0x45d5c0]
cmp eax, 1
jne 0x404bfa
push 0xee0086
push 0
push 0
push esi
push 0x17
push 0x2a
push 0x146
push 0x12d
push edi
call ebx
push 0xcc0020
push 0
push 0
push edi
push 0x15e
push 0x28a
push 0x7f
push 0x19
push dword [ebp - 4]
call ebx
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push esi
push esi
call ebx
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push dword [ebp - 8]
push edi
call ebx
push edi
call esi
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404c50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [0x45d5b8]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x404d42
mov eax, dword [0x45d5e0]
test eax, eax
jne 0x404ca8
cmp byte [0x45d5d8], al
jne 0x404d42
push 0x40
push str.Message:_Game_Check
push str.THE_GAME_iS_NOT_RUNNiNG
push dword [0x45d618]
mov byte [0x45d5d8], 1
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [0x45d5d8], 0
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x45d5fc]
push esi
test ecx, ecx
jne 0x404d05
cmp dword [0x45d5b0], ecx
jne 0x404cc5
call fcn.00404d50
mov eax, dword [0x45d5e0]
mov esi, dword [0x45d598]
test esi, esi
je 0x404d41
push eax
push 0
push 0x438
mov byte [ebp - 1], 0xc3
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x404cf1
push eax
lea eax, [ebp - 1]
mov ecx, esi
push eax
call fcn.00403070
call fcn.00402d20
mov dword [0x45d5fc], 1
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, 1
jne 0x404d41
mov esi, dword [0x45d598]
push eax
push 0
push 0x438
mov byte [ebp - 1], 0x55
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x404d32
push eax
lea eax, [ebp - 1]
mov ecx, esi
push eax
call fcn.00403070
call fcn.00402d50
mov dword [0x45d5fc], 0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x405250
Capabilities:
Create directory
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
movdqu xmm0, xmmword [str.ConfigNumpadEdit.ini]
mov eax, dword [0x4475e4]
push esi
movdqu xmmword [ebp - 0x40], xmm0
push edi
movdqu xmm0, xmmword [0x4475cc]
push 0
push str.Config
movdqu xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], eax
movq xmm0, qword [0x4475dc]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x48], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push 0x80
push 1
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x405330
push 0xa
push 0x7ce
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x405330
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x405330
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x405330
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x405330
push 0
lea ecx, [ebp - 0x48]
push ecx
push dword [ebp - 0x44]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043847c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x40d9a0
Capabilities:
Read .ini file

Disassembly:
call fcn.00405350
call fcn.004060b0
call fcn.00406e20
call fcn.00407b90
call fcn.00408900
call fcn.00409670
call fcn.0040a3e0
call fcn.0040b150
call fcn.0040bec0
jmp fcn.0040cc30

Function at 0x4382a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
push edi
push 0x2c
xorps xmm0, xmm0
mov dword [esp + 0x10], 0
lea eax, [esp + 0x30]
movq qword [esp + 0x24], xmm0
push 0
push eax
movdqu xmmword [esp + 0x1c], xmm0
call fcn.0043ae60
mov edi, dword [ebp + 8]
add esp, 0xc
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esp + 0x28], 0x30
mov dword [esp + 0x2c], 8
push 0x7c1
push edi
mov dword [esp + 0x38], 0x437e50
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], edi
call esi
push 0x7f00
push 0
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7c1
push edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 2
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], str.DDSTrainersCPPEngine
call esi
mov dword [esp + 0x54], eax
lea eax, [esp + 0x28]
push eax
mov dword [0x45d5f4], edi
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x43837f
push 0x40
push str.DDSTrainers:_Window_Creation
push str.Window_Class_Could_Not_Be_Registered
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push edi
push 0
push 0
push 0x1f4
push 0x2bc
push 1
call esi
sub eax, 0x1f4
cdq
sub eax, edx
sar eax, 1
push eax
push 0
call esi
sub eax, 0x2bc
cdq
sub eax, edx
sar eax, 1
push eax
push 0x90020000
push str.CH_Trainer
push str.DDSTrainersCPPEngine
push 0x80000
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 2
push pe_nt_image_headers32
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
test esi, esi
jne 0x438402
push 0x40
push str.DDSTrainers:_Window_Creation
push str.The_Window_Could_Not_Be_Created
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, edi
mov dword [0x45d618], esi
mov ecx, esi
call fcn.00403220
push dword [ebp + 0x14]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0xc]
push 0
push 0
push 0
push eax
call esi
test eax, eax
jle 0x438463
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
nop
lea eax, [esp + 0xc]
push eax
call ebx
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x18]
push eax
call esi
test eax, eax
jg 0x438440
push edi
push str.DDSTrainersCPPEngine
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43cd3b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0043a8ed
mov dword [ebp - 0x14], eax
cmp dword [0x45d560], esi
jne 0x43ce2e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x43cdbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x43cf0e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x43cf0e
push 0x446d9c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43cf0e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x45d560], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x45d564], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x45d568], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45d570], eax
test eax, eax
je 0x43ce2b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45d56c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x43ce53
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43ce46
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x43ce68
push 4
pop eax
jmp 0x43cf10
cmp dword [ebp - 0x14], esi
je 0x43ce68
push dword [0x45d560]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x43ce4d
mov eax, dword [0x45d56c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x43cec6
cmp dword [0x45d570], edi
je 0x43cec6
push eax
call ebx
push dword [0x45d570]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x43cec6
test eax, eax
je 0x43cec6
call ecx
test eax, eax
je 0x43cebb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x43cebb
test byte [ebp - 8], 1
jne 0x43cec6
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x43cef6
mov eax, dword [0x45d564]
cmp eax, edi
je 0x43cef3
push eax
call ebx
test eax, eax
je 0x43cef3
call eax
mov esi, eax
test esi, esi
je 0x43cef3
mov eax, dword [0x45d568]
cmp eax, edi
je 0x43cef3
push eax
call ebx
test eax, eax
je 0x43cef3
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x45d560]
call ebx
test eax, eax
je 0x43cf0e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x43cf10
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043847c
mov esp, ebp
pop ebp
ret
Function at 0x100101e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038a55
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10048100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.1000fe00
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10010273
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [edi + 8], 0x38e38e3
je 0x100103d3
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.1001cf80
mov edx, dword [ebp + 0x14]
mov esi, eax
mov ecx, dword [ebx]
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
lea ecx, [esi + 0x10]
push dword [edx]
push dword [eax]
call fcn.10010b80
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1003b2f0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1003b2f0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10010375
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.10026e60
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.1001d790
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x10010357
cmp ebx, 0x200
jae 0x10010355
shl ebx, 3
cmp ebx, ecx
jae 0x10010357
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.10017b40
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1000fe00
mov edx, dword [eax]
jmp 0x10010378
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x100103a3
mov dword [ecx + eax*8], esi
jmp 0x100103b2
cmp edi, edx
jne 0x100103ac
mov dword [ecx + eax*8], esi
jmp 0x100103b6
cmp dword [ecx + eax*8 + 4], ebx
jne 0x100103b6
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.unordered_map_set_too_long
call fcn.1001b935
int3
Function at 0x10010b80
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10048100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x5c], edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x60], edi
mov dword [edi + 0x24], 0
mov dword [edi], vtable.std::_Func_impl_no_alloc_class__lambda_e1f24c1bbf2f5fc8117642e701be0c7e___void__struct_HookParam_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__.0
mov dword [edi + 0x24], edi
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x2c], eax
lea eax, [ebp - 0x40]
push ebx
push eax
mov dword [ebp - 4], 0
call fcn.100198f0
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push str.EMBED_SHARED_MEM
push eax
call fcn.1000f610
add esp, 0x14
cmp dword [eax + 0x14], 7
jbe 0x10010bfb
mov eax, dword [eax]
push eax
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [edi + 0x30], eax
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x10010c47
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10010c3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010d49
push ecx
push edx
call fcn.1001cfb0
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp ecx, 7
jbe 0x10010c99
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10010c8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010d49
push ecx
push edx
call fcn.1001cfb0
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x58]
push ebx
push eax
mov dword [ebp - 0x2c], 7
call fcn.100198f0
add esp, 8
push 0
sub esp, 0x18
mov byte [ebp - 4], 4
mov edx, esp
push eax
push str.LUNA_VNR_HOOKMAN_
push edx
call fcn.1000f610
add esp, 0xc
lea ecx, [edi + 0x34]
call fcn.10010d60
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x10010d12
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10010d08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010d4e
push ecx
push edx
call fcn.1001cfb0
add esp, 8
push 0xa00
push 0
push 0
push 6
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi + 0x28], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001d2d8
mov esp, ebp
pop ebp
ret 8
call fcn.10021fdf
call fcn.10021fdf
int3
Function at 0x100139d0
Capabilities:
Create thread
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038f01
mov eax, dword fs:[0]
push eax
sub esp, 0x524
mov eax, dword [0x10048100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1004a398
mov dword [ebp - 4], 0
mov dword [ebp - 0x2b0], 0x1004a398
mov byte [ebp - 0x2ac], 0
call fcn.1001b9bb
add esp, 4
test eax, eax
jne 0x10013bce
cmp dword [0x1004a3c4], 0x7fffffff
je 0x10013bd5
mov byte [ebp - 0x2ac], 1
mov dword [ebp - 0x2a8], 0x1004a378
movzx eax, byte [ebp + 8]
xor eax, 0x811c9dc5
mov byte [ebp - 4], 1
imul ecx, eax, 0x1000193
movzx eax, byte [ebp + 9]
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x1004a378
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.1000fe00
mov eax, dword [eax + 4]
test eax, eax
je 0x10013b88
cmp eax, dword [0x1004a37c]
je 0x10013b88
cmp dword [ebp + 0x2a8], 0
je 0x10013ad4
lea eax, [ebp + 0x284]
mov ecx, 0x1004a378
push eax
lea eax, [ebp + 8]
push eax
call fcn.100180d0
mov ecx, eax
call fcn.100116c0
lea eax, [ebp + 8]
mov ecx, 0x1004a378
push eax
call fcn.100180d0
mov dword [ebp - 0x530], 2
lea esi, [ebp + 0xc]
mov ecx, 0x9e
mov dword [ebp - 0x298], eax
lea edi, [ebp - 0x528]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xa0
lea esi, [ebp - 0x530]
lea edi, [ebp - 0x290]
rep movsd dword es:[edi], dword [esi]
push 0x288
call fcn.1001cf80
add esp, 4
test eax, eax
je 0x10013b37
mov ecx, 0xa2
lea esi, [ebp - 0x298]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x10013b39
xor eax, eax
mov dword [ebp - 0x2a4], eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 2
push ecx
push 0
push eax
push 0x10010160
push 0
push 0
call fcn.10026dc7
add esp, 0x18
mov dword [ebp - 0x2a0], eax
test eax, eax
je 0x10013bed
mov ecx, dword [ebp - 0x29c]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x10013be6
push ecx
push eax
call fcn.1001cb97
add esp, 8
test eax, eax
jne 0x10013be6
push 0x1004a398
call fcn.1001b9cc
mov ecx, dword [ebp + 0x2a8]
add esp, 4
test ecx, ecx
je 0x10013bb3
mov edx, dword [ecx]
lea eax, [ebp + 0x284]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001d2d8
mov esp, ebp
pop ebp
ret
push 5
call fcn.1001bfa9
push 6
mov dword [0x1004a3c4], 0x7ffffffe
call fcn.1001bfa9
push 1
call fcn.1001bfa9
push 6
mov dword [ebp - 0x29c], 0
call fcn.1001bfa9
int3