Function at 0x47beb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d097b
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x516008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x12c]
push 0x110
push 0
push eax
mov dword [ebp - 0x130], 0x114
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x47bf65
cmp dword [ebp - 0x12c], 6
jb 0x47bf65
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.0047c220
jmp 0x47bf6d
lea ecx, [ebp - 0x1c]
call fcn.0047c990
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jne 0x47bf7c
xor bl, bl
jmp 0x47c198
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
sub ecx, dword [ebp - 0x1c]
imul ecx
mov dword [ebp - 0x144], 0
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x47c196
xor ecx, ecx
mov dword [ebp - 0x134], ecx
nop dword [eax + eax]
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x47c15b
lea edi, [esi + 0x38]
nop
mov ebx, dword [ebp - 0x1c]
add ebx, ecx
mov dword [ebp - 0x138], ebx
lea eax, [ebx + 0x38]
mov ecx, eax
mov dword [ebp - 0x140], eax
call fcn.0047ba10
test al, al
je 0x47c08e
mov ecx, edi
call fcn.004132f0
mov ecx, dword [ebp - 0x140]
mov ebx, eax
call fcn.004132f0
cmp eax, ebx
jne 0x47c094
mov ecx, edi
call fcn.004131e0
mov ecx, eax
call fcn.004131a0
mov ecx, dword [ebp - 0x140]
mov ebx, eax
call fcn.004131e0
mov ecx, eax
call fcn.004131a0
mov edx, ebx
mov ecx, eax
call fcn.00488ca0
test al, al
je 0x47c094
mov ecx, dword [ebp - 0x138]
lea edx, [edi + 0x18]
add ecx, 0x50
call fcn.00488c00
test al, al
je 0x47c094
mov ebx, dword [ebp - 0x148]
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], eax
je 0x47c0b4
push eax
push 0x34
call fcn.00411e40
mov ecx, dword [esi]
mov edi, eax
add esp, 8
mov dword [ebp - 0x138], edi
mov dword [edi], ecx
lea ecx, [esi + 4]
push ecx
lea ecx, [edi + 4]
call fcn.00413010
mov byte [ebp - 4], 1
lea eax, [esi + 0x1c]
push eax
lea ecx, [edi + 0x1c]
call fcn.00413010
mov byte [ebp - 4], 0
add dword [ebx + 4], 0x34
jmp 0x47c0bd
mov eax, dword [ebx]
cmp eax, dword [esi]
je 0x47c043
mov ebx, dword [ebp - 0x13c]
add esi, 0x68
mov ecx, dword [ebp - 0x134]
add edi, 0x68
cmp esi, dword [ebx + 4]
jne 0x47bfc0
jmp 0x47c155
push esi
push eax
mov ecx, ebx
call fcn.0047d110
mov ebx, dword [ebp - 0x13c]
lea edi, [esi + 0x68]
mov eax, dword [ebx + 4]
cmp edi, eax
je 0x47c125
add edi, 0x34
mov ebx, eax
add esi, 0x1c
mov eax, dword [edi - 0x34]
lea ecx, [esi - 0x18]
mov dword [esi - 0x1c], eax
lea eax, [edi - 0x30]
push eax
call fcn.00418e50
lea eax, [esi + 0x68]
mov ecx, esi
push eax
call fcn.00418e50
mov eax, dword [edi]
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], eax
lea eax, [edi + 4]
push eax
call fcn.00418e50
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x34]
call fcn.00418e50
lea edi, [edi + 0x68]
add esi, 0x68
lea eax, [edi - 0x34]
cmp eax, ebx
jne 0x47c0d5
mov ebx, dword [ebp - 0x13c]
mov eax, dword [ebx + 4]
lea esi, [eax - 0x68]
mov dword [ebp - 0x138], esi
mov byte [ebp - 4], 4
lea ecx, [esi + 0x50]
call fcn.00412e40
mov byte [ebp - 4], 3
lea ecx, [esi + 0x38]
call fcn.00412e40
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00449000
add dword [ebx + 4], 0xffffff98
mov ecx, dword [ebp - 0x134]
mov esi, dword [ebp - 0x144]
add ecx, 0x68
mov dword [ebp - 0x134], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [ebp - 0x18]
inc esi
sub ecx, dword [ebp - 0x1c]
imul ecx
mov ecx, dword [ebp - 0x134]
sar edx, 5
mov eax, edx
mov dword [ebp - 0x144], esi
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x47bfb0
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00411e60
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x47c1f2
mov edx, dword [ebp - 0x18]
push ecx
call fcn.0047d310
mov ecx, dword [ebp - 0x14]
mov eax, 0x4ec4ec4f
mov esi, dword [ebp - 0x1c]
sub ecx, esi
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x68
push ecx
push esi
call fcn.00413950
add esp, 0xc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8ad3
mov esp, ebp
pop ebp
ret 8