Function at 0x5e2670
Capabilities:
Get system information on windows

Disassembly:
mov eax, 0x6e6f0a
call fcn.006899cc
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [esi], ebx
call fcn.005e21f2
push eax
call fcn.004704f8
test al, al
je 0x5e2a39
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.005e2283
push 6
pop ecx
sub eax, ebx
je 0x5e292f
sub eax, 1
je 0x5e27f0
sub eax, 1
je 0x5e2822
sub eax, 1
jne 0x5e29fe
mov dword [ebp - 0x24], 0x6f6164
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.00414b60
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.0047ca3f
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x5e275f
mov ecx, dword [ebp - 0x54]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x5e2756
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044810a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0068976d
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.00414b60
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.005e2046
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x5e27bf
mov ecx, dword [ebp - 0x54]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x5e27b6
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044810a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
mov esi, dword [ebp - 0x20]
mov byte [ebp - 4], bl
test esi, esi
je 0x5e27f0
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x5e27e1
mov ecx, esi
call fcn.0044a669
add esi, 8
cmp esi, edi
jne 0x5e27d0
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
sub eax, esi
and eax, 0xfffffff8
push eax
push esi
call fcn.00447e20
push 2
pop esi
call fcn.005e2a4c
call fcn.005e3578
mov ecx, 0x81c83c
call fcn.006c6266
test al, al
jne 0x5e29da
mov dword [0x81c264], ebx
call fcn.005e1a0d
push 2
pop ebx
jmp 0x5e29fe
mov dword [ebp - 0x24], 0x6f6164
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.00414b60
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.0047ca3f
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x5e28a3
mov ecx, dword [ebp - 0x54]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x5e289a
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044810a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0068976d
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.00414b60
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.005e2046
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x5e2903
mov ecx, dword [ebp - 0x54]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x5e28fa
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044810a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
mov esi, dword [ebp - 0x20]
mov byte [ebp - 4], bl
test esi, esi
je 0x5e27f0
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x5e27e1
mov ecx, esi
call fcn.0044a669
add esi, 8
cmp esi, edi
jne 0x5e291c
jmp 0x5e27de
cmp dword [ebp - 0x2c], 0
je 0x5e29fe
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [0x81c29c]
sub esp, 0xc
add eax, dword [0x81c2a0]
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 [0x81c290]
mov dword [edx], eax
mov eax, dword [0x81c29c]
mov dword [ecx], ebx
mov dword [ecx + 8], eax
mov dword [ecx + 4], ebx
mov eax, dword [0x81c290]
mov dword [ecx], eax
lea eax, [ebp - 0x20]
push eax
call fcn.005e0663
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], ebx
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
call fcn.005e082f
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [0x81c29c]
add eax, dword [0x81c2a0]
cmp dword [ebp - 0x18], eax
jne 0x5e27f0
cmp byte [ebp - 0x11], 0
je 0x5e29d5
cmp byte [ebp - 0x13], 0
je 0x5e29d5
cmp byte [ebp - 0x12], 0
jne 0x5e29d5
push 3
pop esi
mov ecx, 0x81c83c
call fcn.006c6266
test al, al
jne 0x5e27fd
jmp 0x5e27f3
push 4
pop ebx
jmp 0x5e29e1
mov ebx, esi
cmp ebx, 3
jne 0x5e29fe
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.DLL_GetNativeSystemInfo]
push 6
pop eax
cmp word [ebp - 0x60], ax
je 0x5e29fe
cmp word [ebp - 0x60], 9
je 0x5e29fe
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x5e2a39
mov ecx, dword [ebp - 0x3c]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x5e2a30
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044810a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0068976d
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