Function at 0x4c9190
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x54a2f8]
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.004c99b0
add esp, 0xc
test eax, eax
je 0x4c964e
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 [0x562940], 0
jne 0x4c95a9
mov edx, 2
call fcn.004c9b60
add esp, 4
test eax, eax
je 0x4c9612
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.00425a0b
add esp, 4
mov edx, eax
mov dword [ebp - 0x34], edx
test esi, esi
je 0x4c9292
mov edi, dword [ebp - 0x24]
mov esi, edx
nop dword [eax + eax]
push 0
mov edx, 2
lea ecx, [ebp - 0x18]
call fcn.004c9b60
add esp, 4
mov byte [ebp - 0x18], 0
xor eax, eax
cmp dword [ebp + eax*4 - 0x18], 0
jge 0x4c9277
mov dword [ebp + eax*4 - 0x18], 0
inc eax
cmp eax, 4
jb 0x4c9268
movups xmm0, xmmword [ebp - 0x18]
movups xmmword [esi], xmm0
add esi, 0x10
sub edi, 1
jne 0x4c9250
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 0x4c959e
movzx eax, byte [eax + edx]
add eax, 0xfffffff6
cmp eax, 0xf5
ja case.0x4c92bb.11
movzx eax, byte [eax + 0x4c972c]
jmp dword [eax*4 + 0x4c9664]
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x20020008
jmp case.0x4c92bb.11
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x20040010
jmp case.0x4c92bb.11
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x40060018
jmp case.0x4c92bb.11
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x40080020
jmp case.0x4c92bb.11
mov dword [ebx], 0x20040080
jmp case.0x4c92bb.11
mov dword [ebx], 0x20040100
jmp case.0x4c92bb.11
mov dword [ebx], 0x20040200
jmp case.0x4c92bb.11
mov dword [ebx], 0x20040400
jmp case.0x4c92bb.11
mov dword [ebx], 0x20040800
jmp case.0x4c92bb.11
mov dword [edi], 0x40041000
jmp case.0x4c92bb.11
mov dword [edi], 0x40082000
jmp case.0x4c92bb.11
mov dword [ebx], 0x400c0c00
jmp case.0x4c92bb.11
mov esi, dword [ebp - 0x28]
mov eax, ebx
cmp dword [esi], 0xf
cmove eax, edi
mov dword [eax], 0x40101000
jmp case.0x4c92bb.11
mov dword [edi], 0x400c3000
jmp case.0x4c92bb.11
mov dword [edi], 0x40104000
jmp case.0x4c92bb.11
mov dword [ebx], 0x40181800
jmp case.0x4c92bb.11
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x40080010
jmp case.0x4c92bb.11
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x40040008
jmp case.0x4c92bb.11
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x40040010
jmp case.0x4c92bb.11
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x40040020
jmp case.0x4c92bb.11
mov dword [ebx], 0x40040400
jmp case.0x4c92bb.11
mov dword [ebx], 0x40080080
jmp case.0x4c92bb.11
mov dword [ebx], 0x40080100
jmp case.0x4c92bb.11
mov dword [ebx], 0x40080800
jmp case.0x4c92bb.11
mov dword [ebx], 0x40020200
jmp case.0x4c92bb.11
mov dword [ebx], 0x40080200
jmp case.0x4c92bb.11
mov dword [ebx], 0x20080080
jmp case.0x4c92bb.11
mov dword [ebx], 0x20080100
jmp case.0x4c92bb.11
mov dword [ebx], 0x20080200
jmp case.0x4c92bb.11
mov dword [ebx], 0x20080400
jmp case.0x4c92bb.11
mov dword [ebx], 0x20080800
jmp case.0x4c92bb.11
mov dword [ebx], 0x40040200
jmp case.0x4c92bb.11
mov dword [ebx], 0x40080400
jmp case.0x4c92bb.11
mov dword [edi], 0x40040200
jmp case.0x4c92bb.11
mov dword [edi], 0x40040400
jmp case.0x4c92bb.11
mov dword [edi], 0x40040800
jmp case.0x4c92bb.11
mov dword [edi], 0x40080400
jmp case.0x4c92bb.11
mov dword [edi], 0x40080800
jmp case.0x4c92bb.11
mov dword [edi], 0x40081000
jmp case.0x4c92bb.11
mov dword [edi], 0x400c0600
jmp case.0x4c92bb.11
mov dword [edi], 0x400c0c00
jmp case.0x4c92bb.11
mov dword [edi], 0x400c1800
jmp case.0x4c92bb.11
mov dword [edi], 0x40100800
jmp case.0x4c92bb.11
mov dword [edi], 0x40101000
jmp case.0x4c92bb.11
mov dword [edi], 0x40102000
jmp case.0x4c92bb.11
mov dword [edi], 0x40183000
jmp case.0x4c92bb.11
mov dword [edi], 0x40184800
jmp case.0x4c92bb.11
mov dword [edi], 0x40186000
jmp case.0x4c92bb.11
xor ebx, ebx
push ebx
mov edx, 4
lea ecx, [ebp - 0x18]
call fcn.004c9b60
add esp, 4
test eax, eax
je 0x4c957c
mov edi, dword [ebp - 0x18]
mov eax, edi
and eax, 0x1f
cmp eax, 1
je 0x4c951e
cmp eax, 3
jne 0x4c9579
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 0x4c9574
sub edi, 1
je 0x4c956f
sub edi, 1
mov edi, dword [ebp - 0x20]
jne 0x4c957c
mov dword [edi], eax
jmp 0x4c957c
mov ecx, dword [ebp - 0x2c]
jmp 0x4c9577
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov edi, dword [ebp - 0x20]
inc ebx
cmp ebx, 4
jb 0x4c94f7
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 0x4c92a2
push edx
call fcn.004259c8
add esp, 4
jmp 0x4c9612
mov edx, 0x80000005
call fcn.004c9b60
add esp, 4
test eax, eax
je 0x4c9612
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.004c9b60
add esp, 4
test eax, eax
je 0x4c9612
mov edx, dword [ebp - 0x10]
mov ecx, edx
shr ecx, 0xc
and ecx, 0xf
jbe 0x4c9600
shr ecx, 1
mov eax, 1
shl eax, cl
jmp 0x4c9602
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.004c9900
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.004c9830
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.004259b7
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.004259b7
mov esp, ebp
pop ebp
ret