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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x154
mov eax, dword [0x7753d344]
xor eax, esp
mov dword [esp + 0x150], eax
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
xor esi, esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
lea esi, [esp + 0xd4]
mov dword [esp + 0x48], esi
xor esi, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x44], 0x800000
mov dword [esp + 0x40], 0
mov word [esp + 0x18], si
mov dword [esp + 0x30], esi
push edi
mov edi, dword [ebp + 0xc]
test ecx, ecx
jne 0x77467e27
test edx, edx
jne 0x77467f38
test eax, eax
jne 0x77467f3f
test ebx, ebx
je 0x774679e9
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x80], 0x20
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x74], eax
xor eax, eax
mov word [esp + 0xb8], ax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x84], 0x20
mov dword [esp + 0x70], 0x200000
test eax, eax
je 0x77467d41
movzx edx, word [eax + 2]
mov ecx, dword [eax + 4]
cmp edx, 2
jb 0x774b8081
mov dword [esp + 0x94], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0x90], ecx
test ecx, ecx
je 0x77467a6b
xor esi, esi
mov word [ecx], si
xor ecx, ecx
mov word [esp + 0x8e], dx
mov edx, dword [esp + 0x38]
mov word [esp + 0x8c], cx
test dword [ebp + 8], 0xfffffffe
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ecx
mov byte [esp + 0xb4], 1
jne 0x774b8092
test edi, edi
je 0x774b809c
test eax, eax
je 0x77467d8d
test ebx, ebx
je 0x77467aca
test ecx, ecx
je 0x774b80ae
mov eax, dword [edi]
xor cl, cl
mov edi, dword [edi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], edi
mov byte [esp + 0x12], cl
test eax, eax
je 0x77467b30
cmp word [eax], 0
je 0x77467b30
lea eax, [esp + 0x40]
mov byte [esp + 0x13], cl
push eax
push 0x774210f8
lea eax, [esp + 0x1c]
push eax
push 1
call fcn.77468c90
mov esi, eax
test esi, esi
js 0x77467da7
mov byte [esp + 0x13], 1
xor esi, esi
mov edi, dword [esp + 0x18]
test esi, esi
js 0x774b80b8
cmp byte [esp + 0x13], 0
je 0x77467db8
mov cl, byte [esp + 0x12]
xor esi, esi
test esi, esi
js 0x77467c7d
test cl, cl
jne 0x77467dfd
cmp dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x12], 0
jne 0x774b80c1
mov ax, word [esp + 0x14]
cmp ax, 2
jb 0x77467b7a
movzx ecx, word [edi]
cmp ecx, 0x5c
je 0x77467e73
cmp ecx, 0x2f
je 0x77467e73
cmp ax, 4
jb 0x77467bfd
cmp word [edi], 0
je 0x77467bfd
cmp word [edi + 2], 0x3a
jne 0x77467bfd
cmp ax, 6
jb 0x77467bfd
movzx eax, word [edi + 4]
cmp eax, 0x5c
jne 0x774b8104
mov dword [esp + 0x20], 2
push 0
lea eax, [esp + 0x24]
push eax
push 0
push 0
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.77467740
mov esi, eax
test esi, esi
js 0x77467c07
cmp dword [esp + 0x20], 6
mov eax, dword [esp + 0x2c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x2c], esi
je 0x77467ec5
mov cx, word [esp + 0x14]
mov dx, word [esp + 0x2c]
cmp cx, dx
ja 0x77467f1b
mov al, byte [esp + 0x12]
xor esi, esi
test al, al
jne 0x77467c13
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x77467e12
test esi, esi
js 0x77467c7d
test byte [ebp + 8], 1
je 0x77467c3f
mov eax, dword fs:[0x30]
cmp dword [eax + 0x10], 0
je 0x77467c3f
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x10]
test dword [eax + 8], 0x1000
jne 0x774b8112
test byte [esp + 0x34], 1
mov edi, dword [ebp + 0x14]
jne 0x77467e2e
test edi, edi
je 0x77467d9a
xor eax, eax
lea ecx, [esp + 0x8c]
mov dl, al
push ecx
push dword [esp + 0x40]
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x20]
call fcn.77467fc0
mov esi, eax
test esi, esi
jns 0x77467e2e
cmp byte [esp + 0xb4], 0
je 0x77467caf
mov eax, dword [esp + 0x94]
test eax, eax
je 0x77467c9f
cmp eax, dword [esp + 0x98]
jne 0x774b8155
mov eax, dword [esp + 0x98]
test eax, eax
je 0x77467caf
xor ecx, ecx
mov word [eax], cx
push 0x2c
lea eax, [esp + 0x90]
push 0
push eax
call fcn.77498e60
add esp, 0xc
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x774b8168
mov eax, dword [esp + 0x78]
test eax, eax
je 0x77467cf7
cmp eax, dword [esp + 0x7c]
jne 0x77467f99
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x74], eax
test eax, eax
je 0x77467d08
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov word [esp + 0x70], ax
mov ax, word [esp + 0x84]
mov word [esp + 0x72], ax
cmp esi, 0xc0150001
je 0x774b817d
mov ecx, dword [esp + 0x15c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.77494a40
mov esp, ebp
pop ebp
ret 0x24
lea ecx, [esp + 0xa4]
mov dword [esp + 0x9c], 2
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x90], ecx
xor ecx, ecx
mov dword [esp + 0xa0], 2
mov word [esp + 0xa4], cx
mov dword [esp + 0x8c], 0x20000
jmp 0x77467a81
test ebx, ebx
jne 0x77467aca
jmp 0x774b80a6
test ebx, ebx
jne 0x77467c55
jmp 0x774b8136
cmp esi, 0xc0000225
je 0x77467b13
jmp 0x77467b15
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edi
mov eax, dword [ecx]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x5c], eax
xor eax, eax
mov word [esp + 0x70], ax
lea eax, [esp + 0x50]
push eax
push 2
lea eax, [esp + 0x78]
push eax
call fcn.77480c30
mov esi, eax
test esi, esi
js 0x774b80b8
mov cl, 1
jmp 0x77467b30
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
jmp 0x77467b42
push eax
call fcn.77447800
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
jmp 0x77467c13
mov dword [ecx], esi
jmp 0x774679ce
test ebx, ebx
je 0x77467f4a
mov edi, dword [esp + 0x38]
test edi, edi
jne 0x77467f67
lea ecx, [esp + 0x8c]
call fcn.7748a2b7
mov esi, eax
test esi, esi
js 0x77467c7d
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x774b814a
xor esi, esi
test esi, esi
jns 0x77467cc3
jmp 0x77467c7d
cmp ax, 4
jb 0x77467bfd
movzx ecx, word [edi + 2]
cmp ecx, 0x5c
jne 0x774b80cb
cmp ax, 6
jb 0x774b80f7
movzx ecx, word [edi + 4]
cmp ecx, 0x3f
jne 0x774b80d9
cmp ax, 8
jb 0x774b80ed
movzx ecx, word [edi + 6]
cmp ecx, 0x5c
jne 0x774b80e4
mov dword [esp + 0x20], 6
jmp 0x77467ba8
mov edx, dword [esp + 0x18]
cmp word [edx + 0xa], 0x3a
jne 0x77467bea
cmp word [edx + 0xc], 0x5c
jne 0x77467bea
mov cx, word [esp + 0x14]
add edx, 8
mov esi, 0xfff8
mov dword [esp + 0x18], edx
mov dx, word [esp + 0x2c]
add cx, si
add word [esp + 0x16], si
add dx, si
add edi, 8
mov word [esp + 0x2c], dx
add word [esp + 0x2e], si
mov esi, dword [esp + 0x2c]
mov word [esp + 0x14], cx
jmp 0x77467bf4
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x77467fac
mov al, byte [esp + 0x12]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
jmp 0x77467c01
mov dword [edx], esi
jmp 0x774679d6
mov dword [eax], 0x208
jmp 0x774679de
test edi, edi
je 0x77467e36
mov eax, dword [esp + 0x90]
cmp eax, dword [edi + 4]
je 0x77467e36
jmp 0x774b8140
lea eax, [esp + 0x1c]
push eax
push 0x774210b0
lea eax, [esp + 0x94]
push eax
push 1
call fcn.77468c90
mov esi, eax
test esi, esi
js 0x77467c7d
movzx eax, word [esp + 0x1c]
shr eax, 1
inc eax
mov dword [edi], eax
jmp 0x77467e42
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
push eax
call fcn.77461410
jmp 0x77467ce1
mov al, 1
jmp 0x77467f2b
lea ecx, [esp + 0xa4]
mov edx, 2
jmp 0x77467a3f
mov esi, 0xc000000d
jmp 0x77467e66
mov esi, 0xc000000d
jmp 0x77467e66
test edx, edx
je 0x77467aca
mov esi, 0xc000000d
jmp 0x77467e66
mov cl, byte [esp + 0x12]
jmp 0x77467b32
mov esi, 0xc000000d
jmp 0x77467c07
cmp ecx, 0x2f
jne 0x77467bfd
jmp 0x77467e8a
cmp ecx, 0x2e
je 0x77467ea1
jmp 0x774b80f7
cmp ecx, 0x2f
je 0x77467eb8
cmp ax, 6
je 0x77467bfd
mov dword [esp + 0x20], 1
jmp 0x77467ba8
cmp eax, 0x2f
jne 0x77467bfd
jmp 0x77467ba0
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x18]
call fcn.774d8d7f
mov esi, eax
test esi, esi
js 0x77467c7d
jmp 0x77467c3f
mov eax, 1
jmp 0x77467c57
mov esi, 0xc0000023
jmp 0x77467e66
mov eax, dword [esp + 0x34]
mov dword [ecx], eax
jmp 0x77467e64
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
push eax
call fcn.77461410
jmp 0x77467c9f
push eax
call fcn.77447800
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
jmp 0x77467ccf
push 0x7742fc00
push 0x1b2
push 0x7742fc28
push 0x7742fc44
call fcn.774e8e60
mov esi, 0xc00000e5
jmp 0x77467e66