Function at 0x1002cc00
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007a333
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x10099060]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x10099060]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
push 0xffffffffffffffff
mov esi, ecx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
xor edi, edi
push edx
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov eax, dword [esp + 0x1c]
cmp eax, 0x401
je 0x1002cefa
lea ecx, [ecx]
cmp eax, 0x400
jne 0x1002cec5
mov ecx, dword [esp + 0x14]
add ecx, 0x220
mov dword [esp + 0x20], ecx
lea esp, [esp]
mov eax, dword [ecx + 8]
cmp eax, edi
jbe 0x1002ce6b
shr eax, 1
xor edx, edx
push eax
mov ebx, 7
lea eax, [ecx + 0xc]
lea esi, [esp + 0x48]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], dx
call fcn.10009460
mov dword [esp + 0xa8], edi
mov eax, dword [esp + 0x14]
add eax, 0x14
xor ecx, ecx
mov word [esp + 0x2c], cx
mov ecx, eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edi
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x1002ccf0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x2c]
call fcn.10009460
mov edx, esi
push edx
mov ebx, 0x1008611c
lea esi, [esp + 0x64]
mov byte [esp + 0xac], 1
call fcn.1002af00
add esp, 4
lea ecx, [esp + 0x44]
push ecx
push eax
lea edi, [esp + 0x84]
mov byte [esp + 0xb0], 2
call fcn.1002ae50
add esp, 8
mov ebx, 8
cmp dword [esp + 0x78], ebx
jb 0x1002cd5a
mov edx, dword [esp + 0x64]
push edx
call fcn.1005f31a
add esp, 4
mov edi, 7
xor esi, esi
xor eax, eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], esi
mov word [esp + 0x64], ax
cmp dword [esp + 0x40], ebx
jb 0x1002cd83
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.1005f31a
add esp, 4
xor edx, edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], esi
mov word [esp + 0x2c], dx
mov byte [esp + 0xa8], 6
cmp dword [esp + 0x5c], ebx
jb 0x1002cdad
mov eax, dword [esp + 0x48]
push eax
call fcn.1005f31a
add esp, 4
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
xor ecx, ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], esi
mov word [esp + 0x48], cx
cmp eax, 1
je 0x1002ce1f
cmp eax, 2
jne 0x1002cdf1
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x94], ebx
jae 0x1002cde4
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.1002d220
jmp 0x1002ce41
cmp eax, 3
jne 0x1002ce1a
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x94], ebx
jae 0x1002ce0d
lea eax, [esp + 0x80]
mov edx, dword [esp + 0x18]
push eax
push edx
call fcn.1002d370
jmp 0x1002ce41
cmp eax, 5
jne 0x1002ce41
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x94], ebx
jae 0x1002ce36
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.1002d0d0
mov dword [esp + 0xa8], 0xffffffff
cmp dword [esp + 0x94], ebx
jb 0x1002ce65
mov ecx, dword [esp + 0x80]
push ecx
call fcn.1005f31a
add esp, 4
mov ecx, dword [esp + 0x20]
xor edi, edi
mov eax, dword [ecx]
cmp eax, edi
je 0x1002ce7d
add ecx, eax
mov dword [esp + 0x20], ecx
jne 0x1002cca0
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov edx, dword [esp + 0x14]
mov dword [edx + 4], eax
mov edx, dword [esp + 0x14]
push edi
push ecx
mov dword [edx + 8], eax
mov edx, dword [esp + 0x1c]
push edi
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x20]
push 0x51
push 1
mov dword [edx + 0x10], eax
push 0xfc00
lea eax, [ecx + 0x220]
mov ecx, dword [ecx + 0x21c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadDirectoryChangesW]
mov esi, dword [esp + 0x18]
push 0xffffffffffffffff
lea edx, [esp + 0x18]
push edx
mov edx, dword [esi]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov eax, dword [esp + 0x1c]
cmp eax, 0x401
jne 0x1002cc80
xor eax, eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.1005ebcb
mov esp, ebp
pop ebp
ret