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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
push esi
call fcn.00441eb0
mov edi, eax
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], ebx
cmp edi, 0xffffffff
je 0x451dd9
mov eax, dword [esi + 0x154]
cmp eax, ebx
je 0x451dd9
cmp dword [esi + 0x158], ebx
je 0x451dd9
cmp dword [esi + 0x15c], ebx
je 0x451dd9
mov edx, dword [esi + 0x110]
push ebx
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [edx + edi*4]
push ecx
call eax
add esp, 0xc
test eax, eax
jne 0x451dcc
mov eax, dword [esp + 0xc]
cmp eax, ebx
jbe 0x451dcc
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005120eb
mov ecx, dword [esi + 0x110]
mov edx, dword [ecx + edi*4]
mov ebx, eax
push ebx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi + 0x154]
push edx
mov dword [esp + 0x2c], ebx
call eax
add esp, 0x10
test eax, eax
jne 0x451dc3
xor edi, edi
mov dword [esp + 0x10], edi
cmp dword [esp + 0xc], edi
jbe 0x451dc3
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x158]
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], 0xc
mov edx, dword [ebx + edi*4]
push ecx
push edx
call eax
add esp, 8
test eax, eax
jne 0x451db4
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x451c79
sub eax, 2
jne 0x451db4
cmp dword [esp + 0x6c], 2
jne 0x451db4
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x15c]
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0x18
mov edx, dword [ebx + edi*4]
push ecx
push edx
call eax
add esp, 8
test eax, eax
jne 0x451db4
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x188]
mov ebx, dword [esp + 0x78]
shl eax, 6
mov edx, dword [eax + ecx + 0x18]
or edx, dword [eax + ecx + 0x1c]
jne 0x451bb4
fld1
jmp 0x451c41
mov edx, ecx
lea ecx, [eax + edx]
mov edx, dword [esp + 0x7c]
mov edi, ebx
sub edi, dword [ecx + 0x10]
mov dword [esp + 0x28], 0
sbb edx, dword [ecx + 0x14]
mov dword [esp + 0x20], edi
mov edi, edx
and edx, 0x7fffffff
and edi, 0x80000000
mov dword [esp + 0x24], edx
fild qword [esp + 0x20]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x80]
fild qword [esp + 0x28]
sub edi, dword [ecx + 0x18]
mov dword [esp + 0x38], 0
sbb edx, dword [ecx + 0x1c]
fchs
faddp st(1)
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x10]
mov ecx, edx
fmul qword [0x565fb0]
and edx, 0x7fffffff
and ecx, 0x80000000
mov dword [esp + 0x34], edx
fild qword [esp + 0x30]
mov dword [esp + 0x3c], ecx
fild qword [esp + 0x38]
fchs
faddp st(1)
fdivp st(1)
mov ecx, dword [ebp + 0x10]
fstp dword [ecx]
mov ecx, dword [esi + 0x188]
mov dword [eax + ecx + 0x10], ebx
mov edx, dword [esp + 0x7c]
mov dword [eax + ecx + 0x14], edx
mov edx, dword [esp + 0x80]
mov ecx, dword [esi + 0x188]
mov dword [eax + ecx + 0x18], edx
mov edx, dword [esp + 0x84]
mov dword [eax + ecx + 0x1c], edx
jmp 0x451da8
cmp dword [esp + 0x6c], 0
jne 0x451db4
mov edx, dword [esi + 0x15c]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x70], 0x18
mov ecx, dword [ebx + edi*4]
push eax
push ecx
call edx
add esp, 8
test eax, eax
jne 0x451db4
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x188]
mov ebx, dword [esp + 0x78]
shl eax, 6
mov edx, dword [eax + ecx + 8]
or edx, dword [eax + ecx + 0xc]
jne 0x451cea
fld1
jmp 0x451d76
mov edx, ecx
lea ecx, [eax + edx]
mov edx, dword [esp + 0x7c]
mov edi, ebx
sub edi, dword [ecx]
mov dword [esp + 0x48], 0
sbb edx, dword [ecx + 4]
mov dword [esp + 0x40], edi
mov edi, edx
and edx, 0x7fffffff
and edi, 0x80000000
mov dword [esp + 0x44], edx
fild qword [esp + 0x40]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x80]
fild qword [esp + 0x48]
sub edi, dword [ecx + 8]
mov dword [esp + 0x58], 0
sbb edx, dword [ecx + 0xc]
fchs
faddp st(1)
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x10]
mov ecx, edx
fmul qword [0x565fb0]
and edx, 0x7fffffff
and ecx, 0x80000000
mov dword [esp + 0x54], edx
fild qword [esp + 0x50]
mov dword [esp + 0x5c], ecx
fild qword [esp + 0x58]
fchs
faddp st(1)
fdivp st(1)
mov ecx, dword [ebp + 0x10]
fstp dword [ecx]
mov ecx, dword [esi + 0x188]
mov dword [eax + ecx], ebx
mov edx, dword [esp + 0x7c]
mov dword [eax + ecx + 4], edx
mov edx, dword [esp + 0x80]
mov ecx, dword [esi + 0x188]
mov dword [eax + ecx + 8], edx
mov edx, dword [esp + 0x84]
mov dword [eax + ecx + 0xc], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
inc edi
mov dword [esp + 0x10], edi
cmp edi, dword [esp + 0xc]
jb 0x451afe
push ebx
call fcn.005120f6
add esp, 4
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc