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

Disassembly:
sub esp, 0x13c
mov eax, dword [esp + 0x154]
push esi
push edi
push eax
call fcn.004150a0
mov edx, dword [0xec8058]
mov ecx, dword [0xec8060]
add esp, 4
inc edx
inc ecx
mov dword [esp + 0xc], eax
mov dword [0xec8060], ecx
mov ecx, 0x47
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x160]
mov dword [0xec8058], edx
mov dword [esp + 0xf0], 0x3f800000
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xdc], eax
mov eax, dword [0xec7ff8]
test eax, eax
mov dword [esp + 0xd8], edx
je 0x41c42c
mov eax, dword [esp + 0x154]
test eax, eax
jne 0x41bf5f
mov eax, 0x9b5b8c
mov ecx, dword [esp + 0x158]
test ecx, ecx
jne 0x41bf6f
mov ecx, 0x9b5b8c
push ebx
mov edx, dword [esp + 0x168]
push ebp
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 + 0x10], 3
mov dword [esp + 0x1c], ebp
fld dword [ecx + eax]
fadd dword [eax]
mov ebp, dword [esp + 0x20]
add eax, 4
fmul qword [0x4d63d8]
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 + 0x10]
dec ebp
mov dword [esp + 0x10], ebp
jne 0x41bfc8
mov esi, dword [esp + 0x174]
pop ebp
test esi, esi
pop ebx
je 0x41c033
mov ecx, 6
lea edi, [esp + 0x120]
rep movsd dword es:[edi], dword [esi]
jmp 0x41c09b
fld dword [esp + 0x40]
fcomp dword [esp + 0x48]
mov eax, dword [esp + 0x168]
mov dword [esp + 0x120], eax
fnstsw ax
test ah, 0x41
jne 0x41c05d
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x124], ecx
jmp 0x41c068
mov edx, dword [esp + 0x40]
mov dword [esp + 0x124], edx
fld dword [esp + 0x48]
fsub dword [esp + 0x124]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x12c], 0
mov dword [esp + 0x128], eax
mov dword [esp + 0x130], 0
fstp dword [esp + 0x134]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x40]
fld dword [esp + 0x44]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x34]
fadd dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x50], edx
fadd dword [esp + 0x40]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x40]
fstp dword [esp + 0xac]
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x98], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
lea ecx, [esp + 0x28]
test eax, eax
mov edx, 3
je 0x41c1e6
fld dword [ecx - 0xc]
fcomp dword [ecx]
fnstsw ax
test ah, 1
je 0x41c1ad
fld dword [ecx - 0xc]
fld dword [ecx + 0x104]
fabs
fsubp st(1)
fsub dword [esp + 0x124]
fstp dword [ecx + 0x94]
fld dword [ecx + 0x104]
fabs
fadd dword [ecx]
jmp 0x41c1d1
fld dword [ecx]
fld dword [ecx + 0x104]
fabs
fsubp st(1)
fsub dword [esp + 0x124]
fstp dword [ecx + 0x94]
fld dword [ecx + 0x104]
fabs
fadd dword [ecx - 0xc]
fadd dword [esp + 0x124]
add ecx, 4
dec edx
fstp dword [ecx + 0x9c]
jne 0x41c17b
jmp 0x41c21f
fld dword [ecx - 0xc]
fcomp dword [ecx]
fld dword [ecx + 0xc]
fnstsw ax
test ah, 1
je 0x41c205
fadd dword [ecx - 0xc]
fstp dword [ecx + 0x94]
fld dword [ecx + 0x18]
fadd dword [ecx]
jmp 0x41c213
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 0x41c1e6
mov esi, dword [esp + 0x14c]
mov edi, dword [esp + 0x150]
fld dword [esi]
fcomp dword [edi]
fnstsw ax
test ah, 0x40
je 0x41c2c8
fld dword [esi + 4]
fcomp dword [edi + 4]
fnstsw ax
test ah, 0x40
je 0x41c2c8
fld dword [esi + 8]
fcomp dword [edi + 8]
fnstsw ax
test ah, 0x40
je 0x41c2c8
mov eax, dword [esp + 0x15c]
test eax, eax
je 0x41c2b6
cmp eax, 0x1fe
jne 0x41c29c
mov eax, dword [esp + 0x120]
push 0x1fe
test eax, eax
je 0x41c28a
lea ecx, [esp + 0x20]
push ecx
call fcn.0041a6a0
add esp, 8
jmp 0x41c3cc
lea edx, [esp + 0x20]
push edx
call fcn.0041a970
add esp, 8
jmp 0x41c3cc
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x1c]
add eax, 0x18
push eax
push ecx
call fcn.0041a5a0
add esp, 8
jmp 0x41c3cc
lea edx, [esp + 0x1c]
push edx
call fcn.0041aa60
add esp, 4
jmp 0x41c3cc
fld dword [esp + 0x34]
fcomp dword [0x4d6388]
fnstsw ax
test ah, 0x40
je 0x41c329
fld dword [esp + 0x38]
fcomp dword [0x4d6388]
fnstsw ax
test ah, 0x40
je 0x41c329
fld dword [esp + 0x3c]
fcomp dword [0x4d6388]
fnstsw ax
test ah, 0x40
je 0x41c329
mov dword [esp + 0xe4], 1
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0
jmp 0x41c355
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0xe4], 0
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov eax, dword [esp + 0x15c]
test eax, eax
je 0x41c3ac
cmp eax, 0x1fe
jne 0x41c395
mov eax, dword [esp + 0x120]
push 0x1fe
test eax, eax
je 0x41c386
lea eax, [esp + 0x20]
push eax
call fcn.0041b830
add esp, 8
jmp 0x41c3cc
lea ecx, [esp + 0x20]
push ecx
call fcn.0041bac0
add esp, 8
jmp 0x41c3cc
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x1c]
add edx, 0x18
push edx
push eax
call fcn.0041b070
add esp, 8
jmp 0x41c3cc
lea ecx, [esp + 0x28]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x3f800000
push 0
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.0041bbb0
add esp, 0x18
fld dword [esp + 0xf0]
fcomp dword [0x4d63c0]
fnstsw ax
test ah, 0x40
je 0x41c3ff
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], eax
jmp 0x41c42c
mov ecx, edi
lea edx, [esp + 0xf4]
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 + 0xf0]
fadd dword [eax - 4]
fstp dword [edx + eax - 4]
jne 0x41c413
mov edi, dword [esp + 0x148]
mov ecx, 0xe
lea esi, [esp + 0xe8]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
add esp, 0x13c
ret