Function at 0x14af160
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x153176b
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x15a16ec]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x15a16ec]
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 0x14af1e6
mov edx, dword [edi]
mov ecx, dword [edx + 0x28]
lea eax, [esp + 0x18]
push eax
push edi
call ecx
test eax, eax
js 0x14af1e6
mov esi, dword [esp + 0x18]
jmp 0x14af1e8
xor esi, esi
mov dword [esp + 0x14], ebx
cmp esi, 5
jne 0x14af229
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 0x14af236
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x14af236
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 0x14af236
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 0x14af296
mov eax, dword [ebp]
mov edx, dword [eax + 0x14c]
mov ecx, ebp
call edx
test al, al
jne 0x14af268
cmp esi, 3
jne 0x14af268
call fcn.014af0d0
test al, al
jne 0x14af268
mov eax, dword [esp + 0x14]
call fcn.014af050
test al, al
jne 0x14af28b
mov edx, dword [esp + 0x14]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x14af271
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.01381d20
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [esi - 3]
cmp eax, 5
ja case.0x14af2a2.6
jmp dword [eax*4 + 0x14af520]
cmp dword [esp + 0x30], ebx
je case.0x14af2a2.6
cmp dword [esp + 0x34], 8
mov edx, dword [esp + 0x20]
jae 0x14af2c2
lea edx, [esp + 0x20]
lea esi, [esp + 0x90]
call fcn.01381e50
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.01384e90
jmp 0x14af4c4
cmp dword [esp + 0x34], 8
mov edx, dword [esp + 0x20]
jae 0x14af30f
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 0x14af330
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x7c]
call fcn.01381d20
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 0x14af384
mov eax, dword [esp + 0x74]
push eax
call fcn.014c8a36
add esp, 4
xor ecx, ecx
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], cx
jmp 0x14af4c4
cmp dword [esp + 0x34], 8
mov edx, dword [esp + 0x20]
jae 0x14af3b1
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 0x14af3d0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.01381d20
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 0x14af421
mov eax, dword [esp + 0x3c]
push eax
call fcn.014c8a36
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], cx
jmp 0x14af4c4
cmp dword [esp + 0x34], 8
mov edx, dword [esp + 0x20]
jae 0x14af448
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 0x14af460
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x60]
call fcn.01381d20
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 0x14af4b1
mov eax, dword [esp + 0x58]
push eax
call fcn.014c8a36
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.0x14af2a2.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 0x14af4f6
mov ecx, dword [esp + 0x20]
push ecx
call fcn.014c8a36
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.014c8a41
add esp, 0xa8
ret