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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1668
call fcn.00420150
mov eax, dword [0x47d084]
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.00413610
push 0x4e
mov dword [esp + 0x3c], 0x3c
pop ebx
lea eax, [esp + 0x474]
mov dword [esp + 0x48], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0x20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
imul eax, ecx
cdq
push 0xd
pop ecx
idiv ecx
mov ecx, dword [esp + 0x14]
mov esi, 0x100
push esi
push 0
sub eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
imul eax, ecx
imul eax, eax, 0x4b
mov ecx, 0xffffff60
sub ecx, eax
mov eax, dword [esp + 0x20]
sub ecx, eax
mov eax, dword [esp + 0x20]
sub ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, eax
add ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x20]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x47c]
push eax
call fcn.00413610
fld qword [0x477948]
mov dword [esp + 0x58], 0xff
lea eax, [esp + 0x680]
mov dword [esp + 0x70], eax
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fld qword [0x477958]
fadd st(1), st(0)
fxch st(1)
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fsub qword [esp + 0x28]
fld qword [esp + 0x28]
fmul qword [0x477940]
fsubp st(1)
fadd qword [esp + 0x28]
fld qword [esp + 0x28]
fmul qword [0x477938]
fmul qword [0x477930]
fmul qword [esp + 0x28]
fmul qword [0x477928]
fsubp st(1)
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fadd qword [0x477920]
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fadd qword [esp + 0x28]
push 0x800
fld qword [esp + 0x2c]
push 0
fmul qword [0x477918]
push eax
fsubp st(1)
fsub qword [0x477910]
fstp qword [esp + 0x34]
fld qword [esp + 0x34]
fsub qword [0x477908]
fstp qword [esp + 0x34]
fld qword [esp + 0x34]
fmul qword [0x477900]
fsub qword [esp + 0x34]
fsub qword [0x4778f8]
fstp qword [esp + 0x34]
fld qword [esp + 0x34]
fmul qword [esp + 0x34]
fadd qword [esp + 0x34]
fsub qword [esp + 0x34]
fadd qword [esp + 0x34]
fadd qword [esp + 0x34]
fsub qword [esp + 0x34]
fsub qword [esp + 0x34]
fld qword [esp + 0x34]
fmul qword [0x4778f0]
faddp st(1)
fadd qword [esp + 0x34]
fadd qword [esp + 0x34]
faddp st(1)
fstp qword [esp + 0x34]
fld qword [esp + 0x34]
fmul qword [0x4778e8]
fsub qword [esp + 0x34]
fld qword [esp + 0x34]
fmul qword [esp + 0x34]
faddp st(1)
fld qword [0x477950]
fadd st(1), st(0)
fld qword [esp + 0x34]
fsubp st(2)
fxch st(1)
fsub qword [0x4778e0]
fsub qword [esp + 0x34]
fadd qword [esp + 0x34]
fsub qword [0x4778d8]
fadd qword [esp + 0x34]
fsub qword [0x4778d0]
fstp qword [esp + 0x34]
fld qword [esp + 0x34]
fsub qword [esp + 0x34]
fld qword [esp + 0x34]
fmul qword [0x4778c8]
fsubp st(1)
fsub qword [esp + 0x34]
fld qword [esp + 0x34]
fmulp st(2)
fxch st(1)
fmul qword [0x4778c0]
faddp st(1)
fld qword [esp + 0x34]
fmul qword [esp + 0x34]
faddp st(1)
fstp qword [esp + 0x34]
call fcn.00413610
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 0x20
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
sub eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
imul eax, ecx
cdq
push 0xd
pop ecx
idiv ecx
mov ecx, dword [esp + 0x2c]
sub eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
imul eax, ecx
imul eax, eax, 0x4b
mov ecx, 0xffffff60
sub ecx, eax
mov eax, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x2c]
sub ecx, eax
add ecx, dword [esp + 0x2c]
push 0x4d
add ecx, dword [esp + 0x34]
pop ebx
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x30]
mov dword [esp + 0x80], 0x7ff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 0x3e
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], 0x5c
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], 0x1d
mov eax, dword [esp + 0x3c]
imul eax, eax, 7
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
imul eax, ecx
mov ecx, dword [esp + 0x2c]
sub eax, ecx
mov ecx, dword [esp + 0x34]
sub eax, ecx
mov ecx, dword [esp + 0x40]
sub eax, ecx
sub eax, 0x62
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
add eax, 0x2b
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
sub ecx, eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
lea eax, [ecx + eax + 0x5b]
push esi
mov dword [esp + 0x38], eax
lea eax, [esp + 0x90]
push 0
push eax
mov dword [esp + 0x78], eax
call fcn.00413610
push esi
lea eax, [esp + 0x29c]
push 0
push eax
mov dword [esp + 0x88], 0xff
mov dword [esp + 0x8c], eax
call fcn.00413610
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x10]
add esp, 0x3c
cmp dword [eax + 0x14], 8
mov dword [esp + 0x54], 0xff
jb 0x452a76
mov eax, dword [eax]
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
call fcn.004407e8
test eax, eax
jne 0x452aa3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x452cb7
and eax, 0xffff
or eax, 0x80070000
jmp 0x452cb7
mov eax, dword [esp + 0x38]
mov dword [edi], eax
mov dword [esp + 0xc], 0x4e
mov dword [esp + 8], 0x20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
sub eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
imul eax, ecx
cdq
push 0xd
pop ecx
idiv ecx
mov ecx, dword [esp + 8]
sub eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
imul eax, ecx
imul eax, eax, 0x4b
mov ecx, 0xffffff60
sub ecx, eax
mov eax, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esp + 8]
sub ecx, eax
add ecx, dword [esp + 8]
add ecx, dword [esp + 0xc]
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 8]
add eax, dword [esp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x24], eax
call fcn.00412dc7
pop ecx
mov ecx, dword [esp + 0x20]
lea esi, [edi + 4]
call fcn.00405741
mov dword [esp + 8], 0x28
add dword [esp + 8], 0x62
mov ecx, dword [esp + 8]
mov eax, dword [esp + 8]
imul ecx, eax
mov eax, dword [esp + 8]
cdq
push 0x54
pop esi
idiv esi
push 0x2c
add ecx, eax
mov eax, dword [esp + 0xc]
sub ecx, eax
sub ecx, 0x11
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc]
cdq
pop ecx
idiv ecx
push 0x34
pop ecx
cdq
idiv ecx
add eax, dword [esp + 8]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
imul eax, eax, 0x3d
sub ecx, eax
mov eax, dword [esp + 8]
sub ecx, eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 8]
imul eax, eax, 9
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
imul eax, eax, 0x59
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
push eax
mov dword [esp + 0x24], eax
call fcn.00412dc7
pop ecx
mov ecx, dword [esp + 0x20]
lea esi, [edi + 0x20]
call fcn.00405741
movzx eax, word [esp + 0x44]
fld qword [0x477970]
mov dword [edi + 0x3c], eax
fstp qword [esp + 0x10]
fld qword [0x477968]
fstp qword [esp + 0x20]
fld qword [0x477960]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fadd qword [esp + 0x10]
mov eax, dword [esp + 0x48]
push eax
fstp qword [esp + 0x24]
mov dword [esp + 0x24], eax
call fcn.00412dc7
pop ecx
mov ecx, dword [esp + 0x20]
lea esi, [edi + 0x40]
call fcn.00405741
mov dword [esp + 0x10], 0x3e
mov dword [esp + 0x1c], ebx
mov dword [esp + 8], 0x5c
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], 0x1d
mov eax, dword [esp + 0x18]
imul eax, eax, 7
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
sub eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
imul eax, ecx
mov ecx, dword [esp + 8]
sub eax, ecx
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
sub eax, ecx
sub eax, 0x62
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
add eax, 0x2b
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
sub ecx, eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x50]
lea eax, [ecx + eax + 0x5b]
push ebx
mov dword [esp + 0x14], eax
call fcn.00412dc7
pop ecx
lea esi, [edi + 0x5c]
mov ecx, ebx
call fcn.00405741
xor eax, eax
mov ecx, dword [esp + 0x166c]
pop esi
pop ebx
xor ecx, esp
call fcn.00411527
mov esp, ebp
pop ebp
ret 4