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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x6e47f0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ecx], 0
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x34], ecx
lea edi, [ecx + 4]
push 0xa
mov dword [ebp - 0x40], eax
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x40]
mov esi, dword [ebp - 0x34]
mov ecx, esi
shr eax, 0x1c
and al, 3
mov byte [esi + 0x6d], al
call fcn.00562622
test al, al
jne 0x5620a7
mov ecx, esi
call fcn.00562542
test al, al
je 0x562313
cmp dword [esi], 0
je 0x562313
cmp byte [esi + 0x6d], 2
jne 0x5620ba
mov byte [esi + 0x6d], 1
lea edi, [esi + 4]
mov ecx, edi
call fcn.0050647d
mov ecx, eax
and ecx, 0xfffffffe
cmp byte [esi + 0x6b], 0
jne 0x5620d9
cmp byte [esi + 0x6c], 0
jne 0x5620d9
mov al, 1
jmp 0x5620db
xor al, al
cmp byte [esi + 0xe8], 0
mov byte [ebp - 0x2d], al
jne 0x562102
test al, al
jne 0x562102
test ecx, ecx
je 0x562102
push dword [esi + 0xa0]
mov ecx, edi
push dword [esi + 0x9c]
call fcn.0052369e
mov ecx, edi
call fcn.0050647d
cmp eax, 3
jg 0x5621c0
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00506497
test al, al
je 0x5621c0
cmp byte [ebp - 0x2d], 0
lea eax, [ebp - 0x2c]
je 0x562139
push dword [esi]
push eax
call fcn.00562448
pop ecx
jmp 0x56213f
push eax
call fcn.005624bd
pop ecx
test al, al
je 0x5621c0
movss xmm0, dword [ebp - 0x24]
addss xmm0, dword [0x6567d8]
push ecx
push ecx
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.004d2ca0
fstp dword [ebp - 0x34]
fld dword [ebp - 0x34]
fstp dword [ebp - 0x34]
movss xmm0, dword [ebp - 0x34]
xorps xmm0, xmmword [0x668fa0]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x18]
addss xmm0, dword [0x6567d8]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.004d2ca0
fstp dword [ebp - 0x34]
fld dword [ebp - 0x34]
mov ecx, edi
fstp dword [ebp - 0x34]
movss xmm0, dword [ebp - 0x34]
xorps xmm0, xmmword [0x668fa0]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [esp], xmm0
call fcn.0052477f
mov ecx, edi
call fcn.0050647d
and eax, 0x1f
mov ecx, edi
mov eax, dword [eax*4 + 0x67ae78]
mov dword [esi + 0x2c], eax
call fcn.0050647d
mov byte [esi + 0x6a], al
movss xmm0, dword [edi]
movaps xmm1, xmm0
mulss xmm0, dword [0x67e2e0]
mulss xmm1, dword [0x678628]
cvttss2si eax, xmm1
mov dword [esi + 0x60], eax
call fcn.004a0088
movss xmm0, dword [esi + 0x10]
movaps xmm1, xmm0
mov dword [esi + 0x30], eax
mulss xmm1, dword [0x678628]
mov dword [esi + 0x34], edx
mulss xmm0, dword [0x67e2e0]
cvttss2si eax, xmm1
mov dword [esi + 0x64], eax
call fcn.004a0088
mov dword [esi + 0x38], eax
mov ecx, edi
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x3c], edx
movzx eax, byte [eax + 0x37]
inc ax
mov word [esi + 0x68], ax
xor eax, eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
call fcn.0050647d
and eax, 0xfffffffe
neg eax
sbb al, al
inc al
cmp byte [esi + 0x6d], 3
mov byte [ebp - 0x3c], al
jne 0x562277
mov ecx, esi
call fcn.005a5e32
test al, al
jne 0x562277
mov byte [esi + 0x6d], 1
cmp byte [esi + 0x6d], 1
jne 0x562297
cmp byte [esi + 0x6a], 1
jbe 0x562293
mov eax, dword [esi]
mov ecx, dword [eax + 0x1c]
or ecx, dword [eax + 0x18]
test ecx, 0xffffc000
je 0x562297
mov byte [esi + 0x6d], 0
push dword [ebp - 0x3c]
mov ecx, esi
call fcn.005a4745
mov dword [esi + 0x78], eax
test eax, eax
je 0x562313
mov edx, dword [esi]
mov al, byte [esi + 0x6d]
mov byte [ebp - 0x35], al
mov ecx, dword [edx + 0x24]
cmp al, 3
jae 0x5623b4
mov eax, 0x100
cmp word [esi + 0x68], ax
sbb eax, eax
neg eax
mov edi, eax
or edi, 2
cmp byte [esi + 0x6a], 3
cmova edi, eax
cmp byte [ebp - 0x35], 0
jbe 0x5622dd
or edi, 4
mov eax, dword [edx + 0x20]
sub eax, 1
je 0x562339
sub eax, 1
je 0x562334
sub eax, 1
je 0x562325
dec eax
sub eax, 1
je 0x562309
sub eax, 1
jne 0x562313
cmp ecx, 2
je 0x562304
cmp ecx, 1
jne 0x562313
or edi, 0x10
jmp 0x56234b
cmp ecx, 2
je 0x56234b
cmp ecx, 1
je 0x56234b
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049f7c1
leave
ret 8
cmp ecx, 2
je 0x56232f
cmp ecx, 1
jne 0x562313
or edi, 0x18
jmp 0x56234b
or edi, 8
jmp 0x56234b
mov eax, dword [ebp - 0x40]
or edi, 0x20
push dword [eax + 0x34]
call fcn.0052f2cd
pop ecx
mov dword [esi + 0x5c], eax
mov ecx, dword [edi*4 + 0x67e1e8]
shr edi, 1
mov dword [esi + 0x7c], ecx
mov eax, dword [edi*4 + 0x67e288]
mov dword [esi + 0x80], eax
cmp eax, 0x55f2a3
jne 0x56238f
cmp byte [ebp - 0x2d], 0
je 0x56237a
mov dword [esi + 0x74], 0x55e8d8
jmp 0x5623a4
cmp byte [esi + 0x6b], 1
jne 0x5623a4
cmp byte [esi + 0x6c], 1
jne 0x5623a4
mov dword [esi + 0x74], 0x55f0e4
jmp 0x5623a4
cmp ecx, 0x561c0d
jne 0x5623a4
cmp byte [ebp - 0x2d], 0
je 0x5623a4
mov dword [esi + 0x70], 0x55eb0a
cmp dword [esi + 0x70], 0
jne 0x5623b4
mov ecx, esi
call fcn.005623c2
mov dword [esi + 0x70], eax
mov ecx, esi
call fcn.00553e55
mov al, 1
jmp 0x562315