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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6a1473
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x76f950]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x24], ebx
cmp dword [ebx + 0x18], 0
jne 0x45cfdb
push 0x84
call fcn.006341f8
add esp, 4
mov dword [esp + 0x44], eax
mov dword [esp + 0x80], 0
test eax, eax
je 0x45cf30
push dword [ebx + 0x2c]
mov ecx, eax
push dword [ebx + 0x28]
push dword [ebx + 4]
call fcn.0045b280
mov esi, eax
jmp 0x45cf32
xor esi, esi
mov dword [esp + 0x80], 0xffffffff
movss xmm1, dword [ebx + 0xc]
movss xmm0, dword [esi + 0x3c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x45cf59
movss dword [esi + 0x3c], xmm1
mov byte [esi + 0x7c], 1
movss xmm1, dword [ebx + 0x10]
movss xmm0, dword [esi + 0x38]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x45cfce
mov eax, dword [esi + 0x20]
fnstcw word [esp + 0x14]
xor edx, edx
div dword [esi + 0x24]
movss dword [esi + 0x38], xmm1
mov byte [esi + 0x7c], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov dword [esi + 0x30], eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x72e400]
movzx eax, word [esp + 0x14]
or eax, 0xc00
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x30], xmm0
fld dword [esp + 0x30]
mov dword [esp + 0x30], eax
fldcw word [esp + 0x30]
fistp qword [esp + 0x44]
mov eax, dword [esp + 0x44]
and eax, 0xfffffffe
mov dword [esi + 0x34], eax
fldcw word [esp + 0x14]
push dword [ebx + 8]
mov ecx, esi
call fcn.0045b660
mov dword [ebx + 0x18], esi
mov eax, dword [ebx + 0x18]
push ecx
mov edi, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x50]
mov ecx, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x48], eax
call fcn.004415e0
mov dword [esp + 0x80], 2
lea eax, [esp + 0x60]
push ecx
mov ecx, eax
mov dword [esp + 0x48], eax
call fcn.004415e0
mov dword [esp + 0x80], 5
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
jbe 0x45d29d
mov esi, dword [ebx + 0x18]
xor edx, edx
mov eax, dword [esi + 0x58]
sub eax, dword [esi + 0x64]
div dword [esi + 0x2c]
cmp eax, edi
jb 0x45d115
mov edi, dword [esi + 0x2c]
imul edi, dword [esp + 0x18]
mov edx, dword [esi + 0x58]
mov eax, edx
sub eax, dword [esi + 0x64]
cmp eax, edi
jb 0x45d0c5
mov ecx, dword [esi + 0x5c]
cmp ecx, edx
jb 0x45d06c
sub ecx, edx
cmp ecx, edx
jae 0x45d066
lea eax, [ecx + edi]
cmp eax, edx
mov eax, dword [esi + 0x54]
jbe 0x45d085
mov dword [esp + 0x20], eax
lea eax, [eax + ecx*4]
sub edx, ecx
mov ecx, edi
sub ecx, edx
jmp 0x45d094
lea eax, [eax + ecx*4]
mov edx, edi
mov dword [esp + 0x20], 0
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov eax, edx
xor edx, edx
div dword [esi + 0x2c]
xor edx, edx
mov dword [esp + 0x34], eax
mov eax, ecx
div dword [esi + 0x2c]
mov ecx, dword [esi + 0x5c]
add ecx, edi
mov dword [esi + 0x5c], ecx
mov edx, dword [esi + 0x58]
mov dword [esp + 0x38], eax
cmp ecx, edx
jb 0x45d0c2
sub ecx, edx
mov dword [esi + 0x5c], ecx
add dword [esi + 0x64], edi
lea edi, [ebx + 0x78]
push edi
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x3c]
lea ecx, [ebx - 8]
push dword [esp + 0x28]
mov dword [esp + 0x24], 0
call fcn.0045cde0
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
test eax, eax
je 0x45d109
push edi
lea ecx, [esp + 0x18]
push ecx
push dword [esp + 0x40]
lea ecx, [ebx - 8]
push eax
call fcn.0045cde0
add esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
test esi, esi
je 0x45d16b
mov edi, dword [esp + 0x18]
mov ecx, dword [ebx + 0x18]
call fcn.0045b880
test eax, eax
je 0x45d12c
cmp eax, 1
je 0x45d035
jmp 0x45d16b
push 0
push edi
lea eax, [esp + 0x54]
push eax
lea ecx, [ebx + 0x78]
call fcn.004692d0
push 0
push dword [esp + 0x2c]
lea ecx, [esp + 0x54]
call fcn.00469860
lea eax, [esp + 0x60]
push eax
lea ecx, [ebx + 0xa0]
call fcn.004691b0
lea eax, [esp + 0x4c]
push eax
lea ecx, [ebx + 0xa0]
call fcn.00469130
mov esi, dword [ebx + 0x18]
xor edx, edx
mov eax, dword [esi + 0x78]
div dword [esi + 0x2c]
mov edx, dword [esp + 0x28]
cmp eax, edx
jb 0x45d29d
cmp edx, dword [ebp + 0xc]
mov edi, dword [esi + 0x2c]
mov eax, edx
cmova eax, dword [ebp + 0xc]
imul edi, eax
mov dword [esp + 0x44], eax
cmp dword [esi + 0x78], edi
jb 0x45d203
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x6c]
cmp ecx, edx
jb 0x45d1aa
sub ecx, edx
cmp ecx, edx
jae 0x45d1a4
lea eax, [ecx + edi]
cmp eax, edx
mov eax, dword [esi + 0x68]
jbe 0x45d1c3
mov dword [esp + 0x30], eax
lea eax, [eax + ecx*4]
sub edx, ecx
mov ecx, edi
sub ecx, edx
jmp 0x45d1d2
lea eax, [eax + ecx*4]
mov edx, edi
mov dword [esp + 0x30], 0
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov eax, edx
xor edx, edx
div dword [esi + 0x2c]
xor edx, edx
mov dword [esp + 0x3c], eax
mov eax, ecx
div dword [esi + 0x2c]
mov ecx, dword [esi + 0x74]
add ecx, edi
mov dword [esi + 0x74], ecx
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x40], eax
cmp ecx, edx
jb 0x45d200
sub ecx, edx
mov dword [esi + 0x74], ecx
sub dword [esi + 0x78], edi
mov eax, dword [ebx + 0x54]
mov esi, dword [esp + 0x3c]
mov edi, dword [ebp + 8]
imul eax, esi
shl eax, 2
push eax
push dword [esp + 0x30]
push edi
call fcn.0063a5b0
mov edx, dword [esp + 0x3c]
add esp, 0xc
test edx, edx
je 0x45d247
mov ecx, dword [ebx + 0x54]
mov eax, ecx
imul ecx, esi
imul eax, dword [esp + 0x40]
shl eax, 2
push eax
push edx
lea eax, [edi + ecx*4]
push eax
call fcn.0063a5b0
add esp, 0xc
mov edx, dword [esp + 0x44]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
add dword [eax], edx
mov eax, dword [ebx + 0x54]
imul eax, edx
push 0
lea edi, [edi + eax*4]
push edx
lea eax, [esp + 0x54]
sub esi, edx
lea ecx, [ebx + 0xa0]
push eax
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], edi
call fcn.004692d0
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x60]
push eax
call fcn.004691b0
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x4c]
push eax
call fcn.00469130
mov edi, dword [esp + 0x18]
test esi, esi
jne 0x45d035
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.0045c7f0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10