joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54e160
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push esi
call dword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 4], eax
or eax, ecx
mov dword [esp + 8], ecx
jne 0x54e193
push str.System_does_not_support_high_resolution_timers_n
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov eax, 0x80004005
pop esi
add esp, 8
ret
fild qword [esp + 4]
lea eax, [esi + 8]
push eax
fdivr dword [0x649444]
fstp dword [esi + 0x2c]
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
mov byte [esi + 0x39], 1
xor eax, eax
pop esi
add esp, 8
ret

Function at 0x54e1c0
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x39], 0
jne 0x54e1dc
push str.PCTimer_class_not_initialised._n
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
fld qword [0x649600]
pop esi
ret
push edi
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
fld dword [esi + 0x2c]
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov ecx, eax
sub ecx, dword [esi + 8]
mov edx, edi
sbb edx, dword [esi + 0xc]
cmp byte [esi + 0x38], 0
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
fild qword [esi + 0x20]
mov dword [esi + 0xc], edi
mov dword [esi + 8], eax
fmulp st(1)
pop edi
fst qword [esi + 0x30]
je 0x54e21c
fstp st(0)
fld qword [0x649600]
pop esi
ret
Function at 0x54ecf0
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x64767b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a8
mov eax, dword [0x6ee2dc]
push ebx
push 0
mov dword [esp + 0x2ac], eax
push 5
lea eax, [esp + 0xa8]
push eax
push 0
mov ebx, ecx
call dword [sym.imp.shell32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x54ee4b
push edi
lea edi, [esp + 0xa4]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x54ed41
push esi
mov ecx, 8
mov esi, str.KOEIDynasty_Warriors_4_Hyper_
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop esi
jmp 0x54ed60
mov cl, byte [esp + eax + 0xa4]
mov byte [esp + eax + 0x1a8], cl
add eax, 1
test cl, cl
jne 0x54ed60
lea edi, [esp + 0x1a8]
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x54ed80
mov ecx, dword [0x65b054]
mov edx, dword [0x65b058]
mov ax, word [0x65b05c]
mov dword [edi], ecx
push 0
lea ecx, [esp + 0xa8]
push ecx
mov dword [edi + 4], edx
push 0
mov word [edi + 8], ax
call dword [sym.imp.shell32.dll_SHCreateDirectoryExA]
test eax, eax
pop edi
je 0x54edcc
cmp eax, 0xb7
je 0x54edcc
cmp eax, 0x50
jne 0x54ee4b
push 1
lea ecx, [esp + 8]
call fcn.0053aea0
push 0x1b6
push 0x32
lea edx, [esp + 0x1ac]
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c0], 0
call fcn.0053a400
test eax, eax
jne 0x54ee1f
mov eax, dword [esp + 4]
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0xc]
lea ecx, [esp + ecx + 4]
or al, 2
cmp dword [ecx + 0x28], 0
jne 0x54ee17
or al, 4
push 0
push eax
call fcn.00646a8a
cmp dword [esp + 0x68], 0
jne 0x54ee52
lea ecx, [esp + 0x6c]
mov dword [esp + 0x2b4], 0xffffffff
call fcn.0053af60
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], 0x6563dc
call fcn.006469a0
xor al, al
jmp 0x54eee6
movss xmm0, dword [0x649444]
push 4
push ebx
lea ecx, [esp + 0x14]
movss dword [ebx], xmm0
call fcn.0053a140
push 1
lea ecx, [ebx + 4]
push ecx
lea ecx, [esp + 0x14]
call fcn.0053a140
push 1
add ebx, 5
push ebx
lea ecx, [esp + 0x14]
call fcn.0053a140
lea ecx, [esp + 0xc]
call fcn.005398a0
lea ecx, [esp + 0x10]
call fcn.0053ad60
test eax, eax
jne 0x54eebf
mov edx, dword [esp + 4]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0xc]
lea ecx, [esp + ecx + 4]
or al, 2
cmp dword [ecx + 0x28], 0
jne 0x54eeb7
or al, 4
push 0
push eax
call fcn.00646a8a
lea ecx, [esp + 0x6c]
mov dword [esp + 0x2b4], 0xffffffff
call fcn.0053af60
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], 0x6563dc
call fcn.006469a0
mov al, 1
mov ecx, dword [esp + 0x2ac]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2a8]
pop ebx
call fcn.0062fcdf
add esp, 0x2b4
ret
Function at 0x554e80
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
mov ebx, 1
xor ebp, ebp
push ebx
mov dword [esp + 0x14], ebp
call fcn.004b5330
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x656514]
mulss xmm0, dword [0x64e494]
cvttss2si eax, xmm0
push ebx
mov dword [esp + 0x24], eax
call fcn.004b5330
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x80]
push ecx
push edx
or esi, 0xffffffff
push eax
mov dword [esp + 0x5c], esi
call fcn.00554810
add esp, 0x20
test eax, eax
jge 0x554f09
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
fild qword [esp + 0x20]
mov eax, dword [0x7060d0]
mov edx, dword [eax]
fdivr dword [0x649444]
lea ecx, [esp + 0x50]
push ecx
push eax
fstp dword [esp + 0x1c]
call dword [edx + 0xc0]
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
push edi
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, eax
sub edx, dword [esp + 0x2c]
mov edi, ecx
sbb edi, dword [esp + 0x30]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edi
fild qword [esp + 0x34]
xor edi, edi
test ebp, ebp
mov dword [esp + 0x2c], eax
fmul dword [esp + 0x18]
mov dword [esp + 0x30], ecx
fstp dword [esp + 0x1c]
jne 0x554fac
test esi, esi
jne 0x554fac
call fcn.00554590
cmp eax, 1
jne 0x554fac
push eax
call fcn.004b5330
push eax
call fcn.00541830
push esi
push 0x1d
call fcn.005417c0
add esp, 0x10
mov ebp, 1
call fcn.005547c0
test eax, eax
jne 0x5550b0
call fcn.00552b90
lea eax, [esp + 0x44]
push 0
push eax
mov dword [esp + 0x4c], 0xa
mov byte [esp + 0x50], 0
mov byte [esp + 0x51], 0
call fcn.00552910
add esp, 8
test ebx, ebx
je 0x554ff1
cmp dword [esp + 0x14], 0
jne 0x555003
cmp dword [esp + 0x44], 0xa
je 0x555003
call fcn.005547a0
call fcn.00541810
mov dword [esp + 0x14], 1
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00554600
mov ebx, eax
mov eax, dword [0x7060d0]
mov edx, dword [eax]
add esp, 4
push eax
call dword [edx + 0xa4]
call fcn.00554590
cmp esi, eax
jne 0x555038
push 0
call fcn.00554670
add esp, 4
mov edi, 1
call fcn.00554590
cmp eax, 0xa
jne 0x55506a
mov eax, dword [esp + 0x20]
sub dword [esp + 0x10], eax
jns 0x555054
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00541830
push 0
push 0
call fcn.005278b0
add esp, 0xc
push 0
call fcn.005416b0
mov eax, dword [0x7060d0]
mov edx, dword [eax]
add esp, 4
push eax
call dword [edx + 0xa8]
test edi, edi
je 0x55508b
call fcn.005546a0
mov eax, dword [0x7060d0]
mov ecx, dword [eax]
lea edx, [esp + 0x54]
push edx
push eax
call dword [ecx + 0xbc]
mov esi, dword [esp + 0x40]
call fcn.00554590
mov dword [esp + 0x40], eax
jmp 0x554f41
call fcn.005545a0
call fcn.00541810
push 1
call fcn.005416b0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5c
ret
Function at 0x555130
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
xor ebp, ebp
cmp eax, ebp
push edi
je 0x55514e
push eax
call fcn.004d25b0
add esp, 4
mov dword [esi + 0x50], ebp
mov eax, dword [esi + 0x54]
cmp eax, ebp
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
je 0x555161
push eax
call ebx
mov dword [esi + 0x54], ebp
mov eax, dword [esp + 0x20]
push ebp
push 0x80
push 3
push ebp
push 1
push 0x80000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x555242
push ebp
mov ebp, dword [sym.imp.kernel32.dll_ReadFile]
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esp + 0x20]
push edx
push edi
call ebp
test eax, eax
je 0x5551cf
cmp dword [esp + 0x14], 0x4b4e494c
je 0x5551ba
push edi
call ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 4
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea ecx, [esp + 0x24]
push ecx
push edi
call ebp
test eax, eax
jne 0x5551eb
push edi
call ebx
push 1
push 0xa3a154
call dword [sym.imp.kernel32.dll_InterlockedExchange]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 4
mov eax, dword [esi + 0x50]
test eax, eax
je 0x555202
push eax
call fcn.004d25b0
add esp, 4
mov dword [esi + 0x50], 0
mov ebx, dword [esp + 0x18]
lea ebx, [ebx*8 + 0x10]
push ebx
push 0x10
call fcn.004d2590
add esp, 8
push 0
push 0
push 0
push edi
mov dword [esi + 0x50], eax
call dword [sym.imp.kernel32.dll_SetFilePointer]
mov eax, dword [esi + 0x50]
push 0
lea edx, [esp + 0x14]
push edx
push ebx
push eax
push edi
call ebp
test eax, eax
jne 0x55525b
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
push 1
push 0xa3a154
call dword [sym.imp.kernel32.dll_InterlockedExchange]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 4
mov eax, dword [esi + 0x54]
test eax, eax
je 0x555270
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esi + 0x54], 0
mov dword [esi + 0x54], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
Function at 0x5702ec
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x647808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
xorps xmm0, xmm0
or eax, 0xffffffff
push esi
mov esi, ecx
xor ecx, ecx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, 1
mov dword [esp + 4], esi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
movss dword [esi + 0x14], xmm0
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x30], ecx
mov dword [esi], 0x65c5b4
mov dword [esi + 0x34], ecx
movss dword [esi + 0x38], xmm0
mov dword [esi + 0x3c], ecx
movss dword [esi + 0x40], xmm0
lea eax, [esi + 0x3c]
add eax, 8
mov dword [eax], ecx
movss dword [eax + 4], xmm0
add eax, 8
mov dword [eax], ecx
movss dword [eax + 4], xmm0
mov dword [esp + 0x10], ecx
mov dword [esi + 0x54], ecx
lea ecx, [esi + 0x5c]
movss dword [esi + 0x58], xmm0
call fcn.0040bcd0
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x572ea6
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6478d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0056f1d0
movss xmm0, dword [0x649444]
mov dword [esi], 0x65c664
movss dword [esi + 0x38], xmm0
movss xmm0, dword [0x64952c]
movss dword [esi + 0x30], xmm0
movss dword [esi + 0x34], xmm0
xorps xmm0, xmm0
xor edi, edi
mov eax, 1
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
movss dword [esi + 0x44], xmm0
mov dword [esi + 0x48], 0x65c650
mov dword [esi + 0x4c], edi
lea ecx, [esi + 0x118]
mov dword [esp + 0x14], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], 0x64
mov dword [esi + 0x110], edi
mov dword [esi + 0x114], edi
call fcn.0040b6f0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x1a4], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x573276
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x6478f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0056f1d0
lea edi, [esi + 0x70]
mov ecx, edi
mov dword [esp + 0x14], 0
mov dword [esi], 0x65c6dc
call fcn.0056e940
xorps xmm0, xmm0
mov ecx, dword [esp + 0xc]
mov dword [edi], 0x65c6b4
movss dword [esi + 0x68], xmm0
movss dword [esi + 0x64], xmm0
movss dword [esi + 0x60], xmm0
movss dword [esi + 0x5c], xmm0
movss dword [esi + 0x54], xmm0
movss dword [esi + 0x50], xmm0
movss dword [esi + 0x4c], xmm0
movss dword [esi + 0x48], xmm0
movss dword [esi + 0x40], xmm0
movss dword [esi + 0x3c], xmm0
movss dword [esi + 0x38], xmm0
movss dword [esi + 0x34], xmm0
movss xmm0, dword [0x649444]
movss dword [esi + 0x6c], xmm0
movss dword [esi + 0x58], xmm0
movss dword [esi + 0x44], xmm0
movss dword [esi + 0x30], xmm0
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x573576
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6478f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0056f1d0
lea edi, [esi + 0x30]
mov ecx, edi
mov dword [esp + 0x14], 0
mov dword [esi], 0x65c70c
call fcn.0056e940
mov ecx, dword [esp + 0xc]
mov dword [edi], 0x65c698
mov dword [esi + 0x140], 0
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x574590
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x64794e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0x24c]
mov dword [esp + 8], esi
mov dword [esi], 0x65c740
mov dword [esi + 0x240], edi
mov dword [esi + 0x244], edi
mov dword [esi + 0x248], 0x3c
call fcn.0040bd00
lea ecx, [esi + 0x280]
mov dword [esp + 0x14], edi
call fcn.0055a150
movss xmm0, dword [0x649708]
movss xmm1, dword [0x64952c]
mov ecx, dword [esp + 0xc]
movss dword [esi + 0x3c], xmm0
movss xmm0, dword [0x64971c]
movss dword [esi + 0x68], xmm0
movss xmm0, dword [0x649528]
movss dword [esi + 0x6c], xmm0
movss xmm0, dword [0x6515fc]
movss dword [esi + 0x78], xmm0
movss dword [esi + 0x7c], xmm0
xorps xmm0, xmm0
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
movss dword [esi + 8], xmm0
movss dword [esi + 0xc], xmm1
movss xmm1, dword [0x649444]
movss dword [esi + 0x10], xmm0
movss dword [esi + 0x14], xmm0
movss dword [esi + 0x18], xmm0
movss dword [esi + 0x20], xmm0
movss dword [esi + 0x24], xmm0
movss xmm0, dword [0x64e740]
movss dword [esi + 0x1c], xmm1
movss dword [esi + 0x2c], xmm0
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x64794e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0x24c]
mov dword [esp + 8], esi
mov dword [esi], 0x65c740
mov dword [esi + 0x240], edi
mov dword [esi + 0x244], edi
mov dword [esi + 0x248], 0x3c
call fcn.0040bd00
lea ecx, [esi + 0x280]
mov dword [esp + 0x14], edi
call fcn.0055a150
movss xmm0, dword [0x649708]
movss xmm1, dword [0x64952c]
mov ecx, dword [esp + 0xc]
movss dword [esi + 0x3c], xmm0
movss xmm0, dword [0x64971c]
movss dword [esi + 0x68], xmm0
movss xmm0, dword [0x649528]
movss dword [esi + 0x6c], xmm0
movss xmm0, dword [0x6515fc]
movss dword [esi + 0x78], xmm0
movss dword [esi + 0x7c], xmm0
xorps xmm0, xmm0
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
movss dword [esi + 8], xmm0
movss dword [esi + 0xc], xmm1
movss xmm1, dword [0x649444]
movss dword [esi + 0x10], xmm0
movss dword [esi + 0x14], xmm0
movss dword [esi + 0x18], xmm0
movss dword [esi + 0x20], xmm0
movss dword [esi + 0x24], xmm0
movss xmm0, dword [0x64e740]
movss dword [esi + 0x1c], xmm1
movss dword [esi + 0x2c], xmm0
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x575b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
push esi
push edi
mov esi, ecx
push 0x2000
lea eax, [esi + 0x2168]
push ebx
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
call fcn.0040ff70
mov ebp, dword [esp + 0x90]
mov edi, dword [esp + 0x88]
shr ebp, 1
add edi, 0xffffe000
mov eax, ebp
shl eax, 4
shr edi, 1
mov dword [esp + 0x20], eax
mov eax, edi
shl eax, 4
add ebx, 0x20000
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x8c]
add esp, 0xc
add esi, 0x20
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x84], 2
mov ecx, dword [esp + 0x78]
push edi
push ecx
lea ebx, [esi - 0x20]
push ebx
call fcn.0040ff70
mov edx, dword [esp + 0x88]
push ebp
push edx
push esi
call fcn.0040ff70
add esp, 0x18
push 0x8000
push 0x8000
push ebx
call fcn.0040fed0
add esp, 8
push eax
lea ecx, [esi + 0x5c]
call fcn.00575ee0
push esi
push ebx
lea ecx, [esi + 0x20]
call fcn.0056ef70
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x78], eax
add dword [esp + 0x7c], ecx
add esi, 0x10b0
sub dword [esp + 0x84], 1
jne 0x575b77
mov edi, dword [esp + 0x18]
mov dword [edi + 0x2164], 0
mov dword [esp + 0x20], 0x5756e0
mov dword [esp + 0x24], 0x575270
mov dword [esp + 0x28], 0x5752f0
mov dword [esp + 0x2c], 0x575710
mov dword [esp + 0x30], 0x5752c0
mov dword [esp + 0x48], 0x5753d0
mov dword [esp + 0x4c], 0x5753f0
mov dword [esp + 0x50], 0x575410
mov dword [esp + 0x54], 0x575430
mov dword [esp + 0x58], 0x575450
mov dword [esp + 0x5c], 0x575470
mov dword [esp + 0x60], 0x575490
mov dword [esp + 0x64], 0x5754f0
mov dword [esp + 0x68], 0x5754b0
mov dword [esp + 0x6c], 0x5754d0
mov dword [esp + 0x70], 0x575510
mov dword [esp + 0x34], 0x575530
mov dword [esp + 0x38], 0x575570
mov dword [esp + 0x3c], 0x575790
mov dword [esp + 0x40], 0x575a90
mov dword [esp + 0x44], 0x575920
mov ebp, 2
lea esp, [esp]
lea ebx, [edi + 0x7c]
xor esi, esi
mov edx, dword [esp + esi*4 + 0x20]
push edx
push edi
push esi
push 0
mov ecx, ebx
call fcn.00575f90
add esi, 1
cmp esi, 5
jb 0x575ca5
push 0x575350
push edi
push 0
push 1
mov ecx, ebx
call fcn.00575f90
xor esi, esi
mov eax, dword [esp + esi*4 + 0x48]
push eax
push edi
push esi
push 2
mov ecx, ebx
call fcn.00575f90
add esi, 1
cmp esi, 0xb
jb 0x575cd0
xor esi, esi
lea ebx, [ebx]
mov ecx, dword [esp + esi*4 + 0x34]
push ecx
push edi
push esi
push 3
mov ecx, ebx
call fcn.00575f90
add esi, 1
cmp esi, 5
jb 0x575cf0
add edi, 0x10b0
sub ebp, 1
jne 0x575ca0
call fcn.00581120
mov edx, dword [esp + 0x1c]
push edx
call fcn.00570a10
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x10
Function at 0x59cd70
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6479e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x14]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
test eax, eax
jne 0x59ce02
mov dword [ebp - 0x1c], 4
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push str.DisableMMX
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x59cdf8
cmp dword [ebp - 0x18], 4
jne 0x59cdf8
cmp dword [ebp - 0x20], 0
je 0x59cdf8
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [0x6dbb84], 0
xor eax, eax
jmp 0x59ce65
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
cmp dword [0x6dbb84], 0
jge 0x59ce59
mov dword [0x6dbb84], 0
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.kernel32.dll_GetSystemInfo]
movzx edx, word [ebp - 0x44]
test edx, edx
jne 0x59ce59
movzx eax, word [ebp - 0x24]
cmp eax, 5
jl 0x59ce59
mov dword [ebp - 4], 0
call fcn.0059cd40
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x59ce51
emms
mov dword [0x6dbb84], 1
jmp 0x59ce59
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x6dbb84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x59d130
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.006312b0
mov eax, dword [0x6ee2dc]
mov dword [ebp - 4], eax
cmp dword [0x6dbb8c], 0xffffffff
jne 0x59d167
push 0
push str.debug
push str.Direct3D
call dword [sym.imp.kernel32.dll_GetProfileIntA]
mov dword [0x6dbb8c], eax
mov eax, dword [ebp + 8]
cmp eax, dword [0x6dbb8c]
ja 0x59d17b
cmp dword [0xa3d920], 0
je 0x59d17d
jmp 0x59d1e4
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x200c], ecx
mov edx, dword [ebp - 0x200c]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x1000
lea ecx, [ebp - 0x1008]
push ecx
call fcn.0059d670
mov byte [ebp - 9], 0
mov dword [ebp - 0x200c], 0
lea edx, [ebp - 0x1008]
push edx
push str.D3DX:__s_r_n
push 0x1000
lea eax, [ebp - 0x2008]
push eax
call fcn.0059d6c0
add esp, 0x10
mov byte [ebp - 0x1009], 0
lea ecx, [ebp - 0x2008]
push ecx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
call fcn.0062fcdf
mov esp, ebp
pop ebp
ret
Function at 0x59d3e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
test eax, eax
jne 0x59d453
lea ecx, [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 0
jne 0x59d447
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 8]
jne 0x59d447
mov dword [ebp - 0x10], 1
jmp 0x59d44e
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
jmp 0x59d455
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x59d580
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0xa3d938], 0
jne 0x59d664
mov dword [0xa3d938], 1
mov dword [ebp - 4], 0
push 0
call fcn.0062fffc
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
push 0
call fcn.0062fffc
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 8], 0
je 0x59d5e0
cmp dword [ebp - 0xc], 0
je 0x59d5e0
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jne 0x59d5e7
mov dword [ebp - 4], 1
cmp dword [ebp - 8], 0
je 0x59d5ff
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0062fced
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x59d61f
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 8]
je 0x59d61f
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0062fced
add esp, 4
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x20]
push edx
call fcn.0062fced
add esp, 4
cmp dword [ebp - 4], 0
je 0x59d664
push str.D3DX:__WARN__Overloaded_::new_and_::delete_operators_do_not_conform_to_C_standards:_r_n
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push str.D3DX:__WARN__An_allocation_of_zero_bytes_should_return_a_unique_non_null_pointer_to_at_r_n
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push str.D3DX:__WARN__least_zero_bytes._Deletion_of_a_null_pointer_should_quietly_do_nothing._r_n
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push str.D3DX:__WARN__D3DX_relies_upon_this_behavior._r_n
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov esp, ebp
pop ebp
ret