Function at 0x100cd680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10391450
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x1049b0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], ecx
mov eax, dword [ebp + 8]
lea esi, [ecx + 4]
mov dword [ebp - 0xa8], ecx
push 0x8c
push 0
mov eax, dword [eax]
push esi
mov dword [ebp - 0x110], esi
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov ebx, dword [ecx + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xb8], eax
mov eax, dword [ecx + 4]
movss xmm0, dword [eax]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x98], eax
mov eax, dword [ecx + 0x10]
movss dword [ebp - 0xa8], xmm0
mov eax, dword [eax]
mov dword [ebp - 0xa4], eax
mov eax, dword [ecx + 0x14]
mov edi, dword [eax]
call fcn.1034c920
mov word [esi], 0
add esp, 0xc
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
lea ecx, [esi + 0x50]
mov dword [ebp - 4], 0
call fcn.10037b10
lea ecx, [esi + 0x50]
call fcn.10034260
mov esi, dword [ebp - 0xac]
lea ecx, [esi + 0x6c]
mov dword [ebp - 4], 1
call fcn.10037b10
lea ecx, [esi + 0x6c]
call fcn.10034260
mov dword [esi + 0x84], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x88], 0
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 4], 2
mov dword [esi + 8], edi
lea edi, [esi + 0xc]
mov dword [esi + 0x34], ecx
movq xmm0, qword [ebx]
movq qword [edi], xmm0
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x98]
movq xmm0, qword [eax]
movq qword [esi + 0x18], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], 0xd
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
movss xmm0, dword [0x1046efd8]
xor eax, 0x26996288
movss xmm3, dword [0x1046f094]
add ecx, 0xffffffd5
mov eax, dword [eax + 0x10c]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
mov dword [ebp - 0xa4], eax
neg eax
mov dword [esi + 0x40], eax
cmp ecx, 5
ja case.default.0x100cd87f
jmp dword [ecx*4 + 0x100ce01c]
movss xmm0, dword [0x1046f11c]
jmp 0x100cd8f9
mov eax, dword [0x11b92250]
movss xmm0, dword [0x1046f104]
add eax, 0xc6c19814
xor eax, 0x26996288
mov eax, dword [eax + 0x10c]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm0
jmp 0x100cd913
mov dword [esi + 0x2c], 0x3fc00000
jmp 0x100cd8f1
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov ecx, dword [eax + 0x248]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x2c]
xor eax, ecx
mov dword [ebp - 0x98], eax
movss xmm0, dword [ebp - 0x98]
movss dword [esi + 0x2c], xmm0
movss xmm0, dword [0x1046efc4]
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov eax, dword [eax + 0x10c]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
mov dword [esi + 0x3c], eax
mov eax, dword [0x11b92250]
lea ebx, [esi + 0x48]
movss xmm0, dword [0x1046f2e4]
add eax, 0xc6c19814
xor eax, 0x26996288
mov ecx, dword [esi + 0x38]
mov eax, dword [eax + 0x10c]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
cmp ecx, eax
jge 0x100cdf89
cmp dword [esi + 0x3c], ecx
jg 0x100cda88
mov eax, dword [esi + 0x34]
add eax, 0xffffffd5
cmp eax, 5
ja case.default.0x100cd96e
jmp dword [eax*4 + 0x100ce034]
movss xmm1, dword [esi + 0x1c]
movss xmm2, dword [esi + 0x18]
movss xmm0, dword [esi + 0x20]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
movss xmm0, dword [0x1046efb8]
comiss xmm0, xmm2
jb case.default.0x100cd96e
lea eax, [ebp - 0x99]
mov dword [esi + 0x40], ecx
push eax
push edi
mov ecx, ebx
mov byte [esi + 4], 1
mov byte [ebp - 0x99], 0
call fcn.100ccb70
jmp 0x100cda4e
movss xmm1, dword [esi + 0x1c]
movss xmm2, dword [esi + 0x18]
movss xmm0, dword [esi + 0x20]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
movss xmm0, dword [0x1046efdc]
comiss xmm0, xmm2
jb case.default.0x100cd96e
mov byte [ebp - 0x9a], 0
lea eax, [ebp - 0x9a]
jmp 0x100cda3e
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
movd xmm0, ecx
xor eax, 0x26996288
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x10c]
mulss xmm0, dword [eax + 0x20]
comiss xmm0, dword [esi + 0x2c]
jbe case.default.0x100cd96e
mov byte [ebp - 0x9b], 0
lea eax, [ebp - 0x9b]
push eax
mov dword [esi + 0x40], ecx
mov ecx, ebx
push edi
mov byte [esi + 4], 1
call fcn.100ccb70
movss xmm3, dword [0x1046f094]
mov eax, dword [0x11b92250]
movss xmm0, dword [0x1046f04c]
add eax, 0xc6c19814
xor eax, 0x26996288
mov ecx, dword [esi + 0x38]
mov eax, dword [eax + 0x10c]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
add eax, ecx
mov dword [esi + 0x3c], eax
cmp ecx, dword [ebp - 0xb8]
jl 0x100cdf4b
cmp byte [esi + 4], 0
jne 0x100cdf89
mov edx, dword [0x11b92250]
movss xmm3, dword [esi + 0x20]
add edx, 0xc6c19814
xor edx, 0x26996288
movaps xmm1, xmm3
mov ecx, dword [edx + 0x210]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x2c]
xor eax, ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x98], eax
movss xmm0, dword [ebp - 0x98]
mulss xmm0, dword [0x1046f080]
mov eax, dword [edx + 0x10c]
movss xmm2, dword [eax + 0x20]
mulss xmm0, xmm2
subss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esi + 0x18]
addss xmm3, xmm1
movss dword [ebp - 0xb0], xmm0
movaps xmm0, xmm2
movss dword [esi + 0x20], xmm1
mulss xmm0, dword [esi + 0x1c]
mulss xmm3, xmm2
movss dword [ebp - 0xb4], xmm0
mulss xmm3, dword [0x1046f094]
movss dword [ebp - 0x98], xmm3
call fcn.1003b510
movss xmm0, dword [ebp - 0xb0]
mov eax, 0x8400b
addss xmm0, dword [edi]
mov edx, dword [esi + 0x28]
mov ebx, 0x4208608b
cmp edx, 1
cmove ebx, eax
mov eax, dword [0x11b92250]
movss dword [ebp - 0xc4], xmm0
add eax, 0xc6c19814
movss xmm0, dword [ebp - 0xb4]
xor eax, 0x26996288
addss xmm0, dword [edi + 4]
movss dword [ebp - 0xc0], xmm0
movss xmm0, dword [ebp - 0x98]
addss xmm0, dword [edi + 8]
movss dword [ebp - 0xbc], xmm0
mov ecx, dword [eax + 0x114]
lea eax, [ebp - 0x64]
push eax
push edx
push dword [esi + 8]
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0x40000000
push ebx
push eax
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xcc], 0x40000000
push eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc8], 0x40000000
push eax
push edi
mov dword [ebp - 0xdc], 0xc0000000
mov dword [ebp - 0xd8], 0xc0000000
mov dword [ebp - 0xd4], 0xc0000000
call fcn.1027abb0
cmp byte [ebp - 0x2d], 0
je 0x100cdcc7
test dword [ebp - 0x34], 0x80000
je 0x100cdcc7
push 0x54
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.1034c920
add esp, 0xc
mov dword [ebp - 0x38], 0x3f800000
lea eax, [ebp - 0x7c]
mov ecx, 0x10527ba0
push eax
call fcn.100564a0
lea ecx, [ebp - 0x7c]
call fcn.10033ec0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x28], eax
call fcn.10033ed0
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov ecx, dword [eax + 0x114]
lea eax, [ebp - 0x64]
push eax
push dword [esi + 0x28]
mov eax, ebx
mov dword [ebp - 0xe8], 0x40000000
push dword [esi + 8]
and eax, 0xfff7ffff
mov dword [ebp - 0xe4], 0x40000000
push eax
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe0], 0x40000000
push eax
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xf4], 0xc0000000
push eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xf0], 0xc0000000
push eax
push edi
mov dword [ebp - 0xec], 0xc0000000
call fcn.1027abb0
movss xmm0, dword [0x1046f104]
comiss xmm0, dword [ebp - 0x38]
ja 0x100cdce5
cmp byte [ebp - 0x2e], 0
jne 0x100cdce5
cmp byte [ebp - 0x2d], 0
je 0x100cde27
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100cdd66
call fcn.1003b580
test al, al
je 0x100cdd66
push 0x54
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.1034c920
add esp, 0xc
mov dword [ebp - 0x38], 0x3f800000
lea eax, [ebp - 0x94]
mov ecx, 0x10527ba0
push eax
call fcn.100564a0
lea ecx, [ebp - 0x94]
call fcn.10033ec0
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x28], eax
call fcn.10033ed0
mov ecx, dword [0x11b92250]
lea eax, [ebp - 0x64]
push eax
push dword [esi + 0x28]
add ecx, 0xc6c19814
lea eax, [ebp - 0xc4]
push dword [esi + 8]
xor ecx, 0x26996288
push ebx
push eax
push edi
mov ecx, dword [ecx + 0x114]
call fcn.1027ab40
cmp byte [ebp - 0x2d], 0
je 0x100cde27
movss xmm0, dword [ebp - 0xb0]
mov dword [esi + 0x28], 3
mov eax, dword [0x11b92250]
movss xmm3, dword [edi]
add eax, 0xc6c19814
movss xmm2, dword [edi + 4]
addss xmm0, xmm3
movss xmm1, dword [edi + 8]
xor eax, 0x26996288
subss xmm3, dword [ebp - 0xb0]
mov ecx, dword [eax + 0x114]
lea eax, [ebp - 0x64]
movss dword [ebp - 0x100], xmm0
movss xmm0, dword [ebp - 0xb4]
addss xmm0, xmm2
movss dword [ebp - 0x10c], xmm3
subss xmm2, dword [ebp - 0xb4]
push eax
push 3
push dword [esi + 8]
movss dword [ebp - 0xfc], xmm0
lea eax, [ebp - 0x100]
movss xmm0, dword [ebp - 0x98]
addss xmm0, xmm1
movss dword [ebp - 0x108], xmm2
subss xmm1, dword [ebp - 0x98]
push 0x8400b
push eax
lea eax, [ebp - 0x10c]
push eax
movss dword [ebp - 0xf8], xmm0
movss dword [ebp - 0x104], xmm1
call fcn.1027ab40
movss xmm0, dword [ebp - 0x38]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100cde47
movq xmm0, qword [ebp - 0x58]
mov eax, dword [ebp - 0x50]
movq qword [edi], xmm0
mov dword [edi + 8], eax
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100cded0
call fcn.1003b580
test al, al
jne 0x100cded0
mov eax, dword [esi + 0x34]
cmp eax, 0x44
je 0x100cdeab
cmp eax, 0x2e
je 0x100cde6d
cmp eax, 0x30
jne 0x100cded0
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov ecx, dword [eax + 0x244]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x2c]
xor eax, ecx
mov dword [ebp - 0x98], eax
movss xmm0, dword [ebp - 0x98]
mulss xmm0, dword [0x1046efc0]
call fcn.1038879e
comiss xmm0, dword [ebp - 0x44]
ja 0x100cded0
mov eax, dword [esi + 0x38]
lea ebx, [esi + 0x48]
mov dword [esi + 0x40], eax
mov ecx, ebx
lea eax, [ebp - 0x9c]
mov byte [esi + 4], 1
push eax
push edi
mov byte [ebp - 0x9c], 1
call fcn.100ccb70
jmp 0x100cded3
lea ebx, [esi + 0x48]
cmp byte [esi + 4], 0
jne 0x100cdf86
movss xmm0, dword [ebp - 0x38]
ucomiss xmm0, dword [0x1046f104]
lahf
test ah, 0x44
jnp 0x100cdf17
mov eax, dword [esi + 0x38]
mov ecx, ebx
mov dword [esi + 0x40], eax
lea eax, [ebp - 0x9d]
push eax
push edi
mov byte [ebp - 0x9d], 1
call fcn.100ccb70
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 4]
call fcn.100c66d0
mov eax, dword [esi + 0x40]
add eax, dword [ebp - 0xa4]
mov ecx, dword [esi + 0x38]
cmp eax, ecx
jg 0x100cdf40
lea eax, [ebp - 0x9e]
mov dword [esi + 0x40], ecx
push eax
push edi
mov ecx, ebx
mov byte [ebp - 0x9e], 0
call fcn.100ccb70
movss xmm3, dword [0x1046f094]
lea ebx, [esi + 0x48]
mov ecx, dword [esi + 0x38]
movss xmm0, dword [0x1046f2e4]
inc ecx
mov dword [esi + 0x38], ecx
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov eax, dword [eax + 0x10c]
divss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
cvttss2si eax, xmm0
cmp ecx, eax
jl 0x100cd956
jmp 0x100cdf89
lea ebx, [esi + 0x48]
mov eax, dword [esi + 0x40]
add eax, dword [ebp - 0xa4]
mov edx, dword [esi + 0x38]
cmp eax, edx
jg 0x100cdfb2
lea eax, [ebp - 0x9f]
mov dword [esi + 0x40], edx
push eax
push edi
mov ecx, ebx
mov byte [ebp - 0x9f], 0
call fcn.100ccb70
mov ecx, dword [0x11b92250]
movd xmm0, dword [esi + 0x38]
add ecx, 0xc6c19814
cvtdq2ps xmm0, xmm0
xor ecx, 0x26996288
mov eax, dword [ebp - 0xac]
mov ecx, dword [ecx + 0x10c]
divss xmm0, dword [ecx + 0x20]
addss xmm0, dword [0x1046f094]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xa8]
movss dword [esi + 0x30], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102fe398
mov esp, ebp
pop ebp
ret 0x10