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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1668
call fcn.004209a0
mov eax, dword [0x484084]
xor eax, esp
mov dword [esp + 0x1664], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push 0x38
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x2c]
push ebx
push eax
mov dword [esp + 0x30], ebx
call fcn.00413e50
mov dword [esp + 0x1c], 0x46
mov dword [esp + 0x14], 0x37
mov eax, dword [esp + 0x14]
push 0xfffffffffffffffb
pop ecx
sub ecx, eax
add ecx, dword [esp + 0x1c]
push 0x19
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
imul ecx, eax
mov eax, dword [esp + 0x20]
cdq
pop esi
idiv esi
push 0xfffffffffffffff4
pop esi
add ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
imul eax, eax, 0x12
sub eax, ecx
mov ecx, dword [esp + 0x1c]
shl eax, 2
sub eax, ecx
add eax, dword [esp + 0x14]
add eax, dword [esp + 0x1c]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
imul eax, eax, 9
add eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
imul ecx, eax
mov eax, dword [esp + 0x14]
cdq
idiv esi
sub eax, ecx
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea eax, [eax + ecx + 7]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
sub eax, ecx
add eax, dword [esp + 0x1c]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 0x3c
lea eax, [esp + 0x474]
mov esi, 0x100
push esi
push ebx
push eax
mov dword [esp + 0x4c], eax
call fcn.00413e50
fld qword [0x47ed18]
mov dword [esp + 0x28], 0x2a
mov dword [esp + 0x20], 6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
imul eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
add esp, 0x18
push 0xffffffffffffff8a
pop ecx
sub ecx, eax
mov eax, dword [esp + 8]
sub ecx, eax
add ecx, dword [esp + 8]
lea eax, [esp + 0x668]
add ecx, dword [esp + 0x10]
lea ebx, [esi - 1]
add ecx, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov dword [esp + 8], ecx
mov dword [esp + 0x38], ebx
fstp qword [esp + 0x10]
fld qword [0x47ede8]
fstp qword [esp + 8]
fld qword [0x47ed10]
fstp qword [esp + 8]
fld qword [0x47ed38]
fstp qword [esp + 0x60]
fld qword [esp + 8]
fld qword [esp + 8]
fucompp
fnstsw ax
test ah, 0x44
jp 0x45aa11
fld qword [esp + 8]
fadd qword [esp + 0x10]
fstp qword [esp + 8]
push 0x800
lea eax, [esp + 0x66c]
push 0
push eax
call fcn.00413e50
mov dword [esp + 0x60], 0x7ff
lea eax, [esp + 0x74]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], 0x2a
mov dword [esp + 0x14], 6
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
imul eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
push 0xffffffffffffff8a
pop ecx
sub ecx, eax
mov eax, dword [esp + 0x14]
sub ecx, eax
add ecx, dword [esp + 0x14]
push esi
add ecx, dword [esp + 0x20]
lea eax, [esp + 0x78]
add ecx, dword [esp + 0x20]
push 0
push eax
mov dword [esp + 0x20], ecx
call fcn.00413e50
push esi
lea eax, [esp + 0x284]
push 0
push eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], eax
call fcn.00413e50
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x10]
add esp, 0x24
cmp dword [eax + 0x14], 8
mov dword [esp + 0x4c], ebx
jb 0x45aaae
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
push ecx
push eax
call fcn.00445807
test eax, eax
jne 0x45aadb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x45ac33
and eax, 0xffff
or eax, 0x80070000
jmp 0x45ac33
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push ebx
mov dword [edi], eax
call fcn.00413623
pop ecx
lea esi, [edi + 4]
mov ecx, ebx
call fcn.004057bb
mov ebx, dword [esp + 0x50]
push ebx
call fcn.00413623
pop ecx
lea esi, [edi + 0x20]
mov ecx, ebx
call fcn.004057bb
fld qword [0x47ece8]
movzx eax, word [esp + 0x3c]
mov dword [edi + 0x3c], eax
fstp qword [esp + 8]
fld qword [0x47ece0]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fadd qword [esp + 8]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fsub qword [esp + 0x18]
fld qword [esp + 0x18]
fld qword [0x47ecd8]
fdiv st(1), st(0)
fxch st(2)
faddp st(1)
fstp qword [esp + 8]
fld qword [esp + 0x18]
fmul qword [esp + 8]
fsub qword [0x47ecd0]
fld qword [esp + 0x18]
fmulp st(2)
fsubrp st(1)
fsub qword [esp + 8]
fstp qword [esp + 8]
fld qword [esp + 0x18]
fadd qword [esp + 0x18]
fsub qword [0x47ecc8]
fstp qword [esp + 8]
fld qword [esp + 8]
mov ebx, dword [esp + 0x40]
fmul qword [0x47ecc0]
push ebx
fstp qword [esp + 0x1c]
call fcn.00413623
pop ecx
lea esi, [edi + 0x40]
mov ecx, ebx
call fcn.004057bb
fld qword [0x47ece8]
fstp qword [esp + 8]
fld qword [0x47ece0]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fadd qword [esp + 8]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fsub qword [esp + 0x18]
fld qword [esp + 0x18]
fld qword [0x47ecd8]
fdiv st(1), st(0)
fxch st(2)
faddp st(1)
fstp qword [esp + 8]
fld qword [esp + 0x18]
fmul qword [esp + 8]
fsub qword [0x47ecd0]
fld qword [esp + 0x18]
fmulp st(2)
fsubrp st(1)
fsub qword [esp + 8]
fstp qword [esp + 8]
fld qword [esp + 0x18]
fadd qword [esp + 0x18]
fsub qword [0x47ecc8]
fstp qword [esp + 8]
fld qword [esp + 8]
mov ebx, dword [esp + 0x48]
fmul qword [0x47ecc0]
push ebx
fstp qword [esp + 0x1c]
call fcn.00413623
pop ecx
lea esi, [edi + 0x5c]
mov ecx, ebx
call fcn.004057bb
xor eax, eax
mov ecx, dword [esp + 0x166c]
pop esi
pop ebx
xor ecx, esp
call fcn.00411d83
mov esp, ebp
pop ebp
ret 4