Function at 0x5c37fd
Capabilities:
Get system information on windows

Disassembly:
mov eax, 0x6bed39
call fcn.00664608
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [esi], ebx
call fcn.005c337f
push eax
call fcn.004526fa
test al, al
je 0x5c3bc6
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.005c3410
push 6
pop ecx
sub eax, ebx
je 0x5c3abc
sub eax, 1
je 0x5c397d
sub eax, 1
je 0x5c39af
sub eax, 1
jne 0x5c3b8b
mov dword [ebp - 0x24], fcn.0043b735
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.00410407
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.0045e957
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x5c38ec
mov ecx, dword [ebp - 0x54]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x5c38e3
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004279ae
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.006643a9
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.00410407
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.005c31d3
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x5c394c
mov ecx, dword [ebp - 0x54]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x5c3943
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004279ae
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
mov esi, dword [ebp - 0x20]
mov byte [ebp - 4], bl
test esi, esi
je 0x5c397d
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x5c396e
mov ecx, esi
call fcn.0042a0ed
add esi, 8
cmp esi, edi
jne 0x5c395d
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
sub eax, esi
and eax, 0xfffffff8
push eax
push esi
call fcn.004276a2
push 2
pop esi
call fcn.005c3bd9
call fcn.005c4705
mov ecx, 0x7ecaf4
call fcn.006a05a3
test al, al
jne 0x5c3b67
mov dword [0x7ec534], ebx
call fcn.005c2b9a
push 2
pop ebx
jmp 0x5c3b8b
mov dword [ebp - 0x24], fcn.0043b735
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.00410407
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.0045e957
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x5c3a30
mov ecx, dword [ebp - 0x54]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x5c3a27
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004279ae
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.006643a9
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.00410407
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.005c31d3
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x5c3a90
mov ecx, dword [ebp - 0x54]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x5c3a87
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004279ae
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
mov esi, dword [ebp - 0x20]
mov byte [ebp - 4], bl
test esi, esi
je 0x5c397d
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x5c396e
mov ecx, esi
call fcn.0042a0ed
add esi, 8
cmp esi, edi
jne 0x5c3aa9
jmp 0x5c396b
cmp dword [ebp - 0x2c], 0
je 0x5c3b8b
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [0x7ec56c]
sub esp, 0xc
add eax, dword [0x7ec570]
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 [0x7ec560]
mov dword [edx], eax
mov eax, dword [0x7ec56c]
mov dword [ecx], ebx
mov dword [ecx + 8], eax
mov dword [ecx + 4], ebx
mov eax, dword [0x7ec560]
mov dword [ecx], eax
lea eax, [ebp - 0x20]
push eax
call fcn.005c17ce
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], ebx
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
call fcn.005c19bc
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [0x7ec56c]
add eax, dword [0x7ec570]
cmp dword [ebp - 0x18], eax
jne 0x5c397d
cmp byte [ebp - 0x11], 0
je 0x5c3b62
cmp byte [ebp - 0x13], 0
je 0x5c3b62
cmp byte [ebp - 0x12], 0
jne 0x5c3b62
push 3
pop esi
mov ecx, 0x7ecaf4
call fcn.006a05a3
test al, al
jne 0x5c398a
jmp 0x5c3980
push 4
pop ebx
jmp 0x5c3b6e
mov ebx, esi
cmp ebx, 3
jne 0x5c3b8b
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.DLL_GetNativeSystemInfo]
push 6
pop eax
cmp word [ebp - 0x60], ax
je 0x5c3b8b
cmp word [ebp - 0x60], 9
je 0x5c3b8b
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x5c3bc6
mov ecx, dword [ebp - 0x3c]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x5c3bbd
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004279ae
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.006643a9
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