Function at 0x402e64
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x5f5970
sub esp, 0x5c
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x58], eax
movups xmm0, xmmword [esp + 0x60]
push ebx
push ebp
mov ebp, dword [esp + 0x78]
mov ebx, ecx
push esi
push edi
sub esp, 0x10
mov dword [esp + 0x20], ebx
mov eax, esp
push 0x14
movups xmmword [eax], xmm0
call fcn.004142e5
mov dword [ebx], 0x946aa0
lea edi, [ebx + 0x24]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [esp + 0x18], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0xc0], 0
mov dword [ebx + 0xc4], 0
mov dword [ebx + 0xc8], 0
mov dword [ebx + 0xcc], 0
mov dword [ebx + 0xd0], 0
mov dword [ebx + 0xd4], 0
mov dword [ebx + 0xd8], 0
mov dword [ebx + 0xdc], 0
mov dword [ebx + 0xe0], 0
mov dword [ebx + 0xe4], 0
mov dword [ebx + 0xe8], 0
mov dword [ebx + 0xec], 0
mov dword [ebx + 0xf0], 0
mov byte [ebx + 0xf4], 0
mov byte [ebx + 0xf8], 0
mov dword [ebx + 0xfc], 0
mov dword [ebx + 0x100], 0
mov dword [ebx + 0x104], 0
mov dword [ebx + 0x108], 0
mov dword [ebx + 0x10c], 0
mov dword [ebx + 0x110], 0
mov dword [ebx + 0x114], 0
mov dword [ebx + 0x118], 0
mov dword [ebx + 0x11c], 0
mov dword [ebx + 0x120], 0xffffffff
mov word [ebx + 0x124], 0
mov byte [ebx + 0x126], 0
mov dword [ebx + 0x12c], 0
lea eax, [esp + 0x1c]
mov dword [ebx + 0x130], 0
push eax
mov ecx, ebx
mov dword [ebx + 0x134], 0
mov dword [ebx + 0x138], 0
mov dword [ebx + 0x13c], 0
mov dword [ebx + 0x140], 0
mov dword [ebx + 0x144], 0
mov dword [ebx + 0x148], 0
mov dword [ebx + 0x14c], 0
mov dword [ebx + 0x150], 0
mov dword [ebx + 0x154], 0
mov dword [ebx + 0x158], 0
mov dword [ebx + 0x15c], 0
mov dword [ebx + 0x160], 0
mov dword [ebx + 0x164], 0
mov dword [ebx + 0x168], 0
call fcn.0040f678
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, 4
cmp ecx, eax
mov dword [ebx + 0x18], edx
cmovb eax, ecx
mov dword [ebx + 0x1c], eax
cmp eax, 4
jne 0x5f603b
push eax
push 0x946d84
push edx
call fcn.004031ed
add esp, 0xc
test eax, eax
jne 0x5f603b
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.0040f678
mov ecx, ebx
mov esi, dword [eax]
mov dword [esp + 0x24], esi
lea eax, [esi + 4]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
call fcn.0040f678
mov ecx, dword [eax + 4]
lea eax, [esi + 8]
add ecx, esi
mov dword [esp + 0x2c], ecx
cmp eax, ecx
jbe 0x5f5d3c
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 3
push eax
lea eax, [esp + 0x18]
push str.Missing_version_number
push eax
call fcn.00402536
mov ecx, eax
add esp, 0xc
mov eax, dword [ecx]
mov dword [ebp], eax
mov dword [ecx], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x5f6075
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x5f6075
lea eax, [esp + 0x24]
push eax
call fcn.00601d10
add esp, 4
mov dword [ebx + 0x20], eax
cmp eax, 1
je 0x5f5d94
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 3
push eax
lea eax, [esp + 0x14]
push str.Bad_version_number
push eax
call fcn.00402513
mov ecx, eax
add esp, 0xc
mov eax, dword [ecx]
mov dword [ebp], eax
mov dword [ecx], 0
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x5f6075
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x5f6075
mov eax, dword [esp + 0x28]
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
movups xmmword [esp + 0x54], xmm0
mov dword [esp + 0x64], 0
cmp eax, dword [esp + 0x2c]
jae 0x5f6035
nop
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.006019b0
mov ecx, eax
add esp, 0x10
mov eax, dword [ecx]
mov dword [ebp], eax
mov dword [ecx], 0
mov ecx, dword [esp + 0x14]
mov esi, dword [ebp]
test ecx, ecx
je 0x5f5e1a
mov eax, dword [ecx]
push 1
call dword [eax]
test esi, esi
jne 0x5f5ff0
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00402c57
mov ecx, eax
mov eax, dword [ecx]
mov dword [ebp], eax
mov dword [ecx], esi
mov ecx, dword [esp + 0x1c]
mov esi, dword [ebp]
test ecx, ecx
je 0x5f5e4d
mov eax, dword [ecx]
push 1
call dword [eax]
test esi, esi
jne 0x5f5f9e
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
je 0x5f5f28
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
mov dword [esi], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
cmp ebx, eax
je 0x5f5f22
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xaaaaaaa
ja 0x5f6099
lea ebx, [eax + eax*2]
shl ebx, 3
cmp ebx, 0x1000
jb 0x5f5ee4
push ebx
call fcn.00404818
add esp, 4
jmp 0x5f5ef5
test ebx, ebx
je 0x5f5ef3
push ebx
call fcn.00405e93
add esp, 4
jmp 0x5f5ef5
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
add eax, ebx
mov dword [esi + 0x20], eax
mov edi, dword [esi + 0x18]
push edi
push dword [esp + 0x50]
push dword [esp + 0x50]
call fcn.004073d3
lea eax, [edi + ebx]
add esp, 0xc
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x18]
mov dword [esi + 0x1c], eax
add dword [edi + 4], 0x24
jmp 0x5f5f39
lea eax, [esp + 0x30]
mov ecx, edi
push eax
push esi
call fcn.00412530
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x2c]
jae 0x5f5f4c
mov ebx, dword [esp + 0x10]
jmp 0x5f5de0
test ebx, ebx
je 0x5f5f95
mov ecx, dword [esp + 0x50]
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, ebx
shl ecx, 3
cmp ecx, 0x1000
jb 0x5f5f8b
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f602f
push ecx
push ebx
call fcn.004036ca
add esp, 8
mov ebx, dword [esp + 0x10]
jmp 0x5f6075
mov esi, dword [esp + 0x48]
test esi, esi
je 0x5f6075
mov ecx, dword [esp + 0x50]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x5f5fe1
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5f602f
push ecx
push esi
call fcn.004036ca
add esp, 8
jmp 0x5f6075
mov esi, dword [esp + 0x48]
test esi, esi
je 0x5f6075
mov ecx, dword [esp + 0x50]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x5f5fe1
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5f5fe1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
test ebp, ebp
je 0x5f6082
jmp 0x5f6075
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 3
push eax
lea eax, [esp + 0x20]
push str.Bad_magic_number
push eax
call fcn.004125b2
mov ecx, eax
add esp, 0xc
mov eax, dword [ecx]
mov dword [ebp], eax
mov dword [ecx], 0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x5f6075
mov edx, dword [ecx]
push 1
call dword [edx]
cmp dword [ebp], 0
jne 0x5f6082
mov dword [ebp], 0
mov ecx, dword [esp + 0x68]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x5c
ret 0x14
call fcn.004104b5
int3