Function at 0x4e98f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52881f
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x160
mov eax, dword [0x57e9a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x13c], ecx
lea ecx, [ebp - 0x70]
call fcn.0041a0e0
mov eax, dword [0x53c2a0]
imul eax, eax, 0xffffffff
mov dword [ebp - 0x70], eax
mov ecx, dword [0x53c2a4]
mov dword [ebp - 0x60], ecx
push 0x20
mov ecx, 0x580b84
call fcn.0042e470
push eax
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp dword [ebp + 8], 0
je 0x4e9967
mov byte [ebp - 0x32], 2
jmp 0x4e996b
mov byte [ebp - 0x32], 1
mov dword [ebp - 0x30], 0xffffff
cmp dword [ebp + 0xc], 0
je 0x4e999b
mov dword [ebp - 0x2c], 0
push 2
push 1
lea ecx, [ebp - 0x118]
call fcn.00412790
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
jmp 0x4e99bc
mov dword [ebp - 0x2c], 0xffffffff
push 0
push 0
lea ecx, [ebp - 0x120]
call fcn.00412790
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov al, byte [0x53c2ac]
mov byte [ebp - 0x33], al
mov cl, byte [0x53c2a8]
mov byte [ebp - 0x34], cl
mov byte [ebp - 0x1b], 0
mov dword [ebp - 4], 0
call fcn.00413fc0
mov dword [ebp - 0x140], eax
lea edx, [ebp - 0x70]
push edx
mov ecx, dword [ebp - 0x140]
call fcn.0041a1c0
mov byte [ebp - 0x141], al
movzx eax, byte [ebp - 0x141]
test eax, eax
jne 0x4e9a1e
mov dword [ebp - 0x124], 1
push 0x557c48
lea ecx, [ebp - 0x124]
push ecx
call fcn.00509f58
mov ecx, 0x580b88
call fcn.0041cef0
cdq
sub eax, edx
sar eax, 1
add eax, 1
imul eax, dword [0x53c2a0]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x110], 0x94
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4e9a6e
cmp dword [ebp - 0x10c], 5
jae 0x4e9a6e
mov eax, dword [0x53c2a0]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x74], eax
mov eax, dword [0x53c2a0]
mov dword [ebp - 0x78], eax
push 0x24
call fcn.0050a010
add esp, 4
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x12c], ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x12c], 0
je 0x4e9abe
mov ecx, dword [ebp - 0x12c]
call fcn.00414040
mov dword [ebp - 0x14c], eax
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x150], edx
jmp 0x4e9ac8
mov dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x128]
push ecx
mov ecx, dword [ebp - 0x13c]
add ecx, 0xd8
call fcn.00428d80
mov ecx, dword [ebp - 0x13c]
add ecx, 0xd8
call fcn.0041da00
mov dword [ebp - 0x154], eax
push 1
push 1
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x154]
call fcn.004148c0
mov byte [ebp - 0x155], al
movzx ecx, byte [ebp - 0x155]
test ecx, ecx
jne 0x4e9b4a
mov dword [ebp - 0x130], 1
push 0x557c48
lea edx, [ebp - 0x130]
push edx
call fcn.00509f58
call fcn.00413fc0
mov dword [ebp - 0x15c], eax
push 0
push 0
mov ecx, 0x580b88
call fcn.0042e470
push eax
mov ecx, dword [ebp - 0x15c]
call fcn.00418e80
mov byte [ebp - 0x15d], al
movzx eax, byte [ebp - 0x15d]
test eax, eax
jne 0x4e9b9b
mov dword [ebp - 0x134], 1
push 0x557c48
lea ecx, [ebp - 0x134]
push ecx
call fcn.00509f58
mov ecx, dword [ebp - 0x13c]
add ecx, 0xd8
call fcn.0041da00
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x164]
call fcn.00500d30
mov dword [ebp - 0x168], eax
call fcn.00413fc0
mov dword [ebp - 0x16c], eax
push 0
mov edx, dword [ebp - 0x168]
push edx
mov ecx, dword [ebp - 0x16c]
call fcn.00439240
mov byte [ebp - 0x16d], al
movzx eax, byte [ebp - 0x16d]
test eax, eax
jne 0x4e9c0e
mov dword [ebp - 0x138], 1
push 0x557c48
lea ecx, [ebp - 0x138]
push ecx
call fcn.00509f58
jmp 0x4e9c2e
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00509f49
mov esp, ebp
pop ebp
ret 8