Function at 0x101c9650
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov edi, 8
mov dword [ebp - 0x38], edi
mov ecx, eax
mov dword [ebp - 0x2c], ecx
test eax, eax
je 0x101c9777
mov eax, dword [ebp + 0x18]
test cl, 1
je 0x101c96c3
test ebx, ebx
mov ecx, edx
cmovne ecx, edi
mov edi, ecx
je 0x101c96b4
test edi, edi
jne 0x101c96b4
test al, 2
jne 0x101c96b4
mov ecx, dword [ebp - 0x28]
mov edi, edx
mov dword [ebp + ebx*4 - 0x28], ecx
lea ecx, [edx + edx*8]
mov ecx, dword [esi + ecx*8 + 0x10]
mov dword [ebp - 0x28], ecx
jmp 0x101c96bf
lea ecx, [edx + edx*8]
mov ecx, dword [esi + ecx*8 + 0x10]
mov dword [ebp + ebx*4 - 0x28], ecx
mov ecx, dword [ebp - 0x2c]
inc ebx
inc edx
shr ecx, 1
mov dword [ebp - 0x2c], ecx
jne 0x101c9687
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], ebx
test edi, edi
jne 0x101c9777
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x618], eax
jae 0x101c970d
shl eax, 3
push eax
push dword [esi + 0x60c]
call fcn.1043d2ce
add esp, 8
test eax, eax
je 0x101c9c14
mov dword [esi + 0x60c], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x618], eax
mov eax, dword [esi + 0x30]
cmp dword [esi + 0x614], eax
jae 0x101c9744
lea eax, [eax + eax*2]
shl eax, 3
push eax
push dword [esi + 0x608]
call fcn.1043d2ce
add esp, 8
test eax, eax
je 0x101c9c14
mov dword [esi + 0x608], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x614], eax
mov eax, dword [esi + 0x24]
shl eax, 3
push eax
push dword [esi + 0x18]
push dword [esi + 0x60c]
call fcn.10425d60
mov eax, dword [esi + 0x38]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push dword [esi + 0x2c]
push dword [esi + 0x608]
call fcn.10425d60
add esp, 0xc
lea eax, [edi*8 + 2]
xorps xmm0, xmm0
add eax, edi
cmp dword [esi + eax*8 + 0x20], 6
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x5c], 0x354
movups xmmword [ebp - 0x6c], xmm0
lea edx, [esi + eax*8]
mov eax, dword [esi + 0x250]
mov dword [ebp - 0x34], edx
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x48], ecx
mov ecx, 1
mov dword [ebp - 0x4c], eax
jb 0x101c9c14
cmp dword [edx + 0xc], 6
jb 0x101c9c14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [eax + 8], 0xfffffd3d
mov ebx, dword [edx + 8]
mov edi, dword [edx + 0x1c]
add ebx, 8
mov eax, dword [ebp + 0x18]
add edi, 0x18
mov edx, eax
and edx, ecx
mov dword [ebp - 0x3c], edx
mov edx, eax
jne 0x101c99e7
shr edx, 1
mov dword [ebp - 0x2c], edx
test cl, dl
jne 0x101c99e9
mov eax, dword [esi + 0x5e0]
mov eax, dword [eax + 0x38]
cmp dword [eax + 0x14], 0
jbe 0x101c9a6e
test byte [esi + 0x604], 0x10
je 0x101c99d2
mov eax, dword [ebp - 0x34]
mov ecx, esi
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.101c30a0
mov ecx, dword [0x11d0c5b8]
mov eax, dword fs:[0x2c]
mov edx, dword [esi + 0x5e0]
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x60], 0
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x7a68]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x5c]
mov ecx, dword [eax + 8]
lea eax, [ecx + 8]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x6c], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x68], ecx
mov ecx, dword [eax]
mov eax, 1
mov ecx, dword [ecx + 0xf944]
shl eax, cl
mov ecx, dword [ebp + 8]
dec eax
not ecx
and eax, ecx
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 0x38]
mov eax, dword [eax + 0x5c]
mov ecx, dword [eax + 8]
lea eax, [ecx + 8]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ecx]
mov ecx, 2
mov dword [ebx], eax
mov dword [ebx + 4], 0
add ebx, 8
and dword [edi + 4], 0xff000000
mov dword [edi], 1
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
add edi, 0x18
cmp byte [esi + 0x604], 0
jge 0x101c993f
mov eax, dword [esi + 0x5f4]
mov eax, dword [eax]
mov dword [ebx], eax
mov dword [ebx + 4], 1
add ebx, 8
and dword [edi + 4], 0xff000000
mov dword [edi], ecx
mov ecx, 3
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
add edi, 0x18
test byte [esi + 0x604], 0x40
je 0x101c9985
mov eax, dword [esi + 0x5f8]
mov eax, dword [eax]
mov dword [ebx], eax
mov dword [ebx + 4], 1
add ebx, 8
and dword [edi + 4], 0xff000000
mov dword [edi], ecx
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
add edi, 0x18
inc ecx
mov eax, dword [esi + 0x5fc]
mov edx, dword [ebp - 0x2c]
test eax, eax
je 0x101c9a6e
mov eax, dword [eax]
mov dword [ebx], eax
mov dword [ebx + 4], 1
add ebx, 8
and dword [edi + 4], 0xff000000
mov dword [edi], ecx
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
add edi, 0x18
inc ecx
jmp 0x101c9a6e
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0x14
shr edx, 1
mov edi, dword [ebp - 0x34]
mov ecx, esi
mov dword [ebp - 0x2c], edx
push dword [edi + 0x34]
push dword [edi + 0x30]
call fcn.101c30a0
mov eax, dword [edi + 0x30]
xor edx, edx
cmp dword [eax + 0xc], 0x10
lea ecx, [eax + 0x10]
cmovne edx, ecx
cmp dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], edx
je 0x101c9a46
mov eax, dword [ebp + 0x18]
lea ebx, [edx + 0x11c]
mov dword [edx + 0x118], 1
mov ecx, dword [ebx + 0x2c]
xor ecx, eax
mov dword [ebp - 0x44], ebx
and ecx, 8
shr eax, 2
xor ecx, dword [ebx + 0x2c]
or ecx, 4
and eax, 1
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x28], eax
jmp 0x101c9a50
mov dword [edx + 0x118], 2
mov eax, dword [edi + 0x1c]
mov ecx, 1
mov edx, dword [ebp - 0x2c]
mov dword [eax + 8], 0
mov ebx, dword [edi + 8]
mov edi, dword [edi + 0x1c]
add ebx, 8
add edi, 0x18
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x101c9aac
mov eax, dword [eax]
mov dword [ebx], eax
mov dword [ebx + 4], 1
add ebx, 8
mov dword [edi], ecx
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
add edi, 0x18
inc ecx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x101c9ae7
mov eax, dword [eax]
mov dword [ebx], eax
mov dword [ebx + 4], 1
add ebx, 8
and dword [edi + 4], 0xff000000
mov dword [edi], ecx
inc ecx
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp dword [ebp - 0x3c], 0
jne 0x101c9afb
and edx, 1
mov dword [ebp - 0x2c], edx
jne 0x101c9b01
mov eax, ecx
xor edi, edi
jmp 0x101c9b2d
and edx, 1
mov dword [ebp - 0x2c], edx
cmp ecx, 2
ja 0x101c9b25
mov eax, 3
sub eax, ecx
nop dword [eax]
mov dword [ebx], 0
lea ebx, [ebx + 8]
mov dword [ebx - 4], 1
sub eax, 1
jne 0x101c9b10
mov edi, dword [ebp - 0x2c]
mov eax, 3
mov ebx, dword [ebp - 0x34]
push 1
push ecx
mov dword [ebx + 0x28], ecx
mov ecx, esi
mov dword [ebx + 0x14], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x6c]
push eax
push ebx
call fcn.101c79c0
mov dword [ebp - 0x30], eax
cmp eax, 0x80070057
jne 0x101c9b81
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x101c9b81
cmp dword [eax + 0x118], 1
jne 0x101c9b81
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x101c9b81
mov eax, dword [eax + 0x30]
cmp eax, 1
je 0x101c9b7a
cmp eax, 2
jne 0x101c9b81
and byte [esi + 0x605], 0xfd
cmp dword [ebp - 0x38], 0
mov eax, dword [esi + 0x250]
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x28], ecx
mov eax, dword [esi + 0x250]
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0x14], ecx
jne 0x101c9bd2
mov eax, dword [esi + 0x24]
shl eax, 3
push eax
push dword [esi + 0x60c]
push dword [esi + 0x18]
call fcn.10425d60
mov eax, dword [esi + 0x38]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push dword [esi + 0x608]
push dword [esi + 0x2c]
call fcn.10425d60
add esp, 0xc
cmp dword [ebp - 0x3c], 0
jne 0x101c9bdc
test edi, edi
je 0x101c9bfe
mov edx, dword [ebx + 0x30]
mov ecx, 0x118
push 0x38
push 0
cmp dword [edx + 0xc], 0x10
lea eax, [edx + 0x128]
cmovne ecx, eax
push ecx
call fcn.10425c00
add esp, 0xc
mov eax, dword [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 8]
mov eax, 0x80004005
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0x14