Function at 0xa69c30
Capabilities:
Check os version

Disassembly:
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
sub esp, 0x108
mov edx, dword [esp + 0x12c]
push ebx
push ebp
mov ebp, dword [esp + 0x13c]
push esi
push edi
push eax
mov eax, dword [esp + 0x13c]
push ebp
mov ebx, dword [esp + 0x124]
push ecx
mov ecx, dword [esp + 0x140]
push edx
mov edx, dword [esp + 0x140]
push eax
mov eax, dword [esp + 0x140]
push ecx
mov ecx, dword [esp + 0x140]
push edx
mov edx, dword [esp + 0x140]
push eax
mov eax, dword [esp + 0x140]
push ecx
push edx
push eax
push ebx
call fcn.00a69fb0
add esp, 0x30
test eax, eax
jne 0xa69cab
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0xa69f93
add ebx, 0x28
mov ecx, 0x24
mov esi, ebx
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x11c]
mov edx, dword [esp + 0x48]
mov ecx, 0x36
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x4c]
mov ecx, ebx
xor esi, esi
mov dword [esp + 0x10], 0x20
mov dword [ecx], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x14], esi
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x5c]
mov dword [ebx + 0x14], edx
lea edx, [esp + 0x10]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
mov dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0xc8]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0xa0], ecx
lea eax, [esp + 0xd8]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x10008
call dword [0xaf5700]
cmp eax, esi
jge 0xa69d62
push eax
call dword [0xaf5728]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x108
ret
cmp dword [esp + 0x14], esi
ja 0xa69d6c
mov dword [esp + 0x10], esi
push ebp
call fcn.00a7e07a
mov esi, dword [esp + 0x14c]
lea edi, [eax + eax + 5]
push esi
and edi, 0xfffffffc
call fcn.00a7e07a
lea edx, [eax + eax + 5]
mov eax, dword [esp + 0x18]
and edx, 0xfffffffc
add esp, 8
lea ecx, [eax + eax + 3]
add edi, edx
and ecx, 0xfffffffc
lea eax, [edi + ecx + 0x78]
push eax
push 4
call dword [0xaf56f8]
mov edi, dword [esp + 0x120]
test eax, eax
mov dword [edi], eax
jne 0xa69dc2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
lea eax, [ebx + 0x30]
push eax
push ebp
call fcn.00a7e07a
lea edx, [eax + eax + 5]
mov eax, dword [edi]
add esp, 4
and edx, 0xfffffffc
push edx
push eax
call dword [0xaf5724]
mov ecx, dword [ebx + 0x30]
push ebp
push ecx
mov word [ebx + 0x2e], ax
call fcn.00a7e270
push ebp
call fcn.00a7e07a
shl eax, 1
add esp, 0xc
mov word [ebx + 0x2c], ax
lea eax, [ebx + 0x38]
push eax
push esi
call fcn.00a7e07a
lea edx, [eax + eax + 5]
mov eax, dword [edi]
add esp, 4
and edx, 0xfffffffc
push edx
push eax
call dword [0xaf5724]
mov ecx, dword [ebx + 0x38]
push esi
push ecx
mov word [ebx + 0x36], ax
call fcn.00a7e270
push esi
call fcn.00a7e07a
shl eax, 1
mov word [ebx + 0x34], ax
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0xa69e8a
lea edx, [eax + eax + 3]
mov eax, dword [edi]
lea esi, [ebx + 0x84]
and edx, 0xfffffffc
push esi
push edx
push eax
call dword [0xaf5724]
mov ecx, dword [esp + 0x10]
mov word [ebx + 0x82], ax
lea eax, [esp + 0xd8]
lea edx, [ecx + ecx]
mov ecx, dword [esi]
push edx
push eax
push ecx
call fcn.00a7f450
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [edx + edx]
mov word [ebx + 0x80], ax
jmp 0xa69e97
lea edx, [ebx + 0x80]
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov eax, dword [edi]
lea esi, [ebx + 0x98]
push esi
push 0x78
push eax
call dword [0xaf5724]
mov ecx, dword [esi]
push str.___________________________________________________________
push ecx
mov word [ebx + 0x96], ax
call fcn.00a7e270
push str.___________________________________________________________
call fcn.00a7e07a
shl eax, 1
mov esi, 0x40
add esp, 0xc
mov word [ebx + 0x94], ax
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], 0x4001
mov edx, dword [ebp]
mov ax, word [ebp + 4]
mov dword [esp + 0x18], edx
push 0
lea ecx, [esp + 0x24]
push 0
lea edx, [esp + 0x20]
push ecx
push edx
mov word [esp + 0x2c], ax
mov word [esp + 0x2e], 0
call dword [0xaf5708]
test eax, eax
jne 0xa69f26
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x108
ret
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x28]
push 0x4021
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x44]
push 0
lea edx, [esp + 0x30]
push ecx
push edx
add ebx, 0x28
lea eax, [esp + 0x30]
push 0x100000
push ebx
mov dword [esp + 0x40], 0x18
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], esi
call dword [0xaf5710]
mov esi, eax
lea eax, [esp + 0x20]
push eax
call dword [0xaf56e0]
test esi, esi
jge 0xa69f93
push esi
call dword [0xaf5728]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x108
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x108
ret