Function at 0x4999d0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4d7cda
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov dword [esp + 4], 0
mov eax, dword [0x6cc33c]
push edi
mov dword [esp + 4], eax
xor eax, eax
mov ecx, 0x25
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0xac], 1
mov dword [esp + 0x10], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
pop edi
je 0x499c17
mov eax, dword [esp + 0x18]
sub eax, 0
je 0x499bef
dec eax
je 0x499b35
dec eax
jne 0x499c17
cmp dword [esp + 0xc], 5
jne 0x499abc
mov eax, dword [esp + 0x10]
sub eax, 0
je 0x499a9a
dec eax
je 0x499a7e
dec eax
jne 0x499abc
mov edx, dword [esp + 0x14]
push edx
push 0
push str.Windows_Server_2003__build__lu
call fcn.004010f0
add esp, 8
push eax
lea eax, [esp + 8]
push eax
jmp 0x499ab4
mov ecx, dword [esp + 0x14]
push ecx
push 0
push str.Windows_XP__build__lu
call fcn.004010f0
add esp, 8
push eax
lea edx, [esp + 8]
push edx
jmp 0x499ab4
mov eax, dword [esp + 0x14]
push eax
push 0
push str.Windows_2000__build__lu
call fcn.004010f0
add esp, 8
push eax
lea ecx, [esp + 8]
push ecx
call fcn.0048d110
add esp, 0xc
mov edx, dword [esp]
mov eax, dword [edx - 8]
test eax, eax
jne 0x499b01
call fcn.0048da70
test eax, eax
je 0x499adf
mov edx, dword [eax]
push 0
push str.Windows_NT__lu._lu__build__lu
mov ecx, eax
call dword [edx + 8]
jmp 0x499ae4
mov eax, str.Windows_NT__lu._lu__build__lu
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push ecx
push eax
lea edx, [esp + 0x10]
push edx
call fcn.0048d110
add esp, 0x14
mov al, byte [esp + 0x1c]
test al, al
je 0x499b23
lea eax, [esp + 0x1c]
push eax
push 0x506674
lea ecx, [esp + 8]
call fcn.00415030
mov ecx, eax
call fcn.00415030
push 0x29
push 1
lea ecx, [esp + 8]
call fcn.0048b950
jmp 0x499c17
mov eax, dword [esp + 0x10]
test eax, eax
je 0x499b93
cmp eax, 0xa
je 0x499b75
cmp eax, 0x5a
je 0x499b6c
mov ecx, dword [esp + 0xc]
push eax
push ecx
push 0
push str.Windows_9x___d._d_
call fcn.004010f0
add esp, 8
push eax
lea edx, [esp + 0xc]
push edx
call fcn.0048d110
add esp, 0x10
jmp 0x499bc0
push 0
push str.Windows_ME
jmp 0x499baf
mov al, byte [esp + 0x1d]
cmp al, 0x42
je 0x499b8a
cmp al, 0x43
je 0x499b8a
push 0
push str.Windows_98
jmp 0x499baf
push 0
push str.Windows_98_SE
jmp 0x499baf
mov al, byte [esp + 0x1d]
cmp al, 0x42
je 0x499ba8
cmp al, 0x43
je 0x499ba8
push 0
push str.Windows_95
jmp 0x499baf
push 0
push str.Windows_95_OSR2
call fcn.004010f0
add esp, 8
lea ecx, [esp]
push eax
call fcn.0048b9e0
mov al, byte [esp + 0x1c]
test al, al
je 0x499c17
lea eax, [esp + 0x1c]
push eax
push 0x506618
lea ecx, [esp + 8]
call fcn.00415030
mov ecx, eax
call fcn.00415030
push 0x29
push 1
mov ecx, eax
call fcn.0048b950
jmp 0x499c17
call fcn.0048da70
test eax, eax
je 0x499c08
mov edx, dword [eax]
push 0
push str.Win32s_on_Windows_3.1
mov ecx, eax
call dword [edx + 8]
jmp 0x499c0d
mov eax, str.Win32s_on_Windows_3.1
push eax
lea ecx, [esp + 4]
call fcn.0048b9e0
mov eax, dword [esp]
mov ecx, dword [eax - 8]
test ecx, ecx
push esi
mov esi, dword [esp + 0xb0]
jne 0x499c33
mov ecx, dword [0x6cc33c]
mov dword [esi], ecx
jmp 0x499c45
mov dword [esi], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x499c45
inc ecx
mov dword [eax - 0xc], ecx
mov eax, dword [esp + 4]
lea ecx, [eax - 0xc]
mov eax, dword [ecx]
cmp eax, 0xffffffff
mov dword [esp + 8], 1
mov byte [esp + 0xa8], 0
je 0x499c69
dec eax
mov dword [ecx], eax
jne 0x499c69
call fcn.0048a9b0
mov ecx, dword [esp + 0xa0]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0xa8
ret