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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50a76b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
jne 0x45e084
xor al, al
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push 1
push 1
push esi
lea ecx, [esp + 0x78]
call fcn.00450e60
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec edi
mov ebx, 1
dec eax
cmp edi, ebx
mov dword [esp + 0x218], 0
mov dword [esp + 0x58], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
jle 0x45e2dd
cmp dword [esp + 0x10], 1
jle 0x45e2d0
lea eax, [ebx + 1]
xor edi, edi
mov dword [esp + 0x18], eax
lea eax, [edi + 1]
mov ecx, esi
push eax
push ebx
mov dword [esp + 0x30], eax
call fcn.0045f910
mov ecx, dword [esp + 0x28]
and eax, 0xff
mov dword [esp + 0x4c], eax
lea eax, [ebx - 1]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.0045f910
mov edx, dword [esp + 0x28]
and eax, 0xff
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
push edx
push eax
mov ecx, esi
call fcn.0045f910
and eax, 0xff
push edi
push ebx
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.0045f910
and eax, 0xff
mov ecx, esi
mov dword [esp + 0x34], eax
lea eax, [edi + 2]
push eax
push ebx
call fcn.0045f910
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
sub ecx, edx
and eax, 0xff
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x34]
fild dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
sub eax, ecx
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x18]
fmul qword [0x516d58]
lea ebx, [edi + 2]
push ebx
push ecx
mov ecx, esi
fstp qword [esp + 0x44]
fild dword [esp + 0x34]
fmul qword [0x516d58]
fstp qword [esp + 0x34]
fild dword [esp + 0x54]
fst qword [esp + 0x54]
fadd st(0), st(0)
fild dword [esp + 0x40]
fsub st(1)
fiadd dword [esp + 0x4c]
fstp qword [esp + 0x4c]
fild dword [esp + 0x64]
fsub st(1)
fiadd dword [esp + 0x3c]
fstp qword [esp + 0x64]
fstp st(0)
call fcn.0045f910
mov dl, al
mov eax, dword [esp + 0x1c]
and edx, 0xff
push ebx
push eax
mov ecx, esi
mov ebx, edx
call fcn.0045f910
and eax, 0xff
sub ebx, eax
push edi
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0045f910
mov edx, dword [esp + 0x14]
and eax, 0xff
sub ebx, eax
push edi
lea eax, [edx - 1]
mov ecx, esi
push eax
call fcn.0045f910
and eax, 0xff
add ebx, eax
mov dword [esp + 0x1c], ebx
fild dword [esp + 0x1c]
fmul qword [0x516f60]
fstp qword [esp + 0x1c]
fld qword [esp + 0x2c]
fmul qword [esp + 0x2c]
fld qword [esp + 0x3c]
fmul qword [esp + 0x3c]
fld st(1)
fadd qword [0x513498]
fmul qword [esp + 0x44]
fld qword [esp + 0x1c]
fmul qword [esp + 0x2c]
fmul qword [esp + 0x3c]
fsubp st(1)
fld st(1)
fadd qword [0x513498]
fmul qword [esp + 0x5c]
faddp st(1)
fstp qword [esp + 0x3c]
faddp st(1)
fadd qword [0x513498]
fdivr qword [esp + 0x3c]
fmul dword [ebp + 0xc]
fadd qword [esp + 0x4c]
fld qword [0x512d98]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x45e289
fld qword [0x512d90]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x45e289
fstp st(0)
fld qword [0x512d90]
jmp 0x45e2a0
fld qword [0x512d98]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x45e2a0
fstp st(0)
fld qword [0x512d98]
call fcn.004b50f0
mov edi, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x18]
push edi
push eax
lea ecx, [esp + 0x74]
call fcn.0045fc40
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
lea ecx, [edi + 1]
cmp ecx, eax
jl 0x45e0d4
mov edi, dword [esp + 0x58]
inc ebx
cmp ebx, edi
mov dword [esp + 0x14], ebx
jl 0x45e0c0
xor ebx, ebx
test edi, edi
jl 0x45e31c
push 0
push ebx
mov ecx, esi
call fcn.0045f910
push eax
push 0
push ebx
lea ecx, [esp + 0x74]
call fcn.0045fc40
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
push ebx
call fcn.0045f910
push eax
mov eax, dword [esp + 0x14]
push eax
push ebx
lea ecx, [esp + 0x74]
call fcn.0045fc40
inc ebx
cmp ebx, edi
jle 0x45e2e3
mov eax, dword [esp + 0x10]
xor ebx, ebx
test eax, eax
jl 0x45e35b
push ebx
push 0
mov ecx, esi
call fcn.0045f910
push eax
push ebx
push 0
lea ecx, [esp + 0x74]
call fcn.0045fc40
push ebx
push edi
mov ecx, esi
call fcn.0045f910
push eax
push ebx
push edi
lea ecx, [esp + 0x74]
call fcn.0045fc40
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jle 0x45e326
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
call fcn.004512a0
lea ecx, [esp + 0x68]
mov dword [esp + 0x218], 0xffffffff
mov dword [esp + 0x68], 0x511434
call fcn.00450d80
mov ecx, dword [esp + 0x210]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8