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

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x6c]
push esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x30], 0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x4cc]
mov dword [esp + 0x2c], edx
test eax, eax
jle 0x452168
mov eax, dword [esp + 0x88]
push ebx
push ebp
push edi
mov edi, eax
lea ebp, [esi + 0x8d0]
shl edi, 4
add edi, eax
mov dword [esp + 0x1c], ebp
lea ecx, [ecx + edi*8]
mov dword [esp + 0x20], ecx
jmp 0x451ed3
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x764]
mov ecx, dword [ecx + 0x768]
mov edi, dword [esp + 0x90]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp - 0x400]
mov dword [esp + 0x28], eax
shl ecx, 2
cmp dword [ecx + edi], 0
jne 0x451f0a
mov eax, dword [ebp]
cmp dword [edi + eax*4], 0
je 0x452140
mov esi, dword [esp + 0x84]
mov eax, dword [ebp]
shl eax, 2
mov ebx, dword [ecx + esi]
mov dword [esp + 0x44], ebx
mov esi, dword [eax + esi]
lea ebx, [ebx + edx*4]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x88]
mov ebp, dword [ecx + ebx]
mov ebx, dword [eax + ebx]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x48], ebp
mov ebp, dword [ecx + ebx]
mov eax, dword [eax + ebx]
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x1c]
mov dword [ecx + edi], 1
mov dword [esp + 0x54], eax
mov ecx, dword [ebp]
xor eax, eax
test edx, edx
mov dword [edi + ecx*4], 1
mov dword [esp + 0x18], eax
jle 0x452140
mov ecx, dword [esp + 0x20]
add ecx, 0x76c
mov dword [esp + 0x94], ecx
mov edi, dword [ecx + 8]
fild dword [ecx + 4]
mov dword [esp + 0x34], edi
mov edi, dword [ecx]
cmp eax, edi
fstp dword [esp + 0x6c]
jge 0x45212a
lea ecx, [esi + edx*4]
mov edx, dword [esp + 0x40]
sub ecx, edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x68], ecx
mov ecx, edx
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x54]
sub ecx, esi
sub edx, esi
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x4c]
sub ecx, esi
sub edx, esi
sub ebx, esi
lea edi, [esi + eax*4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x74], edx
sub ebp, esi
jmp 0x451fe6
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x7c]
cmp eax, dword [edx]
jge 0x45211f
fld dword [ecx + edi]
mov eax, dword [edi]
fst dword [esp + 0x14]
fabs
mov dword [esp + 0x10], eax
fld dword [esp + 0x10]
fabs
fstp qword [esp + 0x60]
fcom qword [esp + 0x60]
fnstsw ax
test ah, 0x41
jne 0x45201f
fld dword [ecx + edi]
fstp dword [esp + 0x14]
jmp 0x45202b
mov ecx, dword [edi]
fstp st(0)
fld qword [esp + 0x60]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x94]
fst dword [esp + 0x60]
fcomp dword [edx + 0xc]
fnstsw ax
test ah, 1
je 0x45207e
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x78]
add eax, edi
push ecx
mov ecx, dword [eax + edx]
mov edx, dword [eax]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
call fcn.00452270
add esp, 0x24
jmp 0x4520ae
fld dword [esp + 0x6c]
call fcn.0044c8c4
mov ecx, dword [esp + 0x24]
push eax
lea edx, [esp + 0x34]
lea eax, [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
call fcn.00452170
add esp, 0x1c
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
fld dword [esp + 0x2c]
fsub dword [edx + edi]
fstp dword [ebx + edi]
fld dword [esp + 0x30]
fsub dword [eax + edi]
fst dword [esp + 0x14]
fstp dword [edi + ebp]
fld dword [esp + 0x34]
fchs
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
je 0x4520ee
fld dword [esp + 0x14]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 0x41
jne 0x4520fc
mov dword [ebx + edi], 0
mov dword [edi + ebp], 0
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x18]
inc eax
add edi, 4
mov edx, dword [ecx]
mov dword [esp + 0x18], eax
cmp eax, edx
jl 0x451fe2
mov edx, dword [esp + 0x38]
jmp 0x45212a
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x38]
add ecx, 0x10
cmp eax, edx
mov dword [esp + 0x94], ecx
jl 0x451f86
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x3c]
inc eax
add ebp, 4
mov esi, dword [ecx + 0x4cc]
mov dword [esp + 0x3c], eax
cmp eax, esi
mov dword [esp + 0x1c], ebp
jl 0x451ecf
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x68
ret