Function at 0x4cb420
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x5522f8]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp + 0x24]
push eax
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp + 0x28]
push ecx
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x28]
push esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], edi
call fcn.004cbc40
add esp, 0xc
test eax, eax
je 0x4cb8de
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push 0
mov dword [esi], 0
mov dword [ebx], 0
mov dword [edi], 0
cmp dword [0x56aee0], 0
jne 0x4cb839
mov edx, 2
call fcn.004cbdf0
add esp, 4
test eax, eax
je 0x4cb8a2
movzx esi, byte [ebp - 0x18]
mov eax, esi
mov dword [ebp - 0x24], esi
shl eax, 4
push eax
mov dword [ebp - 0x30], eax
call fcn.004276a9
add esp, 4
mov edx, eax
mov dword [ebp - 0x34], edx
test esi, esi
je 0x4cb522
mov edi, dword [ebp - 0x24]
mov esi, edx
nop dword [eax + eax]
push 0
mov edx, 2
lea ecx, [ebp - 0x18]
call fcn.004cbdf0
add esp, 4
mov byte [ebp - 0x18], 0
xor eax, eax
cmp dword [ebp + eax*4 - 0x18], 0
jge 0x4cb507
mov dword [ebp + eax*4 - 0x18], 0
inc eax
cmp eax, 4
jb 0x4cb4f8
movups xmm0, xmmword [ebp - 0x18]
movups xmmword [esi], xmm0
add esi, 0x10
sub edi, 1
jne 0x4cb4e0
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x4cb82e
movzx eax, byte [eax + edx]
add eax, 0xfffffff6
cmp eax, 0xf5
ja case.0x4cb54b.11
movzx eax, byte [eax + 0x4cb9bc]
jmp dword [eax*4 + 0x4cb8f4]
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x20020008
jmp case.0x4cb54b.11
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x20040010
jmp case.0x4cb54b.11
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x40060018
jmp case.0x4cb54b.11
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x40080020
jmp case.0x4cb54b.11
mov dword [ebx], 0x20040080
jmp case.0x4cb54b.11
mov dword [ebx], 0x20040100
jmp case.0x4cb54b.11
mov dword [ebx], 0x20040200
jmp case.0x4cb54b.11
mov dword [ebx], 0x20040400
jmp case.0x4cb54b.11
mov dword [ebx], 0x20040800
jmp case.0x4cb54b.11
mov dword [edi], 0x40041000
jmp case.0x4cb54b.11
mov dword [edi], 0x40082000
jmp case.0x4cb54b.11
mov dword [ebx], 0x400c0c00
jmp case.0x4cb54b.11
mov esi, dword [ebp - 0x28]
mov eax, ebx
cmp dword [esi], 0xf
cmove eax, edi
mov dword [eax], 0x40101000
jmp case.0x4cb54b.11
mov dword [edi], 0x400c3000
jmp case.0x4cb54b.11
mov dword [edi], 0x40104000
jmp case.0x4cb54b.11
mov dword [ebx], 0x40181800
jmp case.0x4cb54b.11
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x40080010
jmp case.0x4cb54b.11
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x40040008
jmp case.0x4cb54b.11
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x40040010
jmp case.0x4cb54b.11
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x40040020
jmp case.0x4cb54b.11
mov dword [ebx], 0x40040400
jmp case.0x4cb54b.11
mov dword [ebx], 0x40080080
jmp case.0x4cb54b.11
mov dword [ebx], 0x40080100
jmp case.0x4cb54b.11
mov dword [ebx], 0x40080800
jmp case.0x4cb54b.11
mov dword [ebx], 0x40020200
jmp case.0x4cb54b.11
mov dword [ebx], 0x40080200
jmp case.0x4cb54b.11
mov dword [ebx], 0x20080080
jmp case.0x4cb54b.11
mov dword [ebx], 0x20080100
jmp case.0x4cb54b.11
mov dword [ebx], 0x20080200
jmp case.0x4cb54b.11
mov dword [ebx], 0x20080400
jmp case.0x4cb54b.11
mov dword [ebx], 0x20080800
jmp case.0x4cb54b.11
mov dword [ebx], 0x40040200
jmp case.0x4cb54b.11
mov dword [ebx], 0x40080400
jmp case.0x4cb54b.11
mov dword [edi], 0x40040200
jmp case.0x4cb54b.11
mov dword [edi], 0x40040400
jmp case.0x4cb54b.11
mov dword [edi], 0x40040800
jmp case.0x4cb54b.11
mov dword [edi], 0x40080400
jmp case.0x4cb54b.11
mov dword [edi], 0x40080800
jmp case.0x4cb54b.11
mov dword [edi], 0x40081000
jmp case.0x4cb54b.11
mov dword [edi], 0x400c0600
jmp case.0x4cb54b.11
mov dword [edi], 0x400c0c00
jmp case.0x4cb54b.11
mov dword [edi], 0x400c1800
jmp case.0x4cb54b.11
mov dword [edi], 0x40100800
jmp case.0x4cb54b.11
mov dword [edi], 0x40101000
jmp case.0x4cb54b.11
mov dword [edi], 0x40102000
jmp case.0x4cb54b.11
mov dword [edi], 0x40183000
jmp case.0x4cb54b.11
mov dword [edi], 0x40184800
jmp case.0x4cb54b.11
mov dword [edi], 0x40186000
jmp case.0x4cb54b.11
xor ebx, ebx
push ebx
mov edx, 4
lea ecx, [ebp - 0x18]
call fcn.004cbdf0
add esp, 4
test eax, eax
je 0x4cb80c
mov edi, dword [ebp - 0x18]
mov eax, edi
and eax, 0x1f
cmp eax, 1
je 0x4cb7ae
cmp eax, 3
jne 0x4cb809
mov eax, dword [ebp - 0x14]
mov esi, eax
mov ecx, dword [ebp - 0x10]
mov edx, eax
shr eax, 0xc
inc ecx
and eax, 0x3ff
shr edx, 0x16
inc eax
shr edi, 5
imul eax, ecx
inc edx
and esi, 0xfff
and edi, 7
inc esi
imul eax, edx
imul eax, esi
shl esi, 8
or esi, edx
shl esi, 0x10
shr eax, 0xa
or eax, esi
sub edi, 1
je 0x4cb804
sub edi, 1
je 0x4cb7ff
sub edi, 1
mov edi, dword [ebp - 0x20]
jne 0x4cb80c
mov dword [edi], eax
jmp 0x4cb80c
mov ecx, dword [ebp - 0x2c]
jmp 0x4cb807
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov edi, dword [ebp - 0x20]
inc ebx
cmp ebx, 4
jb 0x4cb787
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, ecx
jb 0x4cb532
push edx
call fcn.00427666
add esp, 4
jmp 0x4cb8a2
mov edx, 0x80000005
call fcn.004cbdf0
add esp, 4
test eax, eax
je 0x4cb8a2
mov eax, dword [ebp - 0x10]
mov edx, 0x80000006
mov ecx, eax
shl eax, 0x18
and ecx, 0xff0000
or ecx, eax
movzx eax, byte [ebp - 0xd]
or ecx, eax
mov dword [esi], ecx
lea ecx, [ebp - 0x18]
push 0
call fcn.004cbdf0
add esp, 4
test eax, eax
je 0x4cb8a2
mov edx, dword [ebp - 0x10]
mov ecx, edx
shr ecx, 0xc
and ecx, 0xf
jbe 0x4cb890
shr ecx, 1
mov eax, 1
shl eax, cl
jmp 0x4cb892
xor eax, eax
shl edx, 8
or edx, eax
movzx eax, word [ebp - 0xe]
shl edx, 0x10
or edx, eax
mov dword [ebx], edx
call fcn.004cbb90
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x50]
mov dword [ecx], eax
call fcn.004cbac0
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00427655
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427655
mov esp, ebp
pop ebp
ret