Function at 0x47d3b8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47d6e2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.00404760
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0047d258
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xb8]
mov eax, dword [ebp - 4]
call fcn.0047c3b8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30], 0
jne 0x47d419
mov eax, dword [ebp - 4]
cmp dword [eax + 0xb8], 3
jne 0x47d436
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe8], 0
jne 0x47d436
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb8]
add eax, 0xfffffffe
sub eax, 2
jb 0x47d43a
xor ebx, ebx
jmp 0x47d43c
mov bl, 1
mov eax, ebx
xor al, 1
or al, byte [ebp - 5]
je 0x47d6ba
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe8]
call fcn.004089e0
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0047d700
cmp dword [ebp - 0x14], 0
je 0x47d48b
push dword [0x48551c]
push 0x47d6f8
push dword [ebp - 0x14]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404ae0
jmp 0x47d4a6
push dword [0x485520]
push 0x47d6f8
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404ae0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x47777c]
call fcn.0046b5d4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x47d6b3
push dword fs:[eax]
mov dword fs:[eax], esp
xor bl, 1
test bl, bl
je 0x47d4df
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2fc]
mov edx, dword [ebp - 0x14]
call fcn.00453114
jmp 0x47d4ed
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2fc]
call fcn.0045360c
mov eax, dword [ebp - 0xc]
add eax, 0x420
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xa0]
call fcn.004047b4
mov eax, dword [ebp - 0xc]
add eax, 0x424
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xa4]
call fcn.004047b4
mov eax, dword [ebp - 0xc]
add eax, 0x428
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xa8]
call fcn.004047b4
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [eax + 0x42c], edx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x40c]
mov edx, dword [ebp - 0x10]
call fcn.00453114
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x378]
mov edx, dword [0x48554c]
call fcn.00453114
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x37c]
mov edx, dword [0x485550]
call fcn.00453114
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x380]
mov edx, dword [0x485554]
call fcn.00453114
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x388]
mov edx, dword [0x485560]
call fcn.00453114
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x304]
mov edx, dword [0x485570]
call fcn.00453114
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x318]
mov edx, dword [0x485580]
call fcn.00453114
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30c]
mov edx, dword [0x48557c]
call fcn.00453114
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x310]
mov edx, dword [0x485580]
call fcn.00453114
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x33c]
mov edx, dword [0x485584]
call fcn.00453114
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x404]
mov edx, dword [0x4855cc]
call fcn.00453114
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x344]
mov eax, dword [eax + 0x23c]
mov edx, 1
call fcn.00440ac0
mov edx, dword [0x4855e8]
call fcn.004408c0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x344]
mov eax, dword [eax + 0x23c]
mov edx, 2
call fcn.00440ac0
mov edx, dword [0x4855ec]
call fcn.004408c0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x358]
mov edx, dword [0x485574]
call fcn.00453114
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x35c]
mov edx, dword [0x485578]
call fcn.00453114
mov dl, byte [0x47d6fc]
mov eax, dword [ebp - 0xc]
call fcn.0046cd6c
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0xec]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d6ba
lea eax, [ebp - 0xc]
call fcn.0040e3d0
ret
mov eax, dword [ebp - 4]
cmp dword [eax + 0xb8], 5
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d6e9
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404784
ret