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

Disassembly:
sub esp, 0x13c
mov eax, dword [esp + 0x154]
push ebx
push ebp
push esi
push edi
push eax
call fcn.00413750
mov ebp, dword [0xdff7b8]
mov ebx, dword [0xdff7c0]
inc ebp
push 0x11c
lea ecx, [esp + 0x2c]
inc ebx
push 0
push ecx
mov dword [esp + 0x20], eax
mov dword [0xdff7b8], ebp
mov dword [0xdff7c0], ebx
call fcn.0041e2d0
mov eax, dword [esp + 0x178]
add esp, 0x10
mov dword [esp + 0xf8], 0x3f800000
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0xdc], edx
mov edx, dword [eax + 8]
mov eax, dword [0xdff758]
mov dword [esp + 0xe0], ecx
test eax, eax
mov dword [esp + 0xe4], edx
je 0x41abab
mov eax, dword [esp + 0x15c]
test eax, eax
jne 0x41a6f5
mov eax, 0x9ac0cc
mov ecx, dword [esp + 0x160]
test ecx, ecx
jne 0x41a705
mov ecx, 0x9ac0cc
mov edx, dword [esp + 0x16c]
lea ebp, [esp + 0x24]
mov ebx, dword [esp + 0x154]
sub ebp, eax
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x158]
sub ebp, eax
mov dword [esp + 0xe8], edx
lea edx, [esp + 0x140]
lea esi, [esp + 0x3c]
lea edi, [esp + 0x48]
mov dword [esp + 0x18], ebp
lea ebp, [esp + 0x30]
sub edx, eax
sub esi, eax
sub ecx, eax
sub edi, eax
sub ebx, eax
sub ebp, eax
mov dword [esp + 0x14], 3
mov dword [esp + 0x1c], ebp
fld dword [ecx + eax]
fadd dword [eax]
mov ebp, dword [esp + 0x20]
add eax, 4
fmul qword [0x4d73c0]
fst dword [edx + eax - 4]
fld dword [eax - 4]
fsub st(1)
fstp dword [esi + eax - 4]
fld dword [ecx + eax - 4]
fsub st(1)
fstp dword [edi + eax - 4]
fld st(0)
fadd dword [ebx + eax - 4]
fstp dword [eax + ebp - 4]
mov ebp, dword [esp + 0x18]
fadd dword [eax + ebp - 4]
mov ebp, dword [esp + 0x1c]
fstp dword [eax + ebp - 4]
mov ebp, dword [esp + 0x14]
dec ebp
mov dword [esp + 0x14], ebp
jne 0x41a75c
mov esi, dword [esp + 0x174]
xor ebx, ebx
cmp esi, ebx
je 0x41a7c7
mov ecx, 6
lea edi, [esp + 0x128]
rep movsd dword es:[edi], dword [esi]
jmp 0x41a82f
fld dword [esp + 0x48]
fcomp dword [esp + 0x50]
mov eax, dword [esp + 0x170]
mov dword [esp + 0x128], eax
fnstsw ax
test ah, 0x41
jne 0x41a7f1
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x12c], ecx
jmp 0x41a7fc
mov edx, dword [esp + 0x48]
mov dword [esp + 0x12c], edx
fld dword [esp + 0x50]
fsub dword [esp + 0x12c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x134], 0
mov dword [esp + 0x130], eax
mov dword [esp + 0x138], 0
fstp dword [esp + 0x13c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x48]
fld dword [esp + 0x4c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x3c]
fadd dword [esp + 0x50]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x58], edx
fadd dword [esp + 0x48]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x48]
fstp dword [esp + 0xb4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
cmp eax, ebx
lea ecx, [esp + 0x30]
mov edx, 3
je 0x41a980
fld dword [ecx - 0xc]
fcomp dword [ecx]
fnstsw ax
test ah, 1
je 0x41a947
fld dword [ecx - 0xc]
fld dword [ecx + 0x104]
fabs
fsubp st(1)
fsub dword [esp + 0x12c]
fstp dword [ecx + 0x94]
fld dword [ecx + 0x104]
fabs
fadd dword [ecx]
jmp 0x41a96b
fld dword [ecx]
fld dword [ecx + 0x104]
fabs
fsubp st(1)
fsub dword [esp + 0x12c]
fstp dword [ecx + 0x94]
fld dword [ecx + 0x104]
fabs
fadd dword [ecx - 0xc]
fadd dword [esp + 0x12c]
add ecx, 4
dec edx
fstp dword [ecx + 0x9c]
jne 0x41a915
jmp 0x41a9b9
fld dword [ecx - 0xc]
fcomp dword [ecx]
fld dword [ecx + 0xc]
fnstsw ax
test ah, 1
je 0x41a99f
fadd dword [ecx - 0xc]
fstp dword [ecx + 0x94]
fld dword [ecx + 0x18]
fadd dword [ecx]
jmp 0x41a9ad
fadd dword [ecx]
fstp dword [ecx + 0x94]
fld dword [ecx + 0x18]
fadd dword [ecx - 0xc]
fstp dword [ecx + 0xa0]
add ecx, 4
dec edx
jne 0x41a980
mov esi, dword [esp + 0x154]
mov edi, dword [esp + 0x158]
fld dword [esi]
fcomp dword [edi]
fnstsw ax
test ah, 0x40
je 0x41aa56
fld dword [esi + 4]
fcomp dword [edi + 4]
fnstsw ax
test ah, 0x40
je 0x41aa56
fld dword [esi + 8]
fcomp dword [edi + 8]
fnstsw ax
test ah, 0x40
je 0x41aa56
mov eax, dword [esp + 0x164]
cmp eax, ebx
je 0x41aa44
cmp eax, 0x1ff
je 0x41aa23
cmp eax, 0x1fe
je 0x41aa23
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
add ecx, 0x18
push ecx
push edx
call fcn.00418d30
add esp, 8
jmp 0x41ab4b
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
add eax, 0x18
mov dword [esp + 0x128], ebx
push eax
push ecx
call fcn.00418d30
add esp, 8
jmp 0x41ab4b
lea edx, [esp + 0x24]
push edx
call fcn.004191f0
add esp, 4
jmp 0x41ab4b
fld dword [esp + 0x3c]
fcomp dword [0x4d7378]
fnstsw ax
test ah, 0x40
je 0x41aab7
fld dword [esp + 0x40]
fcomp dword [0x4d7378]
fnstsw ax
test ah, 0x40
je 0x41aab7
fld dword [esp + 0x44]
fcomp dword [0x4d7378]
fnstsw ax
test ah, 0x40
je 0x41aab7
mov dword [esp + 0xec], 1
mov dword [esp + 0xc0], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
jmp 0x41aadf
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0xec], ebx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov eax, dword [esp + 0x164]
cmp eax, ebx
je 0x41ab2d
cmp eax, 0x1ff
je 0x41ab0f
cmp eax, 0x1fe
je 0x41ab0f
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
add eax, 0x18
push eax
push ecx
call fcn.00419800
add esp, 8
jmp 0x41ab4b
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x24]
add edx, 0x18
mov dword [esp + 0x128], ebx
push edx
push eax
call fcn.00419800
add esp, 8
jmp 0x41ab4b
lea ecx, [esp + 0x30]
lea edx, [esp + 0x24]
push ecx
push edx
push 0x3f800000
push ebx
lea eax, [esp + 0x34]
push ebx
push eax
call fcn.0041a340
add esp, 0x18
fld dword [esp + 0xf8]
fcomp dword [0x4d7390]
fnstsw ax
test ah, 0x40
je 0x41ab7e
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], edx
mov dword [esp + 0x104], eax
jmp 0x41abab
mov ecx, edi
lea edx, [esp + 0xfc]
sub ecx, esi
mov eax, esi
sub edx, esi
mov esi, 3
fld dword [ecx + eax]
fsub dword [eax]
add eax, 4
dec esi
fmul dword [esp + 0xf8]
fadd dword [eax - 4]
fstp dword [edx + eax - 4]
jne 0x41ab92
mov edi, dword [esp + 0x150]
mov ecx, 0xe
lea esi, [esp + 0xf0]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x13c
ret