Function at 0x5cbdde
Capabilities:
Get system information on windows

Disassembly:
mov eax, 0x6c801a
call fcn.0066bd6c
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [esi], ebx
call fcn.005cb960
push eax
call fcn.0045f5f5
test al, al
je 0x5cc1a7
push 7
pop edi
xor eax, eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], edi
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], ebx
push eax
call fcn.005cb9f1
push 6
pop ecx
sub eax, ebx
je 0x5cc09d
sub eax, 1
je 0x5cbf5e
sub eax, 1
je 0x5cbf90
sub eax, 1
jne 0x5cc16c
mov dword [ebp - 0x24], fcn.0043b224
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push 0xf
pop esi
push ecx
mov dword [ebp - 0x54], ebx
lea ecx, [ebp - 0x54]
push str.oscode
mov byte [ebp - 4], 4
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x54], bl
call fcn.0040fe77
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
call fcn.0046b836
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x5cbecd
mov ecx, dword [ebp - 0x54]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x5cbec4
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042741e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
push edi
mov dword [ebp - 0x54], ebx
lea ecx, [ebp - 0x54]
push str.verfail
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x54], bl
call fcn.0040fe77
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.005cb7b4
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x5cbf2d
mov ecx, dword [ebp - 0x54]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x5cbf24
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042741e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
mov esi, dword [ebp - 0x20]
mov byte [ebp - 4], bl
test esi, esi
je 0x5cbf5e
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x5cbf4f
mov ecx, esi
call fcn.00429b5d
add esi, 8
cmp esi, edi
jne 0x5cbf3e
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
sub eax, esi
and eax, 0xfffffff8
push eax
push esi
call fcn.00427112
push 2
pop esi
call fcn.005cc1ba
call fcn.005ccce6
mov ecx, 0x7f772c
call fcn.006a81a9
test al, al
jne 0x5cc148
mov dword [0x7f716c], ebx
call fcn.005cb17b
push 2
pop ebx
jmp 0x5cc16c
mov dword [ebp - 0x24], fcn.0043b224
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push 0xf
pop esi
push ecx
mov dword [ebp - 0x54], ebx
lea ecx, [ebp - 0x54]
push str.oscode
mov byte [ebp - 4], 1
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x54], bl
call fcn.0040fe77
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
call fcn.0046b836
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x5cc011
mov ecx, dword [ebp - 0x54]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x5cc008
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042741e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
push edi
mov dword [ebp - 0x54], ebx
lea ecx, [ebp - 0x54]
push str.exegone
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x54], bl
call fcn.0040fe77
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.005cb7b4
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x5cc071
mov ecx, dword [ebp - 0x54]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x5cc068
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042741e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
mov esi, dword [ebp - 0x20]
mov byte [ebp - 4], bl
test esi, esi
je 0x5cbf5e
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x5cbf4f
mov ecx, esi
call fcn.00429b5d
add esi, 8
cmp esi, edi
jne 0x5cc08a
jmp 0x5cbf4c
cmp dword [ebp - 0x2c], 0
je 0x5cc16c
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [0x7f71a4]
sub esp, 0xc
add eax, dword [0x7f71a8]
mov edx, esp
sub esp, 0xc
mov ecx, esp
mov dword [edx], ebx
mov dword [edx + 8], eax
mov dword [edx + 4], ebx
mov eax, dword [0x7f7198]
mov dword [edx], eax
mov eax, dword [0x7f71a4]
mov dword [ecx], ebx
mov dword [ecx + 8], eax
mov dword [ecx + 4], ebx
mov eax, dword [0x7f7198]
mov dword [ecx], eax
lea eax, [ebp - 0x20]
push eax
call fcn.005c9dd1
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], ebx
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
call fcn.005c9f9d
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [0x7f71a4]
add eax, dword [0x7f71a8]
cmp dword [ebp - 0x18], eax
jne 0x5cbf5e
cmp byte [ebp - 0x11], 0
je 0x5cc143
cmp byte [ebp - 0x13], 0
je 0x5cc143
cmp byte [ebp - 0x12], 0
jne 0x5cc143
push 3
pop esi
mov ecx, 0x7f772c
call fcn.006a81a9
test al, al
jne 0x5cbf6b
jmp 0x5cbf61
push 4
pop ebx
jmp 0x5cc14f
mov ebx, esi
cmp ebx, 3
jne 0x5cc16c
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.DLL_GetNativeSystemInfo]
push 6
pop eax
cmp word [ebp - 0x60], ax
je 0x5cc16c
cmp word [ebp - 0x60], 9
je 0x5cc16c
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x5cc1a7
mov ecx, dword [ebp - 0x3c]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x5cc19e
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042741e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4