Function at 0x100ca650
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x10187fc4]
push ebx
push esi
push edi
cmp byte [eax + 0x32c4], 0
mov edi, ecx
mov dword [esp + 0x14], edx
je 0x100cac0b
lea ecx, [eax + 0x32cc]
call fcn.100b0a50
test al, al
je 0x100cac0b
mov eax, dword [0x10189648]
mov ecx, dword [eax]
test ecx, ecx
je 0x100cac0b
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x100cac0b
mov eax, dword [0x10189648]
mov ecx, 0x394634f0
mov esi, dword [eax]
call fcn.100b44d0
test byte [eax + esi], 1
jne 0x100cac0b
movss xmm0, dword [0x1026fabc]
xorps xmm0, xmmword [0x101775b0]
comiss xmm0, dword [0x1026fab8]
jbe 0x100ca746
mov ecx, 0xad2bbff4
call fcn.100b44d0
push ecx
fld dword [eax + esi + 8]
fstp dword [esp]
call fcn.10148134
fstp dword [esp + 0x2c]
fld dword [0x1026fabc]
fstp dword [esp]
call fcn.10148134
movss xmm1, dword [esp + 0x2c]
add esp, 4
fstp dword [esp + 0x2c]
movss xmm0, dword [esp + 0x2c]
xorps xmm0, xmmword [0x101775b0]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x100ca746
mov ecx, 0xc84de670
call fcn.100b44d0
cmp dword [eax + esi + 1], 9
je 0x100ca746
mov byte [0x1026fab4], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10187fcc]
mov edx, dword [esp + 0x14]
mov ecx, dword [0x10188b58]
movss xmm1, dword [edi + 0x28]
mov eax, dword [eax + 0x50]
movq xmm0, qword [edx]
movss xmm2, dword [edi + 0x24]
movq qword [esp + 0x48], xmm0
mov esi, dword [eax + 0x1c]
mov eax, dword [edx + 8]
movq xmm0, qword [edi + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword fs:[0x2c]
mov byte [0x1026fab4], 0
movq qword [esp + 0x40], xmm0
movss dword [esp + 0x20], xmm1
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10273194]
movss dword [esp + 0x24], xmm2
cmp eax, dword [ecx + 4]
jle 0x100ca803
push 0x10273194
call fcn.1011ea28
mov edx, dword [esp + 0x18]
add esp, 4
cmp dword [0x10273194], 0xffffffff
jne 0x100ca7f7
movq xmm0, qword [edx]
movq qword [0x102731a8], xmm0
mov eax, dword [edx + 8]
push 0x10273194
mov dword [0x102731b0], eax
call fcn.1011e9d7
mov edx, dword [esp + 0x18]
add esp, 4
movss xmm2, dword [esp + 0x24]
movss xmm1, dword [esp + 0x20]
cmp byte [0x1026fab5], 0
jne 0x100ca877
movq xmm0, qword [edx]
movq qword [0x10272fa4], xmm0
mov eax, dword [edx + 8]
mov dword [0x10272fac], eax
movss xmm0, dword [edx]
subss xmm0, dword [0x102731a8]
mov eax, dword [esp + 0x50]
movss dword [0x10272f04], xmm1
movss xmm1, dword [edx + 4]
subss xmm1, dword [0x102731ac]
movss dword [0x10272f08], xmm2
movss xmm2, dword [edx + 8]
subss xmm2, dword [0x102731b0]
mov dword [0x10272f0c], eax
movss dword [0x10272ef8], xmm0
movss dword [0x10272efc], xmm1
movss dword [0x10272f00], xmm2
movq xmm0, qword [edx]
lea ecx, [esi - 1]
mov esi, dword [esp + 0x18]
movq qword [0x102731a8], xmm0
mov eax, dword [edx + 8]
mov dword [0x102731b0], eax
xor eax, eax
and esi, 4
mov byte [0x1026fab5], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x1c], esi
nop word [eax + eax]
mov eax, dword [0x1026fac0]
test eax, eax
je 0x100ca8c7
mov dword [esp + 0x10], eax
mov dword [0x1026fac0], 0
mov eax, dword [0x10187fc0]
push ecx
push 0
mov eax, dword [eax + 0x168]
call eax
mov edx, dword [esp + 0x10]
test esi, esi
je 0x100ca8ee
cmp edx, 2
mov eax, 2
cmovl edx, eax
mov dword [esp + 0x10], edx
movq xmm0, qword [0x10272fa4]
mov al, dl
mov ecx, dword [esp + 0x18]
not al
movq qword [edi + 0xc], xmm0
and al, 1
movss xmm0, dword [0x10272f04]
mov byte [esp + 0xf], al
mov eax, dword [0x10272fac]
movss dword [edi + 0x28], xmm0
movss xmm0, dword [0x10272f08]
mov dword [edi + 0x14], eax
mov dword [edi + 0x30], ecx
movss dword [edi + 0x24], xmm0
mov eax, dword [0x10187fc4]
mov dword [esp + 0x28], 0
cmp dword [eax + 0x32c8], 0
jle 0x100caab6
mov ecx, dword [edi + 0x30]
mov eax, ecx
and eax, 0xfffffffb
or ecx, 4
cmp edx, 1
cmovle ecx, eax
cmp byte [esp + 0xf], 0
mov dword [edi + 0x30], ecx
je 0x100ca9b0
movss xmm0, dword [0x10272ef8]
lea ecx, [edi + 0xc]
addss xmm0, dword [edi + 0xc]
movss dword [edi + 0xc], xmm0
movss xmm0, dword [0x10272efc]
addss xmm0, dword [edi + 0x10]
movss dword [edi + 0x10], xmm0
movss xmm0, dword [0x10272f00]
addss xmm0, dword [edi + 0x14]
movss dword [edi + 0x14], xmm0
call fcn.10077150
lea eax, [esp + 0x5c]
push eax
lea ecx, [edi + 0xc]
call fcn.100c86a0
jmp 0x100ca9be
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov ecx, edi
call fcn.10080a90
movss xmm0, dword [0x1026fabc]
xorps xmm0, xmmword [0x101775b0]
comiss xmm0, dword [0x1026fab8]
mov esi, dword [0x10189648]
jbe 0x100caa48
mov ecx, 0xad2bbff4
call fcn.100b44d0
push ecx
mov ecx, dword [esi]
fld dword [eax + ecx + 8]
fstp dword [esp]
call fcn.10148134
fstp dword [esp + 0x38]
fld dword [0x1026fabc]
fstp dword [esp]
call fcn.10148134
movss xmm1, dword [esp + 0x38]
add esp, 4
fstp dword [esp + 0x30]
movss xmm0, dword [esp + 0x30]
xorps xmm0, xmmword [0x101775b0]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x100caa48
mov ecx, 0xc84de670
call fcn.100b44d0
mov ecx, dword [esi]
cmp dword [eax + ecx + 1], 9
jne 0x100caacd
mov esi, dword [esi]
mov ecx, 0xad2bbff4
mov byte [0x1026fab4], 0
call fcn.100b44d0
mov ecx, 0x394634f0
movss xmm0, dword [eax + esi + 8]
movss dword [0x1026fab8], xmm0
call fcn.100b44d0
test byte [eax + esi], 1
jne 0x100caaaa
mov ecx, 0xc84de670
call fcn.100b44d0
mov edx, dword [esp + 0x10]
cmp dword [eax + esi + 1], 9
je 0x100caaae
mov esi, dword [esp + 0x28]
mov eax, dword [0x10187fc4]
inc esi
mov dword [esp + 0x28], esi
cmp esi, dword [eax + 0x32c8]
jl 0x100ca948
jmp 0x100caaae
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc edx
mov dword [esp + 0x10], edx
cmp edx, 4
jge 0x100caba8
mov ecx, dword [esp + 0x38]
jmp 0x100ca8b0
mov ecx, 0xad2bbff4
mov byte [0x1026fab4], 1
call fcn.100b44d0
cmp byte [esp + 0xf], 0
mov ecx, dword [esi]
movss xmm0, dword [eax + ecx + 8]
mov eax, dword [edi + 0x30]
movss dword [0x1026fab8], xmm0
mov dword [0x1026fa8c], eax
je 0x100cab8b
movss xmm0, dword [0x10272fa4]
movss xmm2, dword [0x10272fa8]
movss xmm1, dword [0x10272fac]
addss xmm0, dword [0x10272ef8]
addss xmm2, dword [0x10272efc]
mov esi, dword [esp + 0x14]
mov ecx, esi
addss xmm1, dword [0x10272f00]
mov byte [0x1026fab5], 1
movss dword [esi], xmm0
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm1
call fcn.10077150
lea eax, [esp + 0x5c]
mov ecx, esi
push eax
call fcn.100c86a0
movq xmm0, qword [esi]
movq qword [0x10272fa4], xmm0
mov eax, dword [esi + 8]
movss xmm0, dword [0x10272f04]
mov dword [0x10272fac], eax
movss dword [edi + 0x28], xmm0
movss xmm0, dword [0x10272f08]
movss dword [edi + 0x24], xmm0
movq xmm0, qword [esp + 0x40]
mov eax, dword [esp + 0x2c]
movq qword [edi + 0xc], xmm0
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [0x1026fac0], eax
jmp 0x100cabe8
movq xmm0, qword [esp + 0x40]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
movq qword [edi + 0xc], xmm0
movq xmm0, qword [esp + 0x48]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x3c]
movq qword [edx], xmm0
movss xmm0, dword [esp + 0x20]
mov dword [edx + 8], eax
movss dword [edi + 0x28], xmm0
movss xmm0, dword [esp + 0x24]
mov dword [edi + 0x30], ecx
movss dword [edi + 0x24], xmm0
mov eax, dword [0x10187fcc]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + 0x1c]
dec eax
push eax
mov eax, dword [0x10187fc0]
push 0
mov eax, dword [eax + 0x168]
call eax
mov ecx, edi
call fcn.10080a90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret