joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ef10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f2718
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x54d000]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x54d000]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x58]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x4b
push 2
push dword [0x57d838]
mov dword [eax + 8], 1
mov eax, dword [esi]
push str.skip.akb
call dword [eax + 0xd0]
mov ecx, eax
mov dword [0x57d838], eax
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, dword [0x58dc90]
push 1
push str._Config_SceneSkip
call fcn.004c8eb0
push 0x30
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004dc9b0
add esp, 0xc
mov dword [esp + 8], vtable.IFunc.0
call fcn.004b64a0
mov dword [esp + 0xc], eax
call fcn.00496280
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0xc], vtable.IFuncFlag.0
mov dword [esp + 0x20], vtable.CCriticalSection.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esp + 8], vtable.CFuncFlag.0
push 0
push 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0
call fcn.00457400
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 8]
test eax, eax
je 0x45f02b
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x40]
sub eax, ecx
test eax, 0xffffffe0
je 0x45f02b
mov dword [ecx + 0x6e0], 0
and dword [ecx + 0x6e4], 0xfffffff7
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 8]
test eax, eax
je 0x45f055
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x40]
sub eax, ecx
test eax, 0xffffffe0
je 0x45f055
mov dword [ecx + 0x6e0], 0
and dword [ecx + 0x6e4], 0xfffffffb
lea eax, [esp + 0x20]
mov dword [esp + 8], vtable.IFuncFlag.0
push eax
mov dword [esp + 0x20], vtable.CCriticalSection.0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004d9d6a
mov esp, ebp
pop ebp
ret
Function at 0x473e40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3688
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x54d000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x57d868]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x24], eax
call fcn.004b64a0
push 4
mov esi, dword [eax + 0x34]
mov eax, dword [esi + 0x120]
lea ecx, [esi + 0x120]
mov eax, dword [eax + 0x20]
call eax
push eax
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov eax, dword [esi + 0x120]
lea ecx, [esi + 0x120]
push 0xcc0020
push 0x2d0
push 0x500
mov eax, dword [eax + 0x20]
push 0
push 0
call eax
mov esi, dword [ebp - 0x24]
mov ecx, esi
push eax
push 0x6a
push 0xbe
mov eax, dword [esi]
push 0
push 0
mov eax, dword [eax + 0x20]
call eax
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], vtable.CFile.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov ecx, esi
mov eax, dword [esi]
mov dword [ebp - 0x24], esi
call dword [eax + 0x34]
lea edx, [edi + 1]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.004cc5e0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x20]
cmovae eax, dword [ebp - 0x3c]
push eax
call fcn.004960c0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0x13ab0
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
call dword [eax + 0xc]
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
cmovae eax, dword [ebp - 0x3c]
mov byte [eax], 0
cmp dword [ebp - 0x28], 0x10
jb 0x473f87
push dword [ebp - 0x3c]
call fcn.004d9d65
add esp, 4
mov dword [ebp - 0x28], 0xf
mov ecx, esi
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
mov byte [ebp - 4], 0
mov eax, dword [esi]
call dword [eax + 0x38]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.CFile.0
call dword [0x530444]
mov eax, 1
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.004d9d6a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x473ff0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f36c8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x54d000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov edi, dword [0x57d868]
movdqu xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], vtable.CFile.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov ecx, edi
mov eax, dword [edi]
mov dword [ebp - 0x3c], edi
call dword [eax + 0x34]
lea edx, [esi + 1]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004cc5e0
push 0
push 0
push 3
push 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
push 1
cmovae eax, dword [ebp - 0x38]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
mov eax, dword [edi]
mov ecx, edi
jne 0x4740b6
push 0
push 0x6a
push 0xbe
push 0
push 0
mov dword [ebp - 0x1c], 0
call dword [eax + 0xe0]
xor esi, esi
jmp 0x47410a
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call eax
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0x13ab0
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
call dword [eax + 0xc]
mov eax, dword [edi]
mov ecx, edi
push 0xff
push 0x6a
push 0xbe
push 0
push 0
call dword [eax + 0xe0]
mov esi, 1
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
mov dword [ebp - 0x28], 0
cmovae eax, dword [ebp - 0x38]
mov byte [eax], 0
cmp dword [ebp - 0x24], 0x10
jb 0x474130
push dword [ebp - 0x38]
call fcn.004d9d65
add esp, 4
mov dword [ebp - 0x24], 0xf
mov ecx, edi
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 0
mov edx, dword [edi]
call dword [edx + 0x38]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.CFile.0
call dword [0x530444]
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.004d9d6a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x474b80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f3778
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x54d000]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x54d000]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebp + 8], 0
mov eax, dword [ebx + 0x64]
mov eax, dword [eax + 0x48]
mov dword [eax + 0x720], 0
mov dword [eax + 0x724], 1
je 0x474ca5
push 0x30
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004dc9b0
add esp, 0xc
mov dword [esp + 0x10], vtable.IFunc.0
call fcn.004b64a0
mov dword [esp + 0x14], eax
call fcn.00496280
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x14], vtable.IFuncFlag.0
mov dword [esp + 0x28], vtable.CCriticalSection.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esp + 0x10], vtable.CFuncFlag.0
push ecx
push 0x15c4
push 0
push 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x60], 0
call fcn.004aab10
mov ecx, dword [ebx + 0x64]
mov eax, dword [ecx + 0x30]
mov dword [ebx + 0x98], eax
mov eax, dword [ecx + 0x30]
add eax, 0x15be
mov dword [esp + 0x50], 0xffffffff
mov dword [ebx + 0x9c], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x14], vtable.IFuncFlag.0
mov dword [esp + 0x28], vtable.CCriticalSection.0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [esp + 0x24], vtable.ICriticalSection.0
mov dword [esp + 0x10], vtable.IFunc.0
mov esi, 0x6d
mov edi, 0x1396
nop
lea eax, [esi + 1]
push eax
push esi
call fcn.00475580
mov edx, dword [ebx + 0x98]
dec esi
add edx, edi
sub edi, 0x2e
movdqu xmm0, xmmword [edx - 0x2e]
movdqu xmmword [edx], xmm0
movdqu xmm0, xmmword [edx - 0x1e]
movdqu xmmword [edx + 0x10], xmm0
movq xmm0, qword [edx - 0xe]
movq qword [edx + 0x20], xmm0
mov eax, dword [edx - 6]
mov dword [edx + 0x28], eax
mov ax, word [edx - 2]
mov word [edx + 0x2c], ax
cmp edi, 0x11f8
jg 0x474cb0
push 0
push 0x64
mov ecx, ebx
call fcn.00475110
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004d9d6a
mov esp, ebp
pop ebp
ret 4
Function at 0x476a10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x54d000]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x58dc78], 1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [ebp - 0x408], esi
jne 0x476a47
call ebx
jmp 0x476a49
call edi
cmp dword [esi + 0x1cfc], eax
jae 0x476ac7
mov ecx, dword [esi + 0x47c]
xor eax, eax
cmp dword [esi + 0x1d00], 1
setne al
lea edx, [ecx + ecx*2]
mov dword [esi + 0x1d00], eax
shl edx, 2
test eax, eax
je 0x476a7e
cmp ecx, 0x21
jge 0x476a9d
push 1
push 0xffffffffffffffff
jmp 0x476a82
push 1
push 0
mov ecx, dword [esi + 0x1cf8]
push 0x18
add ecx, 0x120
push 2
push 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xd8]
call fcn.00496a60
cmp dword [eax + 0x68], 0
je 0x476aad
call fcn.004bb1a0
cmp dword [0x58dc78], 1
jne 0x476aba
call ebx
jmp 0x476abc
call edi
add eax, 0x12c
mov dword [esi + 0x1cfc], eax
cmp dword [esi + 0x4c0], 1
lea eax, [ebp - 0x404]
mov dword [esi + 0x1d3c], eax
mov dword [esi + 0x1d40], 0x400
jne 0x476be1
mov ecx, dword [esi + 0x47c]
cmp ecx, 0x20
jge 0x476be1
mov ebx, 0x20
lea edi, [esi + 0x4b0]
mov eax, ebx
sub eax, ecx
push ecx
lea eax, [eax + eax*2]
shl eax, 2
push eax
lea eax, [ecx + ecx*2]
push ecx
shl eax, 2
mov ecx, edi
push eax
call fcn.00429990
mov eax, dword [esi + 0x47c]
sub ebx, eax
add esi, 0x78
add eax, esi
lea esi, [edi + 0x1824]
mov dword [ebp - 0x40c], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 4]
add edi, 0x1c
mov edx, ebx
mov ecx, edi
call fcn.00429ce0
mov ebx, eax
lea ecx, [ebx + 2]
mov word [ebx + edi], 0
push ecx
push edi
push dword [ebp - 0x40c]
call fcn.004dc360
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
call dword [eax + 8]
mov eax, dword [ebp - 0x408]
push 1
add dword [eax + 0x47c], ebx
mov ebx, eax
mov ecx, ebx
call fcn.004774f0
lea ecx, [ebx + 0x4b0]
call fcn.004298e0
mov esi, dword [sym.imp.USER32.dll_WINNLSEnableIME]
push 0
push 0
call esi
push 1
push 0
call esi
mov eax, 0x20
lea ecx, [ebx + 0x4b0]
sub eax, dword [ebx + 0x47c]
mov dword [ebx + 0x1d38], eax
lea eax, [ebx + 0x1d04]
push eax
call fcn.00429810
mov eax, dword [ebx]
mov ecx, ebx
push 0xe
call dword [eax + 0xc4]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d9d6a
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x90]
mov edi, eax
mov eax, dword [esi + 0x478]
cmp edi, eax
je 0x476c1b
cmp eax, 0xffffffff
je 0x476c06
push 0
push eax
mov ecx, esi
call fcn.00476fd0
mov dword [esi + 0x478], edi
cmp edi, 0xffffffff
je 0x476c1b
push 1
push edi
mov ecx, esi
call fcn.00476fd0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d9d6a
mov esp, ebp
pop ebp
ret
Function at 0x47f800
Capabilities:
Create thread

Disassembly:
push edi
push 0
mov edi, ecx
push 0
push 1
push 0
mov dword [edi + 4], 1
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
mov dword [edi + 0x9c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 0xa4], eax
lea eax, [edi + 0xa8]
push eax
push 0
push edi
push 0x47f9c0
push 0
push 0
mov dword [edi + 0xb0], 0
mov dword [eax], 0
call fcn.004da838
mov ecx, dword [edi + 0xd0]
add esp, 0x18
mov dword [edi + 0xac], eax
mov eax, dword [ecx]
push 1
call dword [eax + 0x3c]
mov dword [edi + 0x8c], 0xffffffff
mov dword [edi + 0x88], 0
mov dword [edi + 0x94], 0xffffffff
mov dword [edi + 0x90], 0
cmp dword [0x58dc78], 1
jne 0x47f8b7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x47f8bd
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [edi + 0x78], eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
push dword [edi + 0xa4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
ret
Function at 0x48ffc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f56ab
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x54d000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x98]
push eax
call fcn.004a42f0
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.004a42f0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.004a42f0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x54]
imul esi, dword [ebp - 0x74]
shl esi, 2
push esi
call fcn.004d9ce4
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.004dc9b0
xorps xmm0, xmm0
add esp, 0xc
movdqu xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], vtable.CFile.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x94]
call fcn.004cc5e0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x20]
cmovae eax, dword [ebp - 0x38]
push eax
call fcn.004960c0
push 0
lea eax, [ebp - 0x18]
push eax
push esi
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
call dword [eax + 0xc]
test edi, edi
je 0x4900ba
push edi
call fcn.004da594
add esp, 4
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
mov dword [ebp - 0x28], 0
cmovae eax, dword [ebp - 0x38]
mov byte [eax], 0
cmp dword [ebp - 0x24], 0x10
jb 0x4900e0
push dword [ebp - 0x38]
call fcn.004d9d65
add esp, 4
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x20], vtable.CFile.0
call dword [0x530444]
cmp dword [ebp - 0x3c], 0x10
jb 0x49011b
push dword [ebp - 0x50]
call fcn.004d9d65
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
jb 0x49013e
push dword [ebp - 0x70]
call fcn.004d9d65
add esp, 4
cmp dword [ebp - 0x7c], 0x10
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
jb 0x490164
push dword [ebp - 0x90]
call fcn.004d9d65
add esp, 4
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.004d9d6a
mov esp, ebp
pop ebp
ret
Function at 0x493550
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x54d000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [vtable.CCriticalSection.0]
push esi
mov esi, ecx
mov ecx, 0x57adb0
call dword [eax + 4]
cmp dword [0x57d8ac], 0
jne 0x493595
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0
push dword [ebp - 0x24]
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x57d8ac], eax
mov eax, dword [vtable.CCriticalSection.0]
mov ecx, 0x57adb0
call dword [eax + 8]
cmp dword [0x57d8ac], 0
je 0x4935f1
mov eax, dword [vtable.CCriticalSection.0]
mov ecx, 0x57adb0
call dword [eax + 4]
push esi
push 0
push dword [0x57d8ac]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x4935d3
inc dword [0x57d8b0]
mov eax, dword [vtable.CCriticalSection.0]
mov ecx, 0x57adb0
call dword [eax + 8]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d9d6a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004d9d6a
mov esp, ebp
pop ebp
ret

Function at 0x4944f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f5b78
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x54d000]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov eax, dword [0x54d000]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
push str._Config_AutoContinue_Enable
lea eax, [esp + 0xc]
mov dword [esp + 0x4c], 0
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004c6540
add esp, 0xc
mov dword [esp + 0x18], 0
cmp dword [esp + 0x1c], 0x10
lea eax, [esp + 8]
cmovae eax, dword [esp + 8]
mov byte [eax], 0
cmp dword [esp + 0x1c], 0x10
jb 0x494585
push dword [esp + 8]
call fcn.004d9d65
add esp, 4
cmp dword [esp + 0x34], 0x10
lea eax, [esp + 0x20]
mov ecx, dword [0x58dc90]
cmovae eax, dword [esp + 0x20]
push 1
push eax
call fcn.004c8c40
test eax, eax
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x20]
setne bl
cmp dword [esp + 0x34], 0x10
cmovae ecx, dword [esp + 0x20]
mov byte [ecx], 0
cmp dword [esp + 0x34], 0x10
jb 0x4945d2
push dword [esp + 0x20]
call fcn.004d9d65
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004d9d6a
mov esp, ebp
pop ebp
ret
Function at 0x494a50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f5b78
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x54d000]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov eax, dword [0x54d000]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
push str._Config_SkipContinue_Enable
lea eax, [esp + 0xc]
mov dword [esp + 0x4c], 0
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004c6540
add esp, 0xc
mov dword [esp + 0x18], 0
cmp dword [esp + 0x1c], 0x10
lea eax, [esp + 8]
cmovae eax, dword [esp + 8]
mov byte [eax], 0
cmp dword [esp + 0x1c], 0x10
jb 0x494ae5
push dword [esp + 8]
call fcn.004d9d65
add esp, 4
cmp dword [esp + 0x34], 0x10
lea eax, [esp + 0x20]
mov ecx, dword [0x58dc90]
cmovae eax, dword [esp + 0x20]
push 1
push eax
call fcn.004c8c40
test eax, eax
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x20]
setne bl
cmp dword [esp + 0x34], 0x10
cmovae ecx, dword [esp + 0x20]
mov byte [ecx], 0
cmp dword [esp + 0x34], 0x10
jb 0x494b32
push dword [esp + 0x20]
call fcn.004d9d65
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004d9d6a
mov esp, ebp
pop ebp
ret

Function at 0x49d630
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f61d0
mov eax, dword fs:[0]
push eax
mov eax, 0x13d0
call fcn.004dbf40
mov eax, dword [0x54d000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 8
lea ecx, [ebp - 0x13dc]
push dword [esi + 0x48]
call fcn.00439430
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
call fcn.004b2e90
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x13dc]
cmp edx, 0x270
jne 0x49d6a0
lea ecx, [ebp - 0x13dc]
call fcn.004396c0
jmp 0x49d6b3
cmp edx, 0x4e0
jb 0x49d6b9
lea ecx, [ebp - 0x13dc]
call fcn.00439600
mov edx, dword [ebp - 0x13dc]
mov edx, dword [ebp + edx*4 - 0x13d8]
mov eax, edx
shr eax, 0xb
and eax, dword [ebp - 0x58]
xor edx, eax
mov dword [ebp - 0x18], 0xf
mov eax, edx
mov dword [ebp - 0x1c], 0
and eax, 0xff3a58ad
mov byte [ebp - 0x2c], 0
shl eax, 7
xor edx, eax
mov dword [ebp - 0x34], 0
mov ecx, edx
and ecx, 0xffffdf8c
shl ecx, 0xf
xor edx, ecx
mov eax, edx
shr eax, 0x12
xor eax, edx
xor edx, edx
div dword [ebp - 0x50]
mov dword [ebp - 0x30], edx
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.004571b0
cmp dword [ebp - 0x18], 0x10
jb 0x49d72b
push dword [ebp - 0x2c]
call fcn.004d9d65
add esp, 4
cmp dword [ebp - 0x38], 0x10
jb 0x49d73c
push dword [ebp - 0x4c]
call fcn.004d9d65
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d9d6a
mov esp, ebp
pop ebp
ret 4
Function at 0x4a0d00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6599
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x54d000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.CArchiveFile.0
mov dword [esi + 0x10], 0
mov dword [esi + 0x28], 0xf
mov dword [esi + 0x24], 0
mov byte [esi + 0x14], 0
mov dword [esi + 0x2c], vtable.CFile.0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x50], 0xf
mov dword [esi + 0x4c], 0
mov byte [esi + 0x3c], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
call fcn.00446e20
mov dword [esi + 0x54], eax
mov eax, esi
or dword [esi + 0x10], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4a2580
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5c98
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x54d000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x57c8f0
push 0x34
call fcn.004da558
add esp, 8
test eax, eax
je 0x4a2606
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x2c], 0xf
mov dword [eax + 0x28], 0
mov byte [eax + 0x18], 0
mov byte [eax + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
push 0x20
push 0x5315e8
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.004270f0
push 0x549be0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.004dd2ec
int3