Function at 0x4cdc4d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x18
call fcn.0059de33
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
add ebx, 0x14
push ebx
push 0x208
call fcn.0059de33
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x620649
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0x94
mov dword [ebp - 0xc], esp
mov eax, dword [ebp - 4]
push eax
push 0x214
call fcn.0059de33
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x80
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop ebx
add ebx, 4
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4cdd3d
push 0x50
push 0x40d3302
push 6
call fcn.0059de3f
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov edi, dword [ebp - 0x14]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0059de2d
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4cdd92
jmp 0x4ce00d
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 4
jg 0x4cddb1
jmp 0x4ce00d
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 5
jne 0x4cdde2
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0
jne 0x4cdde2
mov eax, 1
jmp 0x4cdde7
mov eax, 0
test eax, eax
je 0x4cddf4
jmp 0x4ce00d
push SysStringLen
push 0
push str.windir
push 1
mov ebx, 0x10c
call fcn.005a36e0
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x64b6a5
push dword [ebp - 0xc]
mov ecx, 2
call fcn.004010ab
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4cde3d
push ebx
call fcn.0059de2d
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4cde51
push ebx
call fcn.0059de2d
add esp, 4
pop eax
mov dword [ebp - 8], eax
push SysStringLen
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4cde68
mov eax, 0x5d3437
push eax
push 1
mov ebx, 0x24c
call fcn.005a3740
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4cdf4e
push SysStringLen
push 0
push str.TEMP
push 1
mov ebx, 0x10c
call fcn.005a36e0
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x64b6a5
push dword [ebp - 0xc]
mov ecx, 2
call fcn.004010ab
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4cded1
push ebx
call fcn.0059de2d
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4cdee5
push ebx
call fcn.0059de2d
add esp, 4
pop eax
mov dword [ebp - 8], eax
push SysStringLen
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4cdefc
mov eax, 0x5d3437
push eax
push 1
mov ebx, 0x24c
call fcn.005a3740
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4cdf4e
push SysStringLen
push 0
push 0x64b6b5
push SysStringLen
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4cdf3b
mov eax, 0x5d3437
push eax
push 2
mov ebx, 0x26c
call fcn.0059f690
add esp, 0x1c
mov dword [ebp - 0xc], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4cdf77
push 0x33f
push 0x40d3302
push 6
call fcn.0059de3f
add esp, 0xc
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.0059f220
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0x6205b7
push dword [ebp - 8]
mov ecx, 3
call fcn.004010ab
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4cdfbf
push ebx
call fcn.0059de2d
add esp, 4
push 0x80000301
push 0
push 1
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push SysStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4cdfea
mov eax, 0x5d3437
push eax
push 3
mov ebx, 0x2c0
call fcn.0059f970
add esp, 0x28
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4ce00d
push ebx
call fcn.0059de2d
add esp, 4
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0x14
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4ce032
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4ce02e
imul eax, dword [ebx]
jmp 0x4ce023
mov ecx, eax
test ecx, ecx
je 0x4ce051
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x4ce04a
push ebx
push eax
call fcn.0059de2d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4ce038
call fcn.0059de2d
add esp, 4
pop ebx
call fcn.0059de2d
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4ce072
push ebx
call fcn.0059de2d
add esp, 4
mov esp, ebp
pop ebp
ret