Function at 0x1001add0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov esi, esp
mov dword [esi + 0x98], ebp
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], eax
lea eax, [esi + 0xa0]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x10023010
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea ecx, [esi + 0x30]
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 + 0x24], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x28], fcn.10001da0
mov dword [esi + 0x2c], edx
mov edx, dword [ecx + 0x1c]
lea ecx, [esi + 0x20]
mov dword [ecx], edx
lock inc dword [edx + 4]
mov dword [eax + 8], 1
push 0x1005fe3c
call fcn.1001f27e
mov dword [esi], eax
mov al, byte [ebp + 0x14]
lea ebx, [esi + 0xb]
mov byte [ebx], 0
movzx eax, al
lea ecx, [ebp + 0xc]
mov edx, dword [esi + 4]
lea edi, [esi + 0x94]
push edi
lea edi, [esi + 0x2c]
push edi
lea edi, [esi + 0x24]
push edi
push dword [esi]
push ebx
push dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
push dword [edi + 4]
lea edi, [esi + 0x20]
push edi
push eax
call fcn.1001a1a0
add esp, 0x24
test al, al
je 0x1001aff7
mov ecx, dword [ebp + 0x20]
cmp byte [ecx + 0xb], 0
js 0x1001aebc
xor eax, eax
mov byte [ecx], al
mov byte [ecx + 0xb], al
jmp 0x1001aec8
mov eax, dword [ecx]
mov byte [eax], 0
mov dword [ecx + 4], 0
cmp byte [esi + 0xb], 0
je 0x1001aee3
mov ecx, dword [esi]
mov eax, dword [ecx]
push 0x2d
call dword [eax + 0x1c]
movsx eax, al
mov ecx, dword [ebp + 0x20]
push eax
call fcn.1002358c
mov ecx, dword [esi]
mov eax, dword [ecx]
push 0x30
call dword [eax + 0x1c]
mov edx, dword [esi + 0x24]
mov edi, dword [esi + 0x2c]
lea ecx, [edi - 1]
cmp edx, ecx
jae 0x1001af13
mov ecx, edx
not ecx
add ecx, edi
lea ebx, [edx + ecx]
mov dword [esi], ebx
mov ebx, dword [ebp + 0x20]
cmp byte [edx], al
jne 0x1001af16
inc edx
dec ecx
jne 0x1001af07
mov edx, dword [esi]
jmp 0x1001af16
mov ebx, dword [ebp + 0x20]
mov al, byte [ebx + 0xb]
test al, al
js 0x1001af47
mov ecx, edi
sub ecx, edx
je 0x1001aff7
mov dword [esi + 4], ecx
movzx ecx, al
mov dword [esi], ecx
mov ecx, ebx
mov ebx, 0xa
mov dword [esi + 0x10], ecx
mov dword [esi + 0xc], edx
cmp edx, ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi]
jae 0x1001af74
jmp 0x1001af7f
mov eax, edi
sub eax, edx
je 0x1001aff7
mov dword [esi + 4], eax
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov dword [esi + 0xc], edx
mov edx, ecx
mov ecx, ebx
mov ebx, eax
and ebx, 0x7fffffff
dec ebx
shr eax, 0x18
mov ecx, dword [ecx]
cmp ecx, dword [esi + 0xc]
ja 0x1001af7f
add ecx, edx
cmp ecx, dword [esi + 0xc]
jae 0x1001b066
mov ecx, ebx
mov dword [esi], edx
sub ecx, edx
mov edx, dword [esi + 4]
cmp ecx, edx
jae 0x1001afbb
mov ecx, edx
mov dword [esi + 0x10], edi
mov edx, dword [esi]
lea eax, [edx + ecx]
sub eax, ebx
mov dword [esi + 0xa8], 1
xor edi, edi
mov ecx, dword [ebp + 0x20]
push edi
push edi
push edx
push edx
push eax
push ebx
call fcn.10023362
mov ebx, dword [ebp + 0x20]
mov al, byte [ebx + 0xb]
mov edi, dword [esi + 0x10]
mov ebx, dword [ebp + 0x20]
mov ecx, ebx
test al, al
jns 0x1001afc6
mov ecx, dword [ebx]
add ecx, dword [esi]
mov edx, dword [esi + 0xc]
cmp edx, edi
je 0x1001afd7
mov al, byte [edx]
mov byte [ecx], al
inc ecx
inc edx
jmp 0x1001afcb
mov byte [ecx], 0
mov eax, dword [esi]
add eax, dword [esi + 4]
cmp byte [ebx + 0xb], 0
js 0x1001afea
mov byte [ebx + 0xb], al
jmp 0x1001afed
mov dword [ebx + 4], eax
mov dword [esi + 0xa8], 1
mov dword [esi + 0xa8], 1
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.100029a2
mov edi, dword [ebp + 8]
test al, al
je 0x1001b01a
mov eax, dword [ebp + 0x1c]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
mov ecx, dword [esi + 0x20]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x1001b033
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x1001b04e
mov dword [esi + 0xa8], 0
push eax
call dword [esi + 0x28]
mov edi, dword [ebp + 8]
add esp, 4
mov eax, dword [esi + 0xa0]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
xor eax, eax
dec eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 4]
cmp eax, 0xfffffff0
jae 0x1001b12e
mov dword [esi + 0x10], edi
cmp eax, 0xa
mov ebx, dword [ebp + 0x20]
ja 0x1001b091
lea ecx, [esi + 0x14]
mov byte [ecx + 0xb], al
jmp 0x1001b0c4
add eax, 0x10
and eax, 0xfffffff0
mov dword [esi + 0xa8], 1
mov dword [esi], eax
push eax
call fcn.10024f26
add esp, 4
mov ecx, eax
mov dword [esi + 0x14], eax
mov eax, dword [esi]
or eax, 0x80000000
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x18], eax
mov ebx, dword [ebp + 0x20]
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
cmp eax, edi
je 0x1001b0ee
sub edi, eax
push edi
push eax
push ecx
mov ebx, ecx
call fcn.10027ca0
mov ecx, ebx
mov ebx, dword [ebp + 0x20]
add esp, 0xc
add ecx, edi
mov dword [esi + 0xa8], 2
mov byte [ecx], 0
lea edx, [esi + 0x14]
movzx eax, byte [edx + 0xb]
test al, al
cmovs eax, dword [edx + 4]
cmovs edx, dword [edx]
mov dword [esi + 0xa8], 2
mov ecx, ebx
push eax
push edx
call fcn.100234fc
cmp byte [esi + 0x1f], 0
jns 0x1001aff7
push dword [esi + 0x14]
call fcn.10024ac9
add esp, 4
jmp 0x1001aff7
mov dword [esi + 0xa8], 1
lea ecx, [esi + 0x14]
call fcn.10023254
push ebp
sub esp, 0x24
lea esi, [ebp - 0xac]
mov ebp, dword [esi + 0x98]
cmp byte [esi + 0x1f], 0
jns 0x1001b161
push dword [esi + 0x14]
call fcn.10024ac9
add esp, 4
add esp, 0x24
pop ebp
ret