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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1670
call fcn.00420090
mov eax, dword [0x47b084]
xor eax, esp
mov dword [esp + 0x166c], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0x38
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00413550
mov dword [esp + 0x40], 0x3c
lea eax, [esp + 0x7c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x1c], 0x33
mov dword [esp + 0x24], 0x1f
mov dword [esp + 0x14], 0x20
mov eax, dword [esp + 0x24]
add esp, 0xc
cdq
push 0x3b
pop ecx
idiv ecx
push 0x14
pop ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
cdq
idiv ecx
mov ecx, dword [esp + 0x10]
sub eax, ecx
add eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jg 0x4503a8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
imul eax, ecx
mov ecx, dword [esp + 0x10]
imul eax, eax, 0xb
lea eax, [eax + ecx + 5]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov esi, 0x100
push esi
lea eax, [esp + 0x74]
push 0
push eax
call fcn.00413550
mov dword [esp + 0x14], 0x47
mov dword [esp + 0x14], 0x55
mov dword [esp + 0x14], 0x44
mov dword [esp + 0x14], 0x13
add esp, 0xc
push 0x1e
pop eax
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 8]
imul ecx, ecx, 0x4c
mov dword [esp + 8], ecx
lea ecx, [esp + 0x670]
mov dword [esp + 0x60], ecx
lea ebx, [esi - 1]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x10], 0x2e
mov dword [esp + 0x18], 0x45
mov dword [esp + 8], eax
mov dword [esp + 0x18], 0x3f
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jge 0x450496
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
imul eax, ecx
mov ecx, dword [esp + 0x18]
imul eax, eax, 0xffffffdb
imul ecx, ecx, 0x5c
sub eax, ecx
mov ecx, dword [esp + 0x10]
imul ecx, ecx, 0x1c
sub eax, ecx
add eax, dword [esp + 8]
add eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 8]
cmp ecx, eax
jl 0x450496
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
shl eax, 3
sub eax, ecx
mov ecx, dword [esp + 0x18]
lea eax, [eax + ecx + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x18], eax
push 0x800
lea eax, [esp + 0x674]
push 0
push eax
call fcn.00413550
fld qword [0x4759d0]
fstp qword [esp + 0x14]
lea eax, [esp + 0x47c]
fld qword [esp + 0x14]
push esi
fsub qword [esp + 0x18]
push 0
fsub qword [esp + 0x1c]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fsub qword [0x4759c8]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fmul qword [0x4759c0]
fsub qword [esp + 0x1c]
fadd qword [esp + 0x1c]
fsub qword [esp + 0x1c]
fadd qword [esp + 0x1c]
fadd qword [esp + 0x1c]
fld qword [esp + 0x1c]
fmul qword [0x4759b8]
faddp st(1)
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fdiv qword [0x4759b0]
fmul qword [esp + 0x1c]
fadd qword [esp + 0x1c]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fmul qword [esp + 0x1c]
fmul qword [esp + 0x1c]
fld qword [esp + 0x1c]
fadd qword [esp + 0x1c]
fsub qword [0x4759a8]
faddp st(1)
fadd qword [0x4759a0]
fadd qword [esp + 0x1c]
fsub qword [0x475998]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fsub qword [0x4759f8]
fadd qword [esp + 0x1c]
fsub qword [0x475990]
fsub qword [esp + 0x1c]
fsub qword [esp + 0x1c]
fld qword [esp + 0x1c]
fmul qword [0x475988]
faddp st(1)
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fmul qword [esp + 0x1c]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fadd qword [0x475980]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fadd qword [esp + 0x1c]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fadd qword [esp + 0x1c]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fmul qword [0x475978]
fdiv qword [0x475930]
fdiv qword [0x475970]
fadd qword [esp + 0x1c]
fld qword [esp + 0x1c]
fmul qword [0x4759e8]
fmul qword [esp + 0x1c]
faddp st(1)
fld qword [esp + 0x1c]
mov dword [esp + 0x78], 0x7ff
fadd st(0), st(0)
mov dword [esp + 0x64], eax
faddp st(1)
fstp qword [esp + 0x1c]
push eax
call fcn.00413550
fld qword [0x475968]
fstp qword [esp + 0x20]
add esp, 0x18
fld qword [0x475960]
fstp qword [esp + 0x10]
fld qword [0x475958]
fstp qword [esp + 0x18]
fld qword [0x475950]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fadd qword [esp + 8]
fstp qword [esp + 0x10]
fld qword [esp + 8]
fmul qword [0x475948]
fstp qword [esp + 0x18]
fld qword [esp + 0x20]
fadd qword [0x475940]
fld qword [esp + 8]
fmul qword [0x475938]
faddp st(1)
fadd qword [esp + 0x18]
fsub qword [esp + 0x10]
fadd qword [esp + 8]
fsub qword [esp + 8]
fstp qword [esp + 0x18]
fld qword [esp + 8]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 5
jp 0x4506b0
fld qword [esp + 0x20]
fmul qword [esp + 0x10]
fadd qword [esp + 8]
fsub qword [esp + 0x18]
fld qword [esp + 0x18]
fmul qword [0x475930]
fsubp st(1)
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fmul qword [0x475928]
fmul qword [esp + 8]
fld qword [esp + 0x18]
fadd qword [esp + 0x10]
faddp st(1)
fstp qword [esp + 0x20]
push esi
lea eax, [esp + 0x274]
push 0
push eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], eax
call fcn.00413550
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x10]
add esp, 0xc
cmp dword [eax + 0x14], 8
mov dword [esp + 0x5c], ebx
jb 0x4506de
mov eax, dword [eax]
lea edx, [esp + 0x34]
push edx
push ecx
push eax
call fcn.0043deb1
test eax, eax
jne 0x45070b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x450872
and eax, 0xffff
or eax, 0x80070000
jmp 0x450872
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push ebx
mov dword [edi], eax
call fcn.00412d19
pop ecx
lea esi, [edi + 4]
mov ecx, ebx
call fcn.004055b1
fld qword [0x475a00]
fstp qword [esp + 0x28]
fld qword [0x4759f8]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fmul qword [esp + 0x28]
fld qword [esp + 0x28]
fsub qword [esp + 0x28]
faddp st(1)
fld qword [esp + 0x20]
fmul qword [0x4759f0]
fmul qword [esp + 0x20]
mov ebx, dword [esp + 0x60]
push ebx
fsubp st(1)
fsub qword [0x4759e8]
fstp qword [esp + 0x24]
call fcn.00412d19
pop ecx
lea esi, [edi + 0x20]
mov ecx, ebx
call fcn.004055b1
movzx eax, word [esp + 0x4c]
mov dword [edi + 0x3c], eax
mov dword [esp + 8], 0x46
mov dword [esp + 0x10], 0x14
mov dword [esp + 0x18], 6
mov eax, dword [esp + 0x10]
push 0xffffffffffffffcd
pop ecx
sub ecx, eax
mov eax, dword [esp + 0x18]
sub ecx, eax
add ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x10]
add ecx, dword [esp + 8]
add ecx, dword [esp + 8]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul eax, ecx
mov ecx, dword [esp + 0x10]
imul ecx, ecx, 0x1d
add eax, ecx
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x50]
lea eax, [eax + ecx - 0x8c]
mov dword [esp + 8], eax
push ebx
call fcn.00412d19
pop ecx
lea esi, [edi + 0x40]
mov ecx, ebx
call fcn.004055b1
mov dword [esp + 0x18], 0x21
mov dword [esp + 0x10], 0x57
mov dword [esp + 8], 0x17
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
imul eax, ecx
push 0xb
pop ecx
sub ecx, eax
mov eax, dword [esp + 8]
sub ecx, eax
add ecx, dword [esp + 8]
add ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
imul eax, eax, 0x61
add eax, dword [esp + 0x10]
add eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
push ebx
mov dword [esp + 0x14], eax
call fcn.00412d19
pop ecx
lea esi, [edi + 0x5c]
mov ecx, ebx
call fcn.004055b1
xor eax, eax
mov ecx, dword [esp + 0x1674]
pop esi
pop ebx
xor ecx, esp
call fcn.00411479
mov esp, ebp
pop ebp
ret 4