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

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push ebx
push ebp
or edx, 0xffffffff
cmp eax, 1
push esi
push edi
mov dword [esp + 0x10], edx
jne 0x403396
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 0x194]
mov dword [esp + 0x14], 0x2710
xor ebx, ebx
mov dword [esp + 0x20], eax
cmp ebx, edx
je 0x40330e
cmp byte [ebx + ecx + 4], 0
je 0x40330e
mov eax, dword [esp + 0x20]
mov edi, dword [eax]
mov eax, dword [edi + 0x368]
cmp dword [eax + 0x6f8], 0
jne 0x40330e
mov ebp, dword [ecx + edx*4 + 0x194]
mov eax, dword [edi + 0x364]
cmp eax, dword [ebp + 0x364]
je 0x40330e
cmp dword [edi + 0x2fc], 0
jle 0x40330e
mov eax, dword [edi + 0x18]
sub eax, dword [ebp + 0x18]
push eax
call fcn.004034e0
mov esi, eax
mov eax, dword [edi + 0x10]
sub eax, dword [ebp + 0x10]
push eax
call fcn.004034e0
add esi, eax
add esp, 8
cmp esi, dword [esp + 0x14]
jge 0x40330e
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
add dword [esp + 0x20], 4
add ebx, 1
cmp ebx, 0x190
jl 0x4032a3
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x403347
mov eax, dword [ecx + edx*4 + 0x194]
mov dword [eax + 0x14], 0
mov eax, dword [ecx + edx*4 + 0x194]
fild dword [eax + 0x14]
fstp qword [eax + 0x60]
jmp 0x4034ac
mov esi, dword [ecx + edx*4 + 0x194]
mov dword [esi + 0x14], 0
mov esi, dword [ecx + eax*4 + 0x194]
mov esi, dword [esi + 0x18]
mov edi, dword [ecx + edx*4 + 0x194]
add esi, 1
mov dword [edi + 0x18], esi
mov esi, dword [ecx + edx*4 + 0x194]
cmp byte [esi + 0x80], 0
mov eax, dword [ecx + eax*4 + 0x194]
mov eax, dword [eax + 0x10]
jne 0x40338e
sub eax, 0x78
jmp 0x403482
add eax, 0x78
jmp 0x403482
cmp eax, 2
jne 0x4034cc
mov dword [esp + 0x14], edx
lea edx, [ecx + 0x194]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x1c]
xor ebx, ebx
cmp ebx, edx
je 0x40341e
cmp byte [ebx + ecx + 4], 0
je 0x40341e
mov eax, dword [esp + 0x20]
mov edi, dword [eax]
mov eax, dword [edi + 0x368]
cmp dword [eax + 0x6f8], 0
jne 0x40341e
mov ebp, dword [ecx + edx*4 + 0x194]
mov eax, dword [edi + 0x364]
cmp eax, dword [ebp + 0x364]
jne 0x40341e
cmp dword [edi + 0x2fc], 0
jle 0x40341e
mov eax, dword [edi + 0x18]
sub eax, dword [ebp + 0x18]
push eax
call fcn.004034e0
mov esi, eax
mov eax, dword [edi + 0x10]
sub eax, dword [ebp + 0x10]
push eax
call fcn.004034e0
add esi, eax
add esp, 8
cmp esi, dword [esp + 0x14]
jle 0x40341e
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
add dword [esp + 0x20], 4
add ebx, 1
cmp ebx, 0x190
jl 0x4033b3
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x403327
mov esi, dword [ecx + edx*4 + 0x194]
mov dword [esi + 0x14], 0
mov esi, dword [ecx + eax*4 + 0x194]
mov esi, dword [esi + 0x18]
mov edi, dword [ecx + edx*4 + 0x194]
add esi, 1
mov dword [edi + 0x18], esi
mov esi, dword [ecx + edx*4 + 0x194]
cmp byte [esi + 0x80], 0
mov eax, dword [ecx + eax*4 + 0x194]
mov eax, dword [eax + 0x10]
jne 0x40347f
sub eax, 0x3c
jmp 0x403482
add eax, 0x3c
mov dword [esi + 0x10], eax
mov eax, dword [ecx + edx*4 + 0x194]
fild dword [eax + 0x10]
fstp qword [eax + 0x58]
mov eax, dword [ecx + edx*4 + 0x194]
fild dword [eax + 0x14]
fstp qword [eax + 0x60]
mov eax, dword [ecx + edx*4 + 0x194]
fild dword [eax + 0x18]
fstp qword [eax + 0x68]
mov eax, dword [ecx + edx*4 + 0x194]
fldz
fst qword [eax + 0x50]
mov eax, dword [ecx + edx*4 + 0x194]
fst qword [eax + 0x48]
mov ecx, dword [ecx + edx*4 + 0x194]
fstp qword [ecx + 0x40]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8