joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a4fb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdbd7
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6229a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004a3ea0
push 0x324
call fcn.0059b742
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4a5002
push esi
mov ecx, eax
call fcn.0048d7c0
mov ecx, eax
jmp 0x4a5004
xor ecx, ecx
push dword [esi + 0xac]
mov dword [esi + 0x6f0], ecx
push dword [esi + 0xa8]
mov eax, dword [ecx]
push 0
push 0
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0xa0]
mov ecx, dword [esi + 0x308]
push dword [esi + 0x6f0]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esi + 0x308]
push dword [esi + 0x6f0]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [esi + 0x308]
push dword [esi + 0x6f0]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a6760
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cddb7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6229a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004a3ea0
mov edx, dword [esi + 0x704]
test edx, edx
je 0x4a67b2
mov ecx, dword [esi + 0x308]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x704]
call dword [eax + 0x88]
push 0xd8
mov dword [esi + 0x76c], 1
call fcn.0059b742
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4a67e3
push esi
mov ecx, eax
call fcn.004a0250
mov ecx, eax
jmp 0x4a67e5
xor ecx, ecx
push dword [esi + 0xac]
mov dword [esi + 0x704], ecx
push dword [esi + 0xa8]
mov eax, dword [ecx]
push 0
push 0
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0xa0]
mov ecx, dword [esi + 0x308]
push dword [esi + 0x704]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esi + 0x308]
push dword [esi + 0x704]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [esi + 0x308]
push dword [esi + 0x704]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a6aa0
Capabilities:
Hide graphical window
Print debug messages

Disassembly:
cmp byte [ecx + 0x4d9], 0
je method.Sexy::SexyAppBase.1.virtual_192
ret
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x6229a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp byte [ebx + 0x321], 0
jne 0x54ba2b
call fcn.0054ba40
cmp byte [ebx + 0x4d4], 0
je 0x54b878
mov ecx, ebx
call fcn.0054ba80
push esi
push edi
push 5
push dword [ebx + 0x344]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 0x344]
call dword [sym.imp.USER32.dll_SetFocus]
push 1
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
mov edx, dword [ebx]
mov edi, eax
mov ecx, ebx
mov byte [ebx + 0x4a9], 1
mov dword [ebx + 0x454], edi
mov dword [ebx + 0x458], edi
mov dword [ebx + 0x3f4], edi
call dword [edx + 0x178]
mov ecx, ebx
call fcn.00547620
mov ecx, ebx
mov byte [ebx + 0x4a9], 0
call fcn.0054c550
call esi
sub eax, edi
sub esp, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5d9850]
lea eax, [ebp - 0x104]
divsd xmm0, qword [0x5e2b88]
movsd qword [esp], xmm0
push str.Seconds_________g_r_n
push eax
call fcn.00404f70
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x104]
add esp, 0x10
push eax
call esi
push dword [ebx + 0x45c]
lea eax, [ebp - 0x104]
push str.Sleep_Count_____d_r_n
push eax
call fcn.00404f70
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call esi
push dword [ebx + 0x464]
lea eax, [ebp - 0x104]
push str.Update_Count____d_r_n
push eax
call fcn.00404f70
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call esi
push dword [ebx + 0x460]
lea eax, [ebp - 0x104]
push str.Draw_Count______d_r_n
push eax
call fcn.00404f70
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call esi
push dword [ebx + 0x4b0]
lea eax, [ebp - 0x104]
push str.Draw_Time_______d_r_n
push eax
call fcn.00404f70
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call esi
push dword [ebx + 0x4d0]
lea eax, [ebp - 0x104]
push str.Screen_Blt______d_r_n
push eax
call fcn.00404f70
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call esi
mov ecx, dword [ebx + 0x4d0]
add ecx, dword [ebx + 0x4b0]
test ecx, ecx
jle 0x54ba13
imul eax, dword [ebx + 0x460], 0x3e8
cdq
idiv ecx
push eax
lea eax, [ebp - 0x104]
push str.Avg_FPS_________d_r_n
push eax
call fcn.00404f70
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call esi
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x54]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x5c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0059b734
mov esp, ebp
pop ebp
ret
Function at 0x4acb10
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce3e7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6229a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0x98]
cmp edi, 0x64
jne case.default.0x4acbc1
cmp dword [esi + 0x94], edi
jne case.default.0x4acbc1
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x18], 0
je 0x4acb85
mov dword [esi + 0x98], 0x63
mov ecx, dword [0x66577c]
push 0
call fcn.0054a0a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
lea ecx, [esi + 0x80]
nop dword [eax]
mov edx, dword [ecx]
test edx, edx
je 0x4acb9c
cmp byte [edx + 0x18], 0
jne 0x4acbb8
inc eax
add ecx, 4
cmp eax, 4
jl 0x4acb90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 3
ja case.default.0x4acbc1
jmp dword [eax*4 + 0x4acd80]
lea eax, [edi - 1]
mov dword [esi + 0x98], eax
mov ecx, dword [0x66577c]
push 0
call fcn.0054a0a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [0x66577c]
call fcn.004a4100
mov ecx, dword [0x66577c]
mov edx, dword [ecx + 0x6f0]
movzx eax, byte [edx + 0x27e]
push eax
movzx eax, byte [edx + 0x27d]
push eax
movzx eax, byte [edx + 0x27c]
push eax
movzx eax, byte [edx + 0x27b]
push eax
push 0
push 0
push dword [edx + 0x164]
call fcn.004a5400
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [0x66577c]
mov eax, dword [ecx + 0x6f0]
test eax, eax
je 0x4acc76
push 0
mov ecx, eax
call fcn.0048fad0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ecx + 0x704], 0
je case.default.0x4acbc1
call fcn.004a4100
mov ecx, dword [0x66577c]
call fcn.004a4090
push 0x1e0
call fcn.0059b742
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4accbf
push dword [0x66577c]
mov ecx, eax
call fcn.004cf650
mov ecx, eax
jmp 0x4accc1
xor ecx, ecx
mov eax, dword [0x66577c]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x700], ecx
mov eax, dword [0x66577c]
push dword [esi + 0x34]
push dword [esi + 0x30]
mov ecx, dword [eax + 0x700]
push 0
push 0
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [0x66577c]
mov ecx, dword [eax + 0x308]
push dword [eax + 0x700]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov eax, dword [0x66577c]
mov ecx, dword [eax + 0x308]
push dword [eax + 0x700]
mov edx, dword [ecx]
call dword [edx + 0x20]
mov ecx, dword [0x66577c]
mov ecx, dword [ecx + 0x7dc]
call fcn.004b60b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [0x66577c]
push 1
call fcn.004a2f40
mov eax, dword [0x66577c]
push 0x12
push 0xdc
mov eax, dword [eax + 0x308]
mov ecx, dword [eax + 0x7c]
mov eax, dword [ecx]
call dword [eax + 0xa4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4acc4a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce3e7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6229a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0x98]
cmp edi, 0x64
jne case.default.0x4acbc1
cmp dword [esi + 0x94], edi
jne case.default.0x4acbc1
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x18], 0
je 0x4acb85
mov dword [esi + 0x98], 0x63
mov ecx, dword [0x66577c]
push 0
call fcn.0054a0a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
lea ecx, [esi + 0x80]
nop dword [eax]
mov edx, dword [ecx]
test edx, edx
je 0x4acb9c
cmp byte [edx + 0x18], 0
jne 0x4acbb8
inc eax
add ecx, 4
cmp eax, 4
jl 0x4acb90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 3
ja case.default.0x4acbc1
jmp dword [eax*4 + 0x4acd80]
lea eax, [edi - 1]
mov dword [esi + 0x98], eax
mov ecx, dword [0x66577c]
push 0
call fcn.0054a0a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [0x66577c]
call fcn.004a4100
mov ecx, dword [0x66577c]
mov edx, dword [ecx + 0x6f0]
movzx eax, byte [edx + 0x27e]
push eax
movzx eax, byte [edx + 0x27d]
push eax
movzx eax, byte [edx + 0x27c]
push eax
movzx eax, byte [edx + 0x27b]
push eax
push 0
push 0
push dword [edx + 0x164]
call fcn.004a5400
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [0x66577c]
mov eax, dword [ecx + 0x6f0]
test eax, eax
je 0x4acc76
push 0
mov ecx, eax
call fcn.0048fad0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ecx + 0x704], 0
je case.default.0x4acbc1
call fcn.004a4100
mov ecx, dword [0x66577c]
call fcn.004a4090
push 0x1e0
call fcn.0059b742
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4accbf
push dword [0x66577c]
mov ecx, eax
call fcn.004cf650
mov ecx, eax
jmp 0x4accc1
xor ecx, ecx
mov eax, dword [0x66577c]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x700], ecx
mov eax, dword [0x66577c]
push dword [esi + 0x34]
push dword [esi + 0x30]
mov ecx, dword [eax + 0x700]
push 0
push 0
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [0x66577c]
mov ecx, dword [eax + 0x308]
push dword [eax + 0x700]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov eax, dword [0x66577c]
mov ecx, dword [eax + 0x308]
push dword [eax + 0x700]
mov edx, dword [ecx]
call dword [edx + 0x20]
mov ecx, dword [0x66577c]
mov ecx, dword [ecx + 0x7dc]
call fcn.004b60b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [0x66577c]
push 1
call fcn.004a2f40
mov eax, dword [0x66577c]
push 0x12
push 0xdc
mov eax, dword [eax + 0x308]
mov ecx, dword [eax + 0x7c]
mov eax, dword [ecx]
call dword [eax + 0xa4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4aebe0
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x104
mov eax, dword [0x6229a0]
xor eax, esp
mov dword [esp + 0x100], eax
cmp dword [0x66594c], 0
jne 0x4aec5d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 4]
push str.gPakInterfaceP__d
push eax
call fcn.00404f70
add esp, 0xc
lea eax, [esp]
push eax
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 4
push 0
push 0
push 0xf001f
push eax
mov dword [0x66594c], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x665950], eax
mov eax, dword [eax]
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0059b734
add esp, 0x104
ret
mov eax, dword [0x665950]
mov ecx, dword [esp + 0x100]
xor ecx, esp
mov eax, dword [eax]
call fcn.0059b734
add esp, 0x104
ret
Function at 0x4afba0
Capabilities:
Read file on windows

Disassembly:
call fcn.004aebe0
test eax, eax
je 0x4afbc6
mov eax, dword [0x665950]
push dword [esp + 0x10]
push dword [esp + 0x10]
mov ecx, dword [eax]
push dword [esp + 0x10]
push dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x14]
ret
mov eax, dword [esp + 0x10]
push dword [eax + 8]
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.005a96a6
add esp, 0x10
ret
Function at 0x4b6120
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x4b612f
mov eax, dword [eax]
push ebx
push ebp
push esi
push edi
push 0x5d971c
push eax
call fcn.005a94a9
push 2
mov ebp, eax
push 0
push ebp
mov dword [esp + 0x2c], ebp
call fcn.005a9a75
push ebp
call fcn.005aa18d
push 0
mov ebx, eax
push 0
push ebp
mov dword [esp + 0x38], ebx
call fcn.005a9a75
push ebx
call fcn.0059b726
push ebp
push ebx
push 1
push eax
mov dword [esp + 0x48], eax
call fcn.005a96a6
push 0x100
push 0
push dword [esp + 0x64]
call fcn.0059d800
mov esi, dword [esp + 0x6c]
xor ebp, ebp
add esp, 0x44
mov dword [esp + 0x20], ebp
xor edi, edi
mov eax, dword [esi + 0x10]
mov dword [esp + 0x28], eax
test ebx, ebx
jle 0x4b61f9
mov eax, dword [esp + 0x10]
xor ebx, ebx
mov dl, byte [eax + ebp]
mov ebp, dword [esp + 0x24]
nop
lea eax, [ebx + 1]
movsx ecx, dl
movsx eax, al
imul eax, ecx
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x4b61c6
mov ecx, dword [esi]
movsx ecx, byte [ecx + edi]
movsx eax, al
cdq
idiv ecx
lea eax, [ebx + ebp]
add byte [eax], dl
lea eax, [edi + 1]
xor edi, edi
cmp eax, dword [esp + 0x28]
cmovge edi, eax
inc ebx
cmp ebx, 0x100
jl 0x4b61b0
mov ebp, dword [esp + 0x20]
inc ebp
mov dword [esp + 0x20], ebp
cmp ebp, dword [esp + 0x14]
jl 0x4b61a2
push dword [esp + 0x10]
call fcn.0059b72f
push dword [esp + 0x1c]
call fcn.005a93b7
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4b6220
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce825
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6229a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov ecx, edx
mov edi, dword [ebp + 0x10]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x44], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b6270
sub ecx, dword [ebp - 0x44]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00402b80
mov dword [ebp - 4], 0
test edi, edi
je 0x4b62ea
push edi
lea eax, [ebp - 0x40]
push 0x5dc9e0
push eax
call fcn.004f8210
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 1
jb 0x4b62b0
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00404bf0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4b62ea
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b62e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b635c
push ecx
push edx
call fcn.0059b718
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x4b62f2
mov esi, dword [esi]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push esi
push dword [ebp + 0x14]
cmovae eax, dword [ebp - 0x28]
push eax
push str.SAVE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x14]
mov esi, eax
cmp ecx, 0x10
jb 0x4b633f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b6335
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6361
push ecx
push edx
call fcn.0059b718
add esp, 8
mov eax, esi
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.0059b734
mov esp, ebp
pop ebp
ret
call fcn.005a17d1
call fcn.005a17d1
int3
Function at 0x4b6370
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, ecx
push edi
mov edi, 1
mov dword [esi + 0x14], 0
lea ebp, [esi + 0x18]
nop dword [eax]
push 0
push edi
push str.LevelScore
push ebx
call fcn.004b6220
mov dword [ebp], eax
lea ebp, [ebp + 4]
add dword [esi + 0x14], eax
inc edi
add esp, 0x10
cmp edi, 0x96
jle 0x4b6390
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x4b63bd
mov eax, dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.GameLevel
push str.SAVE
call edi
mov dword [esi + 0x270], eax
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x4b63e2
mov eax, dword [ebx]
push eax
push 0
push str.MaxLevel
push str.SAVE
call edi
mov dword [esi + 0x274], eax
cmp dword [ebx + 0x14], 0x10
jb 0x4b63ff
mov ebx, dword [ebx]
push ebx
push 0
push str.DoTutorialFinal
push str.SAVE
call edi
cmp eax, 1
sete al
cmp dword [esi + 0x270], 0
mov byte [esi + 0x317], al
je 0x4b6454
mov byte [esi + 0x317], 0
mov ecx, dword [esi + 0x274]
cmp ecx, 9
jge 0x4b646d
mov dword [esi + 0xc], 1
cmp ecx, 4
jl 0x4b645f
xor eax, eax
cmp ecx, 6
pop edi
setge al
inc eax
mov dword [esi + 0x10], eax
pop esi
pop ebp
pop ebx
ret 4
test al, al
je 0x4b642a
mov dword [esi + 0xc], 0
pop edi
mov dword [esi + 0x10], 0
pop esi
pop ebp
pop ebx
ret 4
pop edi
mov dword [esi + 0xc], 2
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4d4c50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1f59
mov eax, dword fs:[0]

Function at 0x4df1f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2406
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6229a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.Sexy::ResourceManager::BaseRes.0
xorps xmm0, xmm0
movups xmmword [edi + 8], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xf
mov byte [edi + 8], 0
movups xmmword [edi + 0x20], xmm0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xf
mov dword [ebp - 4], 0
mov byte [edi + 0x20], 0
movups xmmword [edi + 0x38], xmm0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0xf
mov byte [edi + 0x38], 0
lea esi, [edi + 0x50]
mov byte [ebp - 4], 2
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0059b742
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4e1e30
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 2
mov dword [ebp - 4], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x4e1e69
xor edx, edx
pop edi
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0xc]
push eax
call esi
push 0
push 0x64
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.0059bbf0
add dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
adc dword [ebp - 8], edx
call fcn.004f5760
add esp, 4
lea eax, [ebp - 0x24]
push eax
call esi
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 8]
jl 0x4e1e97
jg 0x4e1eaf
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0xc]
jb 0x4e1e97
lea eax, [ebp - 0x14]
push eax
call fcn.004e2a30
add esp, 4
push dword [ebp - 4]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0
push 0x64
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.0059bca0
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4e2000
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x6229a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x6209f1], 0
je 0x4e20a0
push 0x98
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.0059d800
add esp, 0xc
mov dword [ebp - 0xa0], 0x9c
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4e207c
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4e207c
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059b734
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x9c], 6
mov byte [0x6209f1], 0
setae al
mov byte [0x667189], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059b734
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [0x667189]
xor ecx, ebp
call fcn.0059b734
mov esp, ebp
pop ebp
ret
Function at 0x4e8e70
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x6229a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x666c74], 0
jne 0x4e8eea
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x104]
push str.gPakInterfaceP__d
push eax
call fcn.00404f70
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 4
push 0
push 0
push 0xf001f
push eax
mov dword [0x666c74], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x666d58], eax
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059b734
mov esp, ebp
pop ebp
ret
mov eax, dword [0x666d58]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, dword [eax]
call fcn.0059b734
mov esp, ebp
pop ebp
ret

Function at 0x4ed920
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6229a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.IMAGEHLP.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x666200], eax
test eax, eax
je 0x4edaaa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SymInitialize
push eax
call esi
mov dword [0x666204], eax
test eax, eax
je 0x4edaaa
push str.SymSetOptions
push dword [0x666200]
call esi
mov dword [0x666208], eax
test eax, eax
je 0x4edaaa
push str.SymCleanup
push dword [0x666200]
call esi
mov dword [0x666210], eax
test eax, eax
je 0x4edaaa
push str.UnDecorateSymbolName
push dword [0x666200]
call esi
mov dword [0x66620c], eax
test eax, eax
je 0x4edaaa
push str.StackWalk
push dword [0x666200]
call esi
mov dword [0x666214], eax
test eax, eax
je 0x4edaaa
push str.SymFunctionTableAccess
push dword [0x666200]
call esi
mov dword [0x666218], eax
test eax, eax
je 0x4edaaa
push str.SymGetModuleBase
push dword [0x666200]
call esi
mov dword [0x66621c], eax
test eax, eax
je 0x4edaaa
push str.SymGetSymFromAddr
push dword [0x666200]
call esi
mov dword [0x666220], eax
test eax, eax
je 0x4edaaa
push 4
call dword [0x666208]
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push 0x2f
push eax
call fcn.0059dfe0
add esp, 8
test eax, eax
jne 0x4eda63
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.0059dfe0
add esp, 8
test eax, eax
je 0x4eda66
mov byte [eax], 0
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4eda70
sub ecx, edx
lea eax, [ebp - 0x108]
xor edx, edx
test ecx, ecx
push 1
cmove eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x666204]
test eax, eax
pop esi
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059b734
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0059b734
mov esp, ebp
pop ebp
ret