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

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4ef400]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esp], ecx
push ebx
push ebp
mov ebx, dword [eax + 0x378]
push esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x10], esi
push edi
test edx, edx
je 0x41f2ff
test byte [edx + 0x9c], 1
jne 0x41f2ff
mov eax, dword [edx + 0x18]
mov edi, edx
test eax, eax
je 0x41f2f9
nop dword [eax]
mov edi, eax
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x41f2f0
mov eax, dword [esp + 0x40]
jmp 0x41f301
mov edi, edx
test ebx, ebx
je 0x41f30a
mov ebp, dword [ebx + 0x10]
jmp 0x41f30d
mov ebp, dword [eax + 0x24]
test edx, edx
je 0x41f316
mov ecx, dword [edx + 0x10]
jmp 0x41f319
mov ecx, dword [ecx + 0x24]
cmp byte [esp + 0x4c], 0
mov byte [esi + 0xa1], 1
jne 0x41f396
test ecx, 0x10000
jne 0x41f396
test edx, edx
je 0x41f34e
test cl, 4
je 0x41f342
mov eax, dword [edx + 0x10]
shr eax, 0xb
test al, 1
jne 0x41f396
cmp dword [edx + 0x1c], 0
jne 0x41f34e
cmp dword [edx + 0x24], 0
je 0x41f35e
test ebx, ebx
je 0x41f35e
cmp dword [ebx + 0x1c], 0
je 0x41f35e
cmp dword [ebx + 0x78], 0
je 0x41f396
test ecx, 0x80000
jne 0x41f396
test ebp, 0x100000
je 0x41f37e
test edx, edx
je 0x41f396
cmp dword [edx + 0x1c], 0
jne 0x41f396
cmp dword [edx + 0x24], 0
jne 0x41f396
test ebp, 0x200000
je 0x41f39d
test edx, edx
je 0x41f39d
cmp dword [edx + 0x1c], 0
jne 0x41f39d
cmp dword [edx + 0x24], 0
jne 0x41f39d
mov byte [esi + 0xa1], 0
mov byte [esi + 0xa2], 1
test cl, 0x10
jne 0x41f3fa
mov eax, dword [0x4f0690]
cmp byte [eax + 0xb0], 0
jne 0x41f3fa
cmp byte [esp + 0x4c], 0
jne 0x41f3ea
test edx, edx
je 0x41f3ea
cmp dword [edx + 0x18], 0
jne 0x41f3ea
mov eax, dword [edx + 0x10]
shr eax, 0xb
test al, 1
je 0x41f3ea
mov ebx, dword [esp + 0x10]
mov byte [esi + 0xa2], 0
mov al, byte [edx + 0x9c]
shr al, 2
and al, 1
jmp 0x41f420
test ecx, 0x20000
jne 0x41f3fa
test ebp, 0x40000
je 0x41f401
mov byte [esi + 0xa2], 0
test edx, edx
je 0x41f416
mov al, byte [edx + 0x9c]
mov ebx, dword [esp + 0x10]
shr al, 2
and al, 1
jmp 0x41f420
mov ebx, dword [esp + 0x10]
mov al, byte [ebx + 0xc8]
test al, al
jne 0x41f435
mov eax, dword [esp + 0x40]
cmp byte [eax + 0xc8], 0
jne 0x41f435
xor al, al
jmp 0x41f437
mov al, 4
mov cl, byte [esi + 0x9c]
and cl, 0xfb
or cl, al
mov byte [esi + 0x9c], cl
test edx, edx
je 0x41f453
mov eax, 1
jmp 0x41f45b
mov eax, dword [ebx + 8]
shr eax, 5
not eax
shl al, 3
xor al, cl
and al, 8
xor al, cl
lea ecx, [edi + 0x34]
mov byte [esi + 0x9c], al
test edi, edi
jne 0x41f474
lea ecx, [ebx + 0x40]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x38], ecx
lea ecx, [edi + 0x3c]
mov dword [esi + 0x34], eax
test edi, edi
jne 0x41f489
lea ecx, [ebx + 0x48]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ecx
mov dword [esi + 0xa4], edx
mov dword [esi + 0xa8], 0xffffffff
mov byte [esi + 0xa3], 0
cmp byte [ebx + 0xc2], 0
jne 0x41f53e
or edx, 0xffffffff
nop dword [eax + eax]
cmp edx, 0xffffffff
jne 0x41f4ce
cmp byte [esi + 0xa1], 0
jmp 0x41f4d5
cmp byte [esi + 0xa2], 0
je 0x41f538
mov eax, dword [0x4f0690]
lea ecx, [esp + 0x24]
movss xmm1, dword [esi + 0x34]
add eax, 0xe4
movss xmm0, dword [esi + 0x38]
push eax
push dword [esp + 0x50]
movss dword [esp + 0x2c], xmm1
lea eax, [edx + 0xc]
addss xmm1, dword [esi + 0x3c]
movss dword [esp + 0x30], xmm0
addss xmm0, dword [esi + 0x40]
shl eax, 4
add eax, esi
push eax
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm0
call fcn.0041ef30
add esp, 0xc
test al, al
je 0x41f538
mov dword [esi + 0xa8], edx
mov byte [esi + 0xa3], 1
inc edx
cmp edx, 4
jl 0x41f4c0
mov ecx, dword [esi + 0xa8]
cmp ecx, 0xffffffff
jne 0x41f556
cmp byte [esi + 0xa1], 0
jne 0x41f556
xor al, al
jmp 0x41f558
mov al, 1
cmp byte [esp + 0x48], 0
mov byte [esi + 0xa0], al
mov eax, dword [0x4f0690]
jne 0x41f583
cmp byte [esi + 0xa3], 0
jne 0x41f583
cmp byte [eax + 0xb1], 0
jne 0x41f583
mov byte [esi + 0xa0], 0
mov dword [esi + 0xac], 0
xorps xmm1, xmm1
cmp ecx, 0xffffffff
je 0x41f723
test ecx, ecx
je 0x41f5ad
cmp ecx, 1
je 0x41f5ad
lea ebx, [esp + 0x20]
mov ebp, 0x40
jmp 0x41f5b6
lea ebx, [esp + 0x1c]
mov ebp, 0x3c
mov edx, dword [esp + 0x40]
movss xmm6, dword [eax + 0x15f4]
movss xmm2, dword [esi + 0x34]
movss xmm4, dword [esi + 0x38]
movss xmm5, dword [esi + 0x3c]
movss xmm0, dword [esi + 0x40]
movss xmm3, dword [edx + 0x4c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
movss dword [esp + 0x18], xmm6
test ecx, ecx
je 0x41f626
cmp ecx, 1
je 0x41f626
lea edx, [esp + 0x1c]
movaps xmm6, xmm2
mov dword [esp + 0x10], edx
lea eax, [esp + 0x24]
lea edi, [esp + 0x20]
movaps xmm7, xmm5
lea edx, [esp + 0x28]
jmp 0x41f653
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x20]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x28]
movaps xmm6, xmm4
lea edi, [esp + 0x1c]
movaps xmm7, xmm0
lea edx, [esp + 0x24]
movss xmm3, dword [esi + 0x48]
movaps xmm0, xmm5
mov esi, dword [esp + 0x14]
movaps xmm4, xmm2
comiss xmm3, xmm1
movss xmm5, dword [esp + 0x18]
subss xmm0, xmm5
movss dword [eax], xmm6
mov eax, dword [esp + 0x10]
movaps xmm2, xmm0
movss dword [eax], xmm7
mulss xmm2, dword [0x4e68f0]
jbe 0x41f67e
comiss xmm2, xmm3
jae 0x41f689
cvttss2si eax, xmm2
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [edi], xmm3
subss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cmp ecx, 1
je 0x41f6b5
cmp ecx, 3
je 0x41f6b5
test ecx, ecx
je 0x41f6af
cmp ecx, 2
jne 0x41f6c1
movss dword [edx], xmm4
jmp 0x41f6c1
addss xmm0, xmm4
addss xmm0, xmm5
movss dword [edx], xmm0
movss xmm0, dword [ebx]
divss xmm0, dword [esi + ebp]
movss xmm2, dword [0x4e6934]
comiss xmm1, xmm0
ja 0x41f6de
movaps xmm1, xmm2
minss xmm1, xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esi + 0x34], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esi + 0x38], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esi + 0x3c], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esi + 0x40], xmm0
cmp ecx, 1
je 0x41f714
cmp ecx, 3
jne 0x41f71b
subss xmm2, xmm1
movaps xmm1, xmm2
movss dword [esi + 0xac], xmm1
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ca5c5
add esp, 0x2c
ret