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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c28c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
xor ebp, ebp
mov eax, dword [edi + 0xb20]
lea esi, [edi + 0xb18]
cmp eax, ebx
mov dword [esp + 0x18], esi
jle 0x4035e5
mov eax, dword [esi + 4]
mov ecx, dword [eax + ebp*4]
cmp ecx, ebx
je 0x4035dd
mov edx, dword [ecx]
push 1
call dword [edx + 0x28]
mov eax, dword [esi + 8]
inc ebp
cmp ebp, eax
jl 0x4035cc
push 0xa
push ebx
mov ecx, esi
call fcn.0046d900
mov eax, 0x5e2824
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov eax, dword [edi + 0xa7c]
mov byte [esp + 0x80], 3
cmp eax, ebx
je 0x403668
mov eax, dword [edi + 0xa78]
mov ebp, dword [eax + 8]
jmp 0x40366a
xor ebp, ebp
xor esi, esi
cmp ebp, ebx
jle 0x4036bc
push 1
lea eax, [esp + 0x68]
push ebx
push eax
push ebx
push esi
mov ecx, edi
call fcn.00444620
push 1
lea ecx, [esp + 0x54]
push ebx
push ecx
push 2
push esi
mov ecx, edi
call fcn.00444620
push 1
lea edx, [esp + 0x40]
push ebx
push edx
push 1
push esi
mov ecx, edi
call fcn.00444620
push 1
lea eax, [esp + 0x2c]
push ebx
push eax
push 3
push esi
mov ecx, edi
call fcn.00444620
inc esi
cmp esi, ebp
jl 0x403670
mov esi, dword [edi + 0xb20]
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x40372f
mov ecx, dword [edi + 0xb1c]
mov esi, dword [ecx + ebx*4]
mov ecx, esi
mov ebp, dword [esi]
call fcn.0050b020
fld qword [eax + 8]
sub esp, 8
lea ecx, [edi + 0x2e0]
fchs
fstp qword [esp]
call fcn.004d7b50
fstp qword [esp + 0x24]
mov ecx, esi
call fcn.0050b020
fld qword [esp + 0x24]
fsub qword [eax]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call dword [ebp + 0xc]
push esi
lea ecx, [edi + 0x2e0]
call fcn.004deba0
mov dword [esi + 0xd0], 1
mov esi, dword [esp + 0x14]
inc ebx
cmp ebx, esi
jl 0x4036ca
xor ebx, ebx
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ebx
call fcn.0046d900
mov edi, 0x5e2824
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x80], 4
cmp eax, ebx
je 0x40375d
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ebp, 0x5e262c
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x40]
mov byte [esp + 0x80], 5
cmp eax, ebx
je 0x403783
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x54]
mov byte [esp + 0x80], 6
cmp eax, ebx
je 0x4037a4
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x50], ebp
mov dword [esp + 0x64], edi
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], 7
cmp eax, ebx
je 0x4037c8
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x78]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret