joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436258
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4362d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00435cb8
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x43627d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004358b8
cmp dword [ebp - 4], 0
je 0x4362bf
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004046a8
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4362dc
lea eax, [ebp - 4]
call fcn.004041e8
ret

Function at 0x4392bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x476b90], 0
je 0x43940b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x47545c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43940b
mov eax, dword [0x476b94]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x476b90]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4393da
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x476b90]
call fcn.00418820
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4393d2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4393d2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4393d2
mov eax, dword [ebp - 0x14]
call fcn.00441f54
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4393d2
push ebp
call fcn.00439278
pop ecx
test al, al
jne 0x4393d2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43938e
mov eax, dword [ebp - 0x14]
call fcn.00440a84
dec eax
jle 0x4393d2
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403530
cmp byte [ebp - 1], 0
je 0x4393d2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4393d2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x476b94]
call fcn.00438a44
inc edi
dec ebx
jne 0x439321
mov eax, dword [0x476b94]
cmp dword [eax + 8], 0
jle 0x4393f2
mov eax, dword [0x476b94]
call fcn.00438ad4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43940b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004390e0
pop ecx
test al, al
jne 0x43940b
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c9ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x43ca38
mov eax, esi
call fcn.0045219c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43ca38
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43ca38
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x43cb77
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43ca78
cmp eax, 0x108
ja 0x43ca78
mov eax, esi
call fcn.0045219c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43cb6e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43cb77
jmp 0x43cb6e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43cb57
cmp eax, 0x20a
ja 0x43cb57
test byte [esi + 0x50], 0x80
jne 0x43caaa
sub eax, 0x203
je 0x43caa7
sub eax, 3
je 0x43caa7
sub eax, 3
jne 0x43caaa
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43cabe
dec eax
je 0x43cad3
dec eax
je 0x43caf0
dec eax
je 0x43cad3
jmp 0x43caf7
mov ecx, ebx
mov eax, dword [0x47545c]
mov eax, dword [eax]
mov edx, esi
call fcn.0045b970
jmp 0x43cb6e
cmp byte [esi + 0x5d], 1
jne 0x43cae9
mov eax, esi
mov si, 0xffed
call fcn.00403530
jmp 0x43cb77
or word [esi + 0x54], 1
jmp 0x43cb6e
and word [esi + 0x54], 0xfffe
jmp 0x43cb6e
mov eax, dword [0x476b4c]
cmp byte [eax + 0x20], 0
je 0x43cb6e
mov eax, dword [0x476b4c]
cmp dword [eax + 0x1c], 0
je 0x43cb6e
mov eax, dword [ebx]
mov edx, dword [0x476b4c]
cmp eax, dword [edx + 0x1c]
jne 0x43cb6e
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004520e0
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403530
jmp 0x43cb77
cmp eax, 0xb00b
jne 0x43cb6e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043b30c
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4468cc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x47562c]
cmp byte [eax + 0xc], 0
je 0x446a39
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x446a32
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x476ba0], 0
jne 0x446920
push 0x446a40
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x446a48
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476ba0], eax
cmp dword [0x474c8c], 0
jne 0x446a1b
push 0x446a58
call sub.kernel32.dll_LoadLibraryA
mov dword [0x474c8c], eax
cmp dword [0x474c8c], 0
je 0x446a1b
push 0x446a64
mov eax, dword [0x474c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476ba4], eax
push 0x446a74
mov eax, dword [0x474c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476ba8], eax
push 0x446a88
mov eax, dword [0x474c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476bac], eax
push 0x446aa0
mov eax, dword [0x474c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476bb0], eax
push 0x446ab8
mov eax, dword [0x474c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476bb4], eax
push 0x446acc
mov eax, dword [0x474c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476bb8], eax
push 0x446ae4
mov eax, dword [0x474c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476bbc], eax
push 0x446afc
mov eax, dword [0x474c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476bc0], eax
push 0x446b18
mov eax, dword [0x474c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476bc4], eax
push 0x446b24
mov eax, dword [0x474c8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x476bc8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446a39
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44a8c4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004041e8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44a913
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404458
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x452050
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4520a0]
test si, 4
je 0x452064
or bl, 1
test si, 8
je 0x45206e
or bl, 4
test si, 1
je 0x452078
or bl, 8
test si, 2
je 0x452082
or bl, 0x10
test si, 0x10
je 0x45208c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45209b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x459868
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45987f
add esp, 0xfffffff0
call fcn.00403658
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041edf0
mov eax, dword [0x475398]
cmp word [eax + 2], 0
jne 0x4598a7
mov eax, dword [0x475398]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045af58
mov eax, dword [0x475478]
cmp word [eax + 2], 0
jne 0x4598c1
mov eax, dword [0x475478]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b150
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4161d8]
call fcn.00403304
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4161d8]
call fcn.00403304
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42133c]
call fcn.004286ec
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x459a48
mov eax, dword [0x475284]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428abc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45b700
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x475284]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cd88
test eax, eax
je 0x4599b6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408f2c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cdb0
test eax, eax
je 0x4599ca
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404458
mov eax, dword [0x47511c]
cmp byte [eax], 0
jne 0x4599fe
mov eax, ebx
call fcn.00459b70
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045b8dc
mov eax, ebx
call fcn.0045c2a0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459a3e
call fcn.004036b0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c9c0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404698
mov eax, dword [ebp - 8]
call fcn.00404698
xor eax, eax
push ebp
push 0x45cb38
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.004046a8
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
jne 0x45ca2b
mov ebx, dword [ebp - 0x10]
jmp 0x45cb1d
push 0
push esi
call sub.kernel32.dll_GetFileSize
mov edi, eax
push 0
push 0x80
push 2
push 0
push 3
push 0x10000000
mov eax, dword [ebp - 8]
call fcn.004046a8
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x14], eax
xor ebx, ebx
cmp edi, ebx
jbe 0x45cb0b
lea eax, [ebx + 4]
cmp edi, eax
jb 0x45cb0b
push 0
push 0
push ebx
push esi
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 0x1c]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push esi
call sub.kernel32.dll_ReadFile
add ebx, 5
mov eax, dword [ebp - 0x18]
add eax, ebx
cmp edi, eax
jb 0x45cafc
push 0
push 0
push ebx
push esi
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
push esi
call sub.kernel32.dll_ReadFile
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [0x476cc4]
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
add dword [eax], edx
add ebx, dword [ebp - 0x18]
mov dword [ebp - 0x10], 0xffffffff
jmp 0x45cb03
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x45cb0b
cmp edi, ebx
ja 0x45ca62
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle
push esi
call sub.kernel32.dll_CloseHandle
mov ebx, dword [ebp - 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cb3f
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040420c
ret
Function at 0x46ff4c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404698
xor eax, eax
push ebp
push 0x470022
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, 0x470038
mov edx, dword [ebp - 4]
call fcn.004044f4
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 8]
call fcn.004046a8
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x470001
test dword [ebp - 0x14c], 0x10
jbe 0x46fff0
cmp byte [ebp - 0x120], 0x2e
je 0x46fff0
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404458
push dword [ebp - 4]
push dword [ebp - 0xc]
push 0x470044
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404568
mov eax, dword [esi]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x46ffa6
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470029
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040420c
ret
Function at 0x4090f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x41c626
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00417a60
xor ebx, ebx
mov eax, 1
lea ecx, [esi + 0x1ad0]
mov dword [esp + 0x18], ebx
mov byte [esi + 4], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x20], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x44], bl
mov byte [esi + 0x45], bl
mov byte [esi + 0x46], bl
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x240], ebx
mov dword [esi + 0x244], ebx
call fcn.0040ee20
mov edi, dword [sym.imp.ui2.dll_public:_static_void___cdecl_uiSubsystem::s_registerWidget_char_const___class_uiWidget_____cdecl___void__]
mov dword [esi + 0x1b64], ebx
mov dword [esi + 0x1b68], ebx
mov dword [esi], 0x41d68c
mov eax, dword [sym.imp.ui2.dll_bool_uiWidget::s_dynamicLoading]
push 0x409320
push str.uiGameLevel
mov byte [esp + 0x20], 1
mov byte [eax], 1
call edi
push 0x409390
push str.uiPlayerBase
call edi
push 0x4092a0
push str.uiBullet
call edi
push 0x409400
push str.uiProgressBar_Giza
call edi
push 0x409470
push str.uiProfileListbox
call edi
push 0x4094e0
push str.uiStageMap
call edi
push 0x409550
push str.uiGamePiece_Collapse
call edi
mov ecx, 0x1c
xor eax, eax
lea edi, [esi + 0x64]
add esp, 0x38
rep stosd dword es:[edi], eax
lea edx, [esi + 0xd4]
xor ecx, ecx
lea edi, [esi + 0xdc]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov ecx, 0xf
rep stosd dword es:[edi], eax
mov ecx, 0x2d
lea edi, [esi + 0x118]
rep stosd dword es:[edi], eax
mov ecx, 0x17
lea edi, [esi + 0x1d8]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x1cc]
lea edx, [esi + 0x234]
lea edi, [esi + 0x248]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
lea ecx, [esi + 0x238]
mov dword [edx], ebx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov ecx, 0x1f4
rep stosd dword es:[edi], eax
mov ecx, 0x32
lea edi, [esi + 0xa18]
rep stosd dword es:[edi], eax
mov ecx, 0x1f4
lea edi, [esi + 0xae0]
rep stosd dword es:[edi], eax
mov ecx, 0x14
lea edi, [esi + 0x12b0]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40f380
Capabilities:
Check mutex on windows

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push ebp
mov ebp, dword [sym.imp.core.dll_public:_void____thiscall_MemoryMgr::alloc_int__unsigned_int__char_const___unsigned_int_]
push esi
push edi
xor edi, edi
mov eax, dword [sym.imp.core.dll_class_MemoryMgr__g_MemoryPtr]
push 0x33
push str.mutex.cpp
push 8
mov ecx, dword [eax]
push 0
call ebp
mov esi, eax
test esi, esi
je 0x40f3c4
mov eax, dword [edi + 0x425de8]
mov dword [esi], 0x41d82c
push eax
push 0
push 0
call ebx
mov dword [esi + 4], eax
jmp 0x40f3c6
xor esi, esi
test esi, esi
mov dword [edi + 0x4289c0], esi
je 0x40f414
add edi, 4
cmp edi, 0x14
jl 0x40f392
mov eax, dword [0x4289c0]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [eax + 4]
test eax, eax
je 0x40f430
push 0
push eax
call esi
test eax, eax
je 0x40f430
mov esi, dword [sym.imp.core.dll_char_const____cdecl_Platform::GetAppTitle_void_]
call esi
push eax
push str._s_is_already_running.
call esi
push eax
call dword [sym.imp.core.dll_void___cdecl_Platform::MessageBoxA_char_const___char_const__]
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebp
pop ebx
ret
push str.Failed_to_initialize_application.
call dword [sym.imp.core.dll_char_const____cdecl_Platform::GetAppTitle_void_]
push eax
call dword [sym.imp.core.dll_void___cdecl_Platform::MessageBoxA_char_const___char_const__]
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [0x4289c8]
mov eax, dword [eax + 4]
test eax, eax
je 0x40f441
push 0xffffffffffffffff
push eax
call esi
mov eax, dword [0x4289cc]
mov eax, dword [eax + 4]
test eax, eax
je 0x40f452
push 0xffffffffffffffff
push eax
call esi
mov eax, dword [0x4289d0]
mov eax, dword [eax + 4]
test eax, eax
je 0x40f463
push 0xffffffffffffffff
push eax
call esi
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret
Function at 0x4173b0
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x124]
test ecx, ecx
je 0x4173cc
mov eax, dword [ecx]
push 1
call dword [eax + 8]
call dword [sym.imp.core.dll_bool___cdecl_Unload3dSoundAPI_void_]
mov eax, dword [esi + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
lea edi, [eax + 0x1004]
add eax, 4
push eax
push 0x1000
push edi
push str.snd3d_fmod.dll
push str.SoundAPI
push ecx
call ebx
test eax, eax
jne 0x417401
mov edi, 0x4288d8
push edi
call dword [sym.imp.core.dll_bool___cdecl_Load3dSoundAPI_char_const__]
add esp, 4
test al, al
jne 0x417455
mov esi, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov esi, dword [esi + 4]
lea edi, [esi + 0x1004]
add esi, 4
push esi
push 0x1000
push edi
push str.snd3d_fmod.dll
push str.SoundAPI
push eax
call ebx
test eax, eax
jne 0x41743e
mov edi, 0x4288d8
push edi
push str.Failed_to_load_sound_API:_CFFFF00_sc_f
push 2
call dword [sym.imp.logger.dll_public:_static_void___cdecl_udLogger::log_int__char_const__]
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
ret
mov ecx, dword [sym.imp.core.dll_class_snd3dSubsystem_____stdcall___void__sndCreateSnd3dSubsystem]
call dword [ecx]
test eax, eax
mov dword [esi + 0x124], eax
je 0x41748f
call dword [sym.imp.core.dll_struct_HWND______cdecl_Platform::GetWindow_void_]
mov dl, byte [0x428a9c]
mov ecx, dword [esi + 0x124]
push edx
push eax
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.snd3d.dll_public:_int___thiscall_snd3dSubsystem::initialize_class_Preferences___struct_HWND_____bool_]
test eax, eax
jne 0x41748f
pop edi
pop esi
xor al, al
pop ebx
ret
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x4175c0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x104
push esi
mov esi, ecx
mov ecx, dword [esi + 0x12c]
test ecx, ecx
je 0x4175d9
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
test eax, eax
mov dword [esi + 0x12c], eax
jne 0x417604
push str.initGame:_out_of_memory_f
push 2
call dword [sym.imp.logger.dll_public:_static_void___cdecl_udLogger::log_int__char_const__]
add esp, 8
xor al, al
pop esi
add esp, 0x104
ret
push ebx
push ebp
push edi
mov edi, dword [esi]
mov ecx, esi
call dword [edi + 0xc]
push eax
mov ecx, esi
call dword [edi + 4]
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
lea ebp, [eax + 0x1004]
add eax, 4
push eax
push 0x1000
push ebp
push str.english
push str.Language
push ecx
call edi
test eax, eax
jne 0x417649
mov ebp, 0x4288d8
mov ecx, dword [esi + 0x12c]
push ebp
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
push eax
push str._s__s.mjz
lea ecx, [esp + 0x1c]
push 0x104
push ecx
call ebx
lea edx, [esp + 0x24]
mov byte [esp + 0x127], 0
push edx
call dword [sym.imp.file.dll_int___cdecl_File::loadArchive_char_const__]
add esp, 0x18
test eax, eax
jne 0x4176d8
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
lea ebp, [eax + 0x1004]
add eax, 4
push eax
push 0x1000
push ebp
push str.english
push str.Language
push ecx
call edi
test eax, eax
jne 0x4176b6
mov ebp, 0x4288d8
push ebp
push str.locale__s
lea eax, [esp + 0x18]
push 0x104
push eax
call ebx
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.core.dll_public:_static_void___cdecl_StringTable::s_setLocalePath_char_const__]
add esp, 0x14
jmp 0x417722
call dword [sym.imp.file.dll_void___cdecl_File::registerThread_void_]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
lea ebp, [eax + 0x1004]
add eax, 4
push eax
push 0x1000
push ebp
push str.english
push str.Language
push ecx
call edi
test eax, eax
jne 0x41770d
mov ebp, 0x4288d8
push ebp
push 0x423450
lea edx, [esp + 0x18]
push 0x104
push edx
call ebx
add esp, 0x10
lea eax, [esp + 0x10]
mov byte [esp + 0x113], 0
push eax
call dword [sym.imp.file.dll_void___cdecl_File::setLocalePath_char_const__]
mov eax, dword [esi + 0x10]
add esp, 4
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
lea ebx, [eax + 0x1004]
add eax, 4
push eax
push 0x1000
push ebx
push str.english
push str.Language
push ecx
call edi
test eax, eax
jne 0x417767
mov ebx, 0x4288d8
push ebx
lea ecx, [esi + 0x14]
call dword [sym.imp.core.dll_public:_bool___thiscall_StringTable::setLanguage_char_const__]
mov ecx, dword [esi + 0x12c]
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
pop ebp
test al, al
pop ebx
pop esi
setne al
add esp, 0x104
ret

Function at 0x417950
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
add eax, 4
push eax
push 0
push str.ShowLink
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
setne al
ret