Function at 0xcbf160
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0xd4176b
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [str._Sk]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc4]
mov ebp, dword [esp + 0xc0]
mov edi, ecx
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
mov dword [esp + 0xb8], ebx
cmp edi, ebx
je 0xcbf1e6
mov edx, dword [edi]
mov ecx, dword [edx + 0x28]
lea eax, [esp + 0x18]
push eax
push edi
call ecx
test eax, eax
js 0xcbf1e6
mov esi, dword [esp + 0x18]
jmp 0xcbf1e8
xor esi, esi
mov dword [esp + 0x14], ebx
cmp esi, 5
jne 0xcbf229
mov edx, dword [edi]
mov ecx, dword [edx + 0x34]
lea eax, [esp + 0x18]
push eax
push edi
mov dword [esp + 0x20], ebx
call ecx
test eax, eax
js 0xcbf236
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0xcbf236
mov edx, dword [eax]
mov edx, dword [edx + 0x68]
lea ecx, [esp + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0xcbf236
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
lea ecx, [esp + 0x14]
push ecx
push edi
call edx
cmp dword [esp + 0x14], ebx
je 0xcbf296
mov eax, dword [ebp]
mov edx, dword [eax + 0x14c]
mov ecx, ebp
call edx
test al, al
jne 0xcbf268
cmp esi, 3
jne 0xcbf268
call fcn.00cbf0d0
test al, al
jne 0xcbf268
mov eax, dword [esp + 0x14]
call fcn.00cbf050
test al, al
jne 0xcbf28b
mov edx, dword [esp + 0x14]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xcbf271
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.00b91d20
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [esi - 3]
cmp eax, 5
ja case.0xcbf2a2.6
jmp dword [eax*4 + 0xcbf520]
cmp dword [esp + 0x30], ebx
je case.0xcbf2a2.6
cmp dword [esp + 0x34], 8
mov edx, dword [esp + 0x20]
jae 0xcbf2c2
lea edx, [esp + 0x20]
lea esi, [esp + 0x90]
call fcn.00b91e50
mov byte [esp + 0xb8], 1
mov edx, dword [ebp]
mov edx, dword [edx + 0x11c]
mov eax, esi
push eax
mov ecx, ebp
call edx
lea ecx, [esp + 0x90]
mov esi, eax
mov byte [esp + 0xb8], bl
call fcn.00b94e90
jmp 0xcbf4c4
cmp dword [esp + 0x34], 8
mov edx, dword [esp + 0x20]
jae 0xcbf30f
lea edx, [esp + 0x20]
xor eax, eax
mov word [esp + 0x74], ax
mov eax, edx
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], ebx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xcbf330
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x7c]
call fcn.00b91d20
mov byte [esp + 0xb8], 2
mov edx, dword [ebp]
mov edx, dword [edx + 0x11c]
lea eax, [esp + 0x74]
push eax
mov ecx, ebp
call edx
mov byte [esp + 0xb8], bl
cmp dword [esp + 0x88], 8
mov esi, eax
jb 0xcbf384
mov eax, dword [esp + 0x74]
push eax
call fcn.00cd8a36
add esp, 4
xor ecx, ecx
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], cx
jmp 0xcbf4c4
cmp dword [esp + 0x34], 8
mov edx, dword [esp + 0x20]
jae 0xcbf3b1
lea edx, [esp + 0x20]
xor eax, eax
mov word [esp + 0x3c], ax
mov eax, edx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xcbf3d0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.00b91d20
mov byte [esp + 0xb8], 3
mov edx, dword [ebp]
mov edx, dword [edx + 0x12c]
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call edx
mov byte [esp + 0xb8], bl
cmp dword [esp + 0x50], 8
mov esi, eax
jb 0xcbf421
mov eax, dword [esp + 0x3c]
push eax
call fcn.00cd8a36
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], cx
jmp 0xcbf4c4
cmp dword [esp + 0x34], 8
mov edx, dword [esp + 0x20]
jae 0xcbf448
lea edx, [esp + 0x20]
xor eax, eax
mov word [esp + 0x58], ax
mov eax, edx
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xcbf460
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x60]
call fcn.00b91d20
mov byte [esp + 0xb8], 4
mov edx, dword [ebp]
mov edx, dword [edx + 0x124]
lea eax, [esp + 0x58]
push eax
mov ecx, ebp
call edx
mov byte [esp + 0xb8], bl
cmp dword [esp + 0x6c], 8
mov esi, eax
jb 0xcbf4b1
mov eax, dword [esp + 0x58]
push eax
call fcn.00cd8a36
add esp, 4
xor ecx, ecx
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], cx
cmp esi, ebx
je case.0xcbf2a2.6
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xac]
push esi
call eax
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x34], 8
jb 0xcbf4f6
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00cd8a36
add esp, 4
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00cd8a41
add esp, 0xa8
ret