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

Disassembly:
jmp 0x601e50
sub esp, 0x3c
push ebx
mov ebx, dword [esp + 0x44]
cmp ebx, 9
push ebp
push esi
push edi
mov edi, ecx
jge 0x6021ff
mov eax, dword [edi + 8]
test eax, eax
je 0x601e72
mov ecx, dword [eax + 8]
jmp 0x601e74
xor ecx, ecx
test eax, eax
lea edx, [ecx - 0x1e]
mov dword [esp + 0x14], edx
je 0x601e84
mov eax, dword [eax + 0xc]
jmp 0x601e86
xor eax, eax
sub eax, dword [edi + 0x9fc]
mov dword [edi + 0x9a4], edx
sub eax, 0x2d
cmp dword [edi + 0x9a8], 0
mov esi, eax
mov dword [esp + 0x10], esi
mov ecx, 0x2d
je 0x601ead
xor eax, eax
jmp 0x601eb2
mov eax, 0x1e
imul ebx, ebx, 0xdc
mov dword [edi + 0x9ac], eax
mov dword [edi + 0x9b0], ecx
mov dword [edi + 0x9b4], edx
lea ebp, [ebx + edi]
mov dword [edi + 0x9b8], esi
mov eax, dword [ebp + 0x7c]
mov dword [edi + 0x78], eax
xor ebx, ebx
lea esi, [edi + 0x964]
cmp ebx, dword [edi + 0x78]
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
jge 0x601ef1
push 1
jmp 0x601ef3
push 0
call eax
add ebx, 1
add esi, 4
cmp ebx, 6
jl 0x601ee1
xor edx, edx
cmp dword [edi + 0x9a8], edx
mov dword [esp + 0x38], 0x2d
lea eax, [esp + 0x34]
mov dword [esp + 0x34], edx
jne 0x601f22
mov dword [esp + 0x34], 0x1e
mov ecx, dword [eax]
mov eax, dword [eax + 4]
xor ebx, ebx
cmp dword [edi + 0x78], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
jle 0x601fdb
lea esi, [edi + 0x964]
add ebp, 0x80
jmp 0x601f50
mov ecx, dword [esi]
mov edx, dword [ecx + 0x100]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], edx
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, ebp
call fcn.00401dde
mov eax, dword [esi]
cmp dword [eax + 8], 0
je 0x601f99
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
add ecx, edx
mov edx, dword [eax + 8]
mov dword [edx], ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 8]
add ecx, edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
sub esp, 8
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
mov ecx, dword [esi]
call fcn.004046f1
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
push eax
call fcn.0061b940
add ebx, 1
add esi, 4
add ebp, 0x24
cmp ebx, dword [edi + 0x78]
jl 0x601f50
xor edx, edx
mov eax, dword [edi + 0x838]
cmp eax, edx
jle 0x60205f
lea esi, [edi + 0x97c]
lea ebx, [edi + 0x83c]
mov ebp, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
call fcn.00401dde
mov eax, dword [esi]
cmp dword [eax + 8], 0
je 0x602030
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
add ecx, edx
mov edx, dword [eax + 8]
mov dword [edx], ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 8]
add ecx, edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
sub esp, 8
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
mov ecx, dword [esi]
call fcn.004046f1
add esi, 4
add ebx, 0x24
sub ebp, 1
jne 0x601ff3
xor edx, edx
mov eax, dword [edi + 0x964]
mov ebx, 1
mov dword [eax + 0xe0], ebx
mov ecx, dword [edi + 0x968]
mov dword [ecx + 0xe0], ebx
mov eax, dword [edi + 0x96c]
lea esi, [edi + 0x968]
mov dword [eax + 0xe0], ebx
mov ecx, dword [edi + 0x970]
mov dword [ecx + 0xe0], ebx
mov eax, dword [edi + 0x974]
mov dword [eax + 0xe0], ebx
mov ecx, dword [edi + 0x978]
mov dword [ecx + 0xe0], ebx
cmp dword [edi + 0x78], ebx
jne 0x6020c3
mov eax, dword [edi + 0x964]
mov dword [eax + 0xe0], edx
mov ecx, dword [edi + 0x964]
mov eax, dword [ecx + 8]
cmp eax, edx
je 0x6020d9
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
jmp 0x6020dd
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 8]
cmp eax, edx
je 0x6020e6
mov edx, dword [eax]
mov dword [esp + 0x14], edx
call fcn.0061b920
fld dword [eax]
call fcn.006519c0
mov ecx, dword [edi + 0x964]
mov dword [esp + 0x34], eax
call fcn.0061b920
fld dword [eax + 4]
call fcn.006519c0
cmp dword [edi + 0x78], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], ebx
jle 0x6021f5
mov edi, edi
mov edx, dword [esi]
cmp dword [edx + 0x100], 0
jne 0x6021df
mov eax, edx
mov ecx, dword [eax + 0x100]
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x1c], ecx
je 0x602147
mov ecx, dword [eax + 4]
jmp 0x602149
xor ecx, ecx
mov eax, dword [edx + 8]
test eax, eax
je 0x602154
mov eax, dword [eax]
jmp 0x602156
xor eax, eax
sub eax, dword [esp + 0x14]
mov ebx, dword [edi + 0x964]
mov ebp, dword [ebx + 0x94]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
sub ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
fdiv dword [ebp + 0x2c]
call fcn.006519c0
fild dword [esp + 0x30]
mov dword [esp + 0x24], eax
fdiv dword [ebp + 0x2c]
call fcn.006519c0
mov ecx, ebx
mov ebp, eax
call fcn.0061b910
push ecx
mov ecx, dword [esi]
fstp dword [esp]
call fcn.0061d450
mov edx, dword [esp + 0x34]
add dword [esp + 0x24], edx
add ebp, dword [esp + 0x38]
fild dword [esp + 0x24]
mov ecx, dword [esi]
mov dword [esp + 0x28], ebp
fstp dword [esp + 0x3c]
lea eax, [esp + 0x3c]
fild dword [esp + 0x28]
push eax
fstp dword [esp + 0x44]
call fcn.0061d4d0
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esi]
call fcn.0061b940
mov ebx, 1
mov eax, dword [esp + 0x18]
add eax, ebx
add esi, 4
cmp eax, dword [edi + 0x78]
mov dword [esp + 0x18], eax
jl 0x602120
mov edx, dword [esp + 0x50]
mov dword [edi + 0x9a0], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4