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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1668
call fcn.00420610
mov eax, dword [0x47c084]
xor eax, esp
mov dword [esp + 0x1664], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0x38
mov dword [esp + 0x24], eax
lea eax, [esp + 0x34]
push 0
push eax
call fcn.00413ad0
mov esi, 0x100
push esi
lea eax, [esp + 0x478]
push 0
push eax
mov dword [esp + 0x44], 0x3c
mov dword [esp + 0x54], eax
call fcn.00413ad0
lea ebx, [esi - 1]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x34], 0x58
mov dword [esp + 0x28], 0x35
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
imul eax, eax, 0x13
sub ecx, eax
mov eax, dword [esp + 0x34]
sub ecx, eax
mov eax, dword [esp + 0x34]
sub ecx, eax
mov eax, dword [esp + 0x34]
sub ecx, eax
add ecx, dword [esp + 0x28]
push 0x800
lea eax, [esp + 0x684]
push 0
mov dword [esp + 0x30], ecx
push eax
mov dword [esp + 0x7c], eax
call fcn.00413ad0
push esi
lea eax, [esp + 0x90]
push 0
push eax
mov dword [esp + 0x8c], 0x7ff
mov dword [esp + 0x78], eax
call fcn.00413ad0
mov dword [esp + 0x7c], ebx
lea eax, [esp + 0x298]
mov dword [esp + 0x80], eax
mov dword [esp + 0x3c], 8
add dword [esp + 0x3c], 0x1a
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
lea eax, [ecx + eax - 0x61]
add eax, dword [esp + 0x3c]
push 0xffffffffffffffe1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
imul eax, ecx
pop ecx
sub ecx, eax
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
imul eax, edx
mov edx, dword [esp + 0x3c]
imul eax, edx
sub ecx, eax
mov eax, dword [esp + 0x3c]
sub ecx, eax
mov eax, dword [esp + 0x3c]
sub ecx, eax
mov eax, dword [esp + 0x3c]
sub ecx, eax
add ecx, dword [esp + 0x3c]
push 0x5b
add ecx, dword [esp + 0x40]
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
imul eax, ecx
pop ecx
sub ecx, eax
add ecx, dword [esp + 0x3c]
push esi
add ecx, dword [esp + 0x40]
lea eax, [esp + 0x29c]
add ecx, dword [esp + 0x40]
push 0
mov dword [esp + 0x44], ecx
add dword [esp + 0x44], 0x3d
push eax
call fcn.00413ad0
fld qword [0x476998]
fst qword [esp + 0x4c]
add esp, 0x3c
fld qword [esp + 0x10]
fld qword [esp + 0x10]
fmul qword [0x476988]
fsubp st(1)
fsub qword [esp + 0x10]
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fadd qword [0x476980]
fld qword [esp + 0x10]
fdivrp st(2)
fsubrp st(1)
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fldz
fsub st(1), st(0)
fld qword [esp + 0x10]
fsubp st(2)
fld qword [esp + 0x10]
faddp st(2)
fxch st(1)
fadd qword [0x476978]
fsub qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fld qword [0x476970]
fadd st(1), st(0)
fxch st(1)
fstp qword [esp + 0x10]
fsubr qword [esp + 0x10]
fadd qword [esp + 0x10]
fadd qword [0x4768e0]
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fsub qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fdiv qword [0x476888]
fadd qword [esp + 0x10]
fsub qword [esp + 0x10]
fadd qword [0x476968]
fsub qword [esp + 0x10]
fsub qword [0x476960]
fadd qword [esp + 0x10]
fadd qword [0x476958]
fsub qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fsub qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fmul qword [0x476950]
fadd qword [esp + 0x10]
fsub qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fmul qword [esp + 0x10]
fsubrp st(1)
fld qword [esp + 0x10]
fdiv qword [0x476948]
fsubp st(1)
fld qword [esp + 0x10]
fmul qword [0x476910]
fsubp st(1)
fstp qword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
push 8
pop esi
mov dword [esp + 0x54], ebx
cmp dword [eax + 0x14], esi
jb 0x451b09
mov eax, dword [eax]
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
call fcn.0043fa78
test eax, eax
jne 0x451b36
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x451e48
and eax, 0xffff
or eax, 0x80070000
jmp 0x451e48
fld qword [0x476908]
push 0xffffffffffffffe1
fstp qword [esp + 0x24]
fld qword [esp + 0x24]
fsub qword [0x476900]
fstp qword [esp + 0x24]
fld qword [esp + 0x24]
fsub qword [0x4768f8]
fadd qword [esp + 0x24]
fadd qword [esp + 0x24]
fstp qword [esp + 0x24]
fld qword [esp + 0x24]
fld qword [esp + 0x24]
fdiv qword [0x4768f0]
fsubp st(1)
fld qword [esp + 0x24]
fdiv qword [0x4768e8]
fsubp st(1)
fsub qword [esp + 0x24]
fadd qword [esp + 0x24]
fstp qword [esp + 0x24]
fld qword [esp + 0x24]
fadd qword [0x4768e0]
fadd qword [esp + 0x24]
fadd qword [esp + 0x24]
fsub qword [esp + 0x24]
fld qword [esp + 0x24]
fmul qword [0x4768d8]
fsubp st(1)
fadd qword [0x4768d0]
fsub qword [esp + 0x24]
fsub qword [0x4768c8]
fstp qword [esp + 0x24]
fld qword [esp + 0x24]
fadd qword [esp + 0x24]
fstp qword [esp + 0x24]
fld qword [esp + 0x24]
fsub qword [0x4768c0]
fsub qword [esp + 0x24]
fld qword [esp + 0x24]
fmul qword [0x4768b8]
fmul qword [0x4768b0]
fdiv qword [0x4768a8]
faddp st(1)
fadd qword [esp + 0x24]
fadd qword [esp + 0x24]
fld qword [esp + 0x24]
fmul qword [0x4768a0]
fmul qword [esp + 0x24]
faddp st(1)
fstp qword [esp + 0x24]
fld qword [esp + 0x24]
fmul qword [0x476898]
fld qword [esp + 0x24]
fsub qword [0x476890]
faddp st(1)
fadd qword [esp + 0x24]
fld qword [esp + 0x24]
fmul qword [esp + 0x24]
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
faddp st(1)
fadd qword [0x476888]
fstp qword [esp + 0x24]
mov dword [esp + 0x10], esi
add dword [esp + 0x10], 0x1a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
lea eax, [ecx + eax - 0x61]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul eax, ecx
pop ecx
sub ecx, eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
imul eax, edx
mov edx, dword [esp + 0xc]
imul eax, edx
sub ecx, eax
mov eax, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esp + 0xc]
sub ecx, eax
add ecx, dword [esp + 0xc]
push 0x5b
add ecx, dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul eax, ecx
pop ecx
sub ecx, eax
add ecx, dword [esp + 0xc]
add ecx, dword [esp + 0xc]
add ecx, dword [esp + 0xc]
mov dword [esp + 0xc], ecx
add dword [esp + 0xc], 0x3d
mov ebx, dword [esp + 0x3c]
push ebx
call fcn.004132a1
pop ecx
lea esi, [edi + 4]
mov ecx, ebx
call fcn.00405b01
fld qword [0x476990]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fadd qword [esp + 0x20]
mov ebx, dword [esp + 0x58]
push ebx
fstp qword [esp + 0x24]
call fcn.004132a1
pop ecx
lea esi, [edi + 0x20]
mov ecx, ebx
call fcn.00405b01
movzx eax, word [esp + 0x44]
mov ebx, dword [esp + 0x48]
push ebx
mov dword [edi + 0x3c], eax
call fcn.004132a1
pop ecx
lea esi, [edi + 0x40]
mov ecx, ebx
call fcn.00405b01
mov dword [esp + 0xc], 0x54
mov dword [esp + 0x1c], 0x46
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
imul eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
imul eax, ecx
mov ecx, dword [esp + 0x1c]
imul eax, eax, 0x19
mov edx, dword [esp + 0xc]
imul ecx, edx
imul ecx, ecx, 0x13
sub eax, ecx
add eax, dword [esp + 0xc]
push 0x77
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
pop ecx
sub ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, eax
add ecx, dword [esp + 0xc]
push 0x3a
add ecx, dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x20]
cdq
pop ecx
idiv ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x50]
imul eax, ecx
mov dword [esp + 0xc], eax
push ebx
call fcn.004132a1
pop ecx
lea esi, [edi + 0x5c]
mov ecx, ebx
call fcn.00405b01
mov dword [esp + 0x10], 0x5a
mov dword [esp + 0xc], 0x40
mov dword [esp + 0x1c], 0x51
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
shl eax, 4
sub ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0xc]
push 0x53
pop ecx
sub ecx, eax
add ecx, dword [esp + 0x1c]
push 0x14
add ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x20]
imul eax, eax, 7
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
imul eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
pop ecx
sub ecx, eax
add ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0xc]
add eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
imul eax, eax, 0x59
imul ecx, edx
add eax, ecx
add eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
xor eax, eax
mov ecx, dword [esp + 0x166c]
pop esi
pop ebx
xor ecx, esp
call fcn.00411a01
mov esp, ebp
pop ebp
ret 4