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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x45b63e
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, 0x1778
call fcn.00432630
mov eax, dword [0x46e0a0]
xor eax, esp
mov dword [esp + 0x1774], eax
push ebx
push esi
mov eax, dword [0x46e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x17b8]
mov dword fs:[0], eax
push 0x38
lea eax, [esp + 0x48]
push 0
push eax
mov esi, ecx
call fcn.004251f0
add esp, 0xc
lea ecx, [esp + 0x57c]
push 0x100
mov edx, ecx
push 0
push edx
mov dword [esp + 0x4c], 0x3c
mov dword [esp + 0x5c], ecx
call fcn.004251f0
fldz
mov ebx, 0xff
mov dword [esp + 0x60], ebx
fstp qword [esp + 0x30]
mov dword [esp + 0x2c], 0x4f98
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
imul eax, ecx
lea eax, [eax + edx*2]
mov dword [esp + 0x2c], eax
add esp, 0xc
fild dword [esp + 0x20]
fsub qword [esp + 0x24]
fstp qword [esp + 0x24]
fld qword [esp + 0x24]
fmul qword [0x466118]
call fcn.004246d0
fstp qword [esp + 0x24]
lea ecx, [esp + 0x77c]
push 0x800
mov edx, ecx
push 0
push edx
mov dword [esp + 0x78], ecx
call fcn.004251f0
add esp, 0xc
lea eax, [esp + 0x17c]
push 0x100
mov ecx, eax
push 0
push ecx
mov dword [esp + 0x7c], 0x7ff
mov dword [esp + 0x68], eax
call fcn.004251f0
fld qword [0x466ae0]
add esp, 0xc
mov dword [esp + 0x60], ebx
call fcn.00422e40
fstp qword [esp + 0x2c]
push 0x7f
lea edx, [esp + 0x81]
push 0
push edx
mov byte [esp + 0x88], 0
call fcn.004251f0
fld qword [esp + 0x38]
add esp, 4
fstp qword [esp]
push str.a__lf_
lea eax, [esp + 0x88]
push 0x80
push eax
call fcn.00422fad
add esp, 0x14
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x80]
push 0x4621b8
push edx
call fcn.0042305b
add esp, 0xc
lea eax, [esp + 0x37c]
push 0x100
mov dword [esp + 0x68], eax
push 0
mov ecx, eax
push ecx
call fcn.004251f0
add esp, 0xc
cmp dword [esi + 0x14], 8
mov dword [esp + 0x68], ebx
mov ebx, dword [esi + 0x10]
jb 0x41a798
mov edx, dword [esi]
mov dword [esp + 0x20], edx
jmp 0x41a79c
mov dword [esp + 0x20], esi
mov eax, dword [0x4709b0]
test eax, eax
jne 0x41a7e0
push 0x240
call fcn.0042493b
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x17c0], 0
test eax, eax
je 0x41a7ce
mov esi, eax
call fcn.00415590
jmp 0x41a7d0
xor eax, eax
mov dword [esp + 0x17c0], 0xffffffff
mov dword [0x4709b0], eax
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 0x198]
lea ecx, [esp + 0x40]
push ecx
push 0
push ebx
push edx
call eax
test eax, eax
jne 0x41a816
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x41a9a9
and eax, 0xffff
or eax, 0x80070000
jmp 0x41a9a9
fld dword [0x466ad8]
sub esp, 8
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fadd qword [0x466ad0]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp qword [esp]
call fcn.00422e00
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fmul qword [0x4661f8]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp qword [esp]
push 0x4621b8
call fcn.0042307d
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
add esp, 0xc
push eax
mov dword [edi], ecx
mov ebx, eax
call fcn.004249bb
add esp, 4
lea esi, [edi + 4]
mov ecx, ebx
call fcn.004052ed
mov eax, dword [esp + 0x6c]
push eax
mov ebx, eax
call fcn.004249bb
add esp, 4
lea esi, [edi + 0x20]
mov ecx, ebx
call fcn.004052ed
fld qword [0x466ac8]
call fcn.00422e40
fstp qword [esp + 0x34]
push 0x7f
lea edx, [esp + 0x101]
push 0
push edx
mov byte [esp + 0x108], 0
call fcn.004251f0
fld qword [esp + 0x40]
add esp, 4
fstp qword [esp]
push str.a__lf_
lea eax, [esp + 0x108]
push 0x80
push eax
call fcn.00422fad
add esp, 0x14
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x100]
push 0x4621b8
push edx
call fcn.0042305b
fld qword [0x466ac0]
movzx eax, word [esp + 0x64]
mov dword [edi + 0x3c], eax
mov dword [esp + 0x2c], 0x1abd
add esp, 0xc
fstp qword [esp + 0x24]
mov ecx, dword [esp + 0x20]
imul ecx, ecx, 0x1883
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fld qword [esp + 0x24]
fadd st(0), st(0)
fsubp st(1)
fstp qword [esp + 0x24]
fld qword [esp + 0x24]
fcomp qword [0x466120]
fnstsw ax
test ah, 5
jp 0x41a968
fld qword [esp + 0x24]
fchs
fstp qword [esp + 0x24]
fld qword [esp + 0x24]
call fcn.00426330
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
push eax
mov ebx, eax
call fcn.004249bb
add esp, 4
lea esi, [edi + 0x40]
mov ecx, ebx
call fcn.004052ed
mov eax, dword [esp + 0x64]
push eax
mov ebx, eax
call fcn.004249bb
add esp, 4
lea esi, [edi + 0x5c]
mov ecx, ebx
call fcn.004052ed
xor eax, eax
mov ecx, dword [esp + 0x17b8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x1774]
xor ecx, esp
call fcn.00422ca7
mov esp, ebp
pop ebp
ret