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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x5df040]
xor eax, esp
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x1c], ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebx + 0x34], 0x41ee90
mov dword [ebx + 0x30], 0
push edi
cmp ebx, eax
je 0x404650
cmp dword [eax + 0x14], 7
mov ecx, eax
jbe 0x404645
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, ebx
call fcn.004034a0
lea ecx, [ebx + 0x18]
cmp ecx, esi
je 0x40466a
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x404661
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.004034a0
mov ecx, dword [esi + 0x14]
mov edx, esi
cmp ecx, 7
jbe 0x404676
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
cmp word [edx + eax*2 - 2], 0x5c
je 0x40469f
cmp ecx, 7
jbe 0x404688
mov esi, dword [esi]
cmp word [esi + eax*2 - 2], 0x2f
je 0x40469f
push 1
push 0x5d1044
lea ecx, [ebx + 0x18]
call fcn.004036e0
cmp dword [ebx + 0x14], 7
mov eax, ebx
mov dword [esp + 0x28], 0x404ce0
mov dword [esp + 0x34], 0x404d70
mov dword [esp + 0x38], 0x404d80
mov dword [esp + 0x2c], 0x404dd0
mov dword [esp + 0x30], 0x404df0
mov dword [esp + 0x3c], 0x404e10
mov dword [esp + 0x40], 0x404e20
mov dword [esp + 0x44], 0
jbe 0x4046e9
mov eax, dword [ebx]
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.00547030
mov edi, eax
add esp, 8
test edi, edi
jne 0x404717
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.00423495
mov esp, ebp
pop ebp
ret 0x14
xorps xmm0, xmm0
push edi
movlpd qword [esp + 0x1c], xmm0
call fcn.00546f20
add esp, 4
lea eax, [esp + 0x48]
push eax
push edi
call fcn.00546f00
add esp, 8
test eax, eax
je 0x404751
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
jmp 0x4047f0
cmp dword [esp + 0x4c], 0
jb 0x404744
ja 0x404761
cmp dword [esp + 0x48], 0
jbe 0x404744
mov eax, dword [esp + 0x1c]
mov esi, 1
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x70]
push eax
push edi
call fcn.00546ed0
add esp, 0x20
test eax, eax
jne 0x4047e8
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
test ecx, ecx
jne 0x4047a4
test eax, eax
je 0x4047ac
add dword [esp + 0x14], eax
adc dword [esp + 0x10], ecx
mov eax, dword [esp + 0x4c]
xor edx, edx
mov ecx, esi
mov dword [esp + 0x18], ecx
cmp edx, eax
ja 0x4047db
jb 0x4047c4
cmp esi, dword [esp + 0x48]
jae 0x4047db
push edi
call fcn.00546f80
add esp, 4
test eax, eax
jne 0x4047e8
mov eax, dword [esp + 0x4c]
xor edx, edx
mov ecx, dword [esp + 0x18]
inc esi
cmp edx, eax
jb 0x404776
ja 0x4047e8
cmp ecx, dword [esp + 0x48]
jb 0x404776
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edi
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x44], eax
call fcn.00546f20
add esp, 4
lea eax, [esp + 0x48]
push eax
push edi
call fcn.00546f00
mov esi, eax
add esp, 8
test esi, esi
jne 0x404875
cmp dword [esp + 0x4c], eax
jb 0x404875
ja 0x404821
cmp dword [esp + 0x48], eax
jbe 0x404875
mov ebx, 1
push ecx
mov ecx, dword [esp + 0x28]
push edi
call fcn.004048a0
mov esi, eax
test esi, esi
jne 0x404875
mov eax, dword [esp + 0x4c]
xor edx, edx
mov ecx, ebx
mov dword [esp + 0x18], ecx
cmp edx, eax
ja 0x404868
jb 0x40484f
cmp ebx, dword [esp + 0x48]
jae 0x404868
push edi
call fcn.00546f80
mov esi, eax
add esp, 4
test esi, esi
jne 0x404875
mov eax, dword [esp + 0x4c]
xor edx, edx
mov ecx, dword [esp + 0x18]
inc ebx
cmp edx, eax
jb 0x404826
ja 0x404875
cmp ecx, dword [esp + 0x48]
jb 0x404826
push edi
call fcn.00546e00
mov ecx, dword [esp + 0xb8]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00423495
mov esp, ebp
pop ebp
ret 0x14