Function at 0x1001ab70
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov esi, esp
mov dword [esi + 0xa8], ebp
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x18], eax
lea eax, [esi + 0xb0]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x10022d80
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea ecx, [esi + 0x40]
mov dword [ecx + 0x60], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [ecx + 0x50], xmm0
movdqa xmmword [ecx + 0x40], xmm0
movdqa xmmword [ecx + 0x30], xmm0
movdqa xmmword [ecx + 0x20], xmm0
movdqa xmmword [ecx + 0x10], xmm0
movdqa xmmword [ecx], xmm0
mov dword [esi + 0x30], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x34], fcn.10001c90
mov dword [esi + 0x3c], edx
mov edx, dword [ecx + 0x1c]
lea ecx, [esi + 0x2c]
mov dword [ecx], edx
lock inc dword [edx + 4]
mov dword [eax + 8], 1
push 0x1005edac
call fcn.1001f00e
mov dword [esi + 0xc], eax
mov al, byte [ebp + 0x14]
lea ebx, [esi + 0x17]
mov byte [ebx], 0
movzx eax, al
lea ecx, [ebp + 0xc]
mov edx, dword [esi + 0x18]
lea edi, [esi + 0xa4]
push edi
lea edi, [esi + 0x3c]
push edi
lea edi, [esi + 0x30]
push edi
push dword [esi + 0xc]
push ebx
push dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
push dword [edi + 4]
lea edi, [esi + 0x2c]
push edi
push eax
call fcn.10019f20
add esp, 0x24
test al, al
je 0x1001ae3e
mov ecx, dword [ebp + 0x20]
cmp byte [ecx + 0xb], 0
js 0x1001ac5e
xor eax, eax
mov byte [ecx], al
mov byte [ecx + 0xb], al
jmp 0x1001ac6a
mov eax, dword [ecx]
mov byte [eax], 0
mov dword [ecx + 4], 0
cmp byte [esi + 0x17], 0
je 0x1001ac86
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
push 0x2d
call dword [eax + 0x1c]
movsx eax, al
mov ecx, dword [ebp + 0x20]
push eax
call fcn.100232fc
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
push 0x30
call dword [eax + 0x1c]
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x18], ecx
dec ecx
mov ebx, dword [ebp + 0x20]
cmp edx, ecx
jae 0x1001acac
cmp byte [edx], al
jne 0x1001acac
inc edx
cmp ecx, edx
jne 0x1001aca1
mov edx, ecx
mov al, byte [ebx + 0xb]
mov ecx, dword [esi + 0x18]
sub ecx, edx
test al, al
mov dword [esi + 0xc], ecx
mov dword [esi + 0x28], edx
js 0x1001acda
test ecx, ecx
je 0x1001ae3e
movzx ecx, al
mov dword [esi + 0x10], ecx
add ecx, ebx
mov dword [esi + 0x38], ecx
mov edx, 0xa
mov ecx, ebx
jmp 0x1001acfe
test ecx, ecx
je 0x1001ae3e
mov eax, dword [ebx + 8]
mov edx, eax
and edx, 0x7fffffff
dec edx
mov ecx, dword [ebx]
mov edi, dword [ebx + 4]
shr eax, 0x18
mov dword [esi + 0x10], edi
add edi, ecx
mov dword [esi + 0x38], edi
mov edi, dword [esi + 0x28]
cmp ecx, edi
ja 0x1001ad32
cmp dword [esi + 0x38], edi
jbe 0x1001ad32
xor eax, eax
dec eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0xc]
cmp eax, 0xfffffff0
jae 0x1001aead
cmp eax, 0xa
ja 0x1001ad9f
lea edi, [esi + 0x1c]
mov byte [edi + 0xb], al
jmp 0x1001add4
mov ecx, edx
sub ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 0xc]
jae 0x1001ad68
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
add eax, edi
sub eax, edx
mov dword [esi + 0xb8], 1
mov ecx, ebx
xor ebx, ebx
push ebx
push ebx
push edi
push edi
push eax
push edx
call fcn.100230d2
mov ebx, dword [ebp + 0x20]
mov al, byte [ebx + 0xb]
mov edi, dword [esi + 0x28]
mov ecx, ebx
test al, al
jns 0x1001ad70
mov ecx, dword [ebx]
add ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x18]
cmp edi, edx
je 0x1001ad84
mov al, byte [edi]
mov byte [ecx], al
inc ecx
inc edi
cmp edx, edi
jne 0x1001ad7a
mov byte [ecx], 0
mov eax, dword [esi + 0x10]
add eax, dword [esi + 0xc]
cmp byte [ebx + 0xb], 0
js 0x1001ae31
mov byte [ebx + 0xb], al
jmp 0x1001ae34
lea ecx, [eax + 0x10]
and ecx, 0xfffffff0
mov dword [esi + 0xb8], 1
mov dword [esi + 0x10], ecx
push ecx
call fcn.10024ace
add esp, 4
mov edi, eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x10]
or eax, 0x80000000
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x20], eax
mov ebx, dword [ebp + 0x20]
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x28]
cmp eax, ecx
je 0x1001adf8
push dword [esi + 0xc]
push eax
push edi
call fcn.10027a00
add esp, 0xc
add edi, dword [esi + 0xc]
mov dword [esi + 0xb8], 2
mov byte [edi], 0
lea edx, [esi + 0x1c]
movzx eax, byte [edx + 0xb]
test al, al
cmovs eax, dword [edx + 4]
cmovs edx, dword [edx]
mov dword [esi + 0xb8], 2
mov ecx, ebx
push eax
push edx
call fcn.1002326c
cmp byte [esi + 0x27], 0
jns 0x1001ae3e
push dword [esi + 0x1c]
call fcn.10024829
add esp, 4
jmp 0x1001ae3e
mov dword [ebx + 4], eax
mov dword [esi + 0xb8], 1
mov dword [esi + 0xb8], 1
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.10002892
mov edi, dword [ebp + 8]
test al, al
je 0x1001ae61
mov eax, dword [ebp + 0x1c]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
mov ecx, dword [esi + 0x2c]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x1001ae7a
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x1001ae95
mov dword [esi + 0xb8], 0
push eax
call dword [esi + 0x34]
mov edi, dword [ebp + 8]
add esp, 4
mov eax, dword [esi + 0xb0]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
mov dword [esi + 0xb8], 1
lea ecx, [esi + 0x1c]
call fcn.10022fc4
nop
push ebp
sub esp, 0x24
lea esi, [ebp - 0xbc]
mov ebp, dword [esi + 0xa8]
cmp byte [esi + 0x27], 0
jns 0x1001aee1
push dword [esi + 0x1c]
call fcn.10024829
add esp, 4
add esp, 0x24
pop ebp
ret