Function at 0x41e47b
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0xc]
mov ecx, esi
call fcn.0040d3d2
lea eax, [ebp - 0x15c]
push eax
mov byte [ebx + 0x34], 0
mov dword [ebp - 0x15c], 0x11c
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
mov eax, dword [ebp - 0x158]
mov dword [ebx], eax
mov eax, dword [ebp - 0x154]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x150]
mov dword [ebx + 8], eax
lea eax, [ebp - 0x148]
push eax
mov ecx, esi
call fcn.00407e53
push ecx
mov ecx, esi
call fcn.0041e5f8
push 0x49dc28
mov ecx, esi
call fcn.0041e617
mov eax, dword [ebx]
xor edx, edx
push 1
mov word [ebx + 0x2f], dx
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], edx
mov dword [ebx + 0x28], edx
mov word [ebx + 0x2c], dx
mov byte [ebx + 0x2e], dl
pop ecx
sub eax, 5
je 0x4729f9
dec eax
jne 0x41e54d
mov eax, dword [ebx + 4]
mov byte [ebx + 0x1d], cl
mov byte [ebx + 0x1f], cl
test eax, eax
je 0x47297f
cmp eax, ecx
je 0x47299a
cmp eax, 2
jne 0x4729c6
mov byte [ebx + 0x27], cl
mov byte [ebx + 0x25], cl
mov byte [ebx + 0x21], cl
mov byte [ebx + 0x29], cl
cmp byte [ebp - 0x42], cl
jne 0x4729bb
mov byte [ebx + 0x28], cl
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], edx
call fcn.0041e6d1
test al, al
je 0x41e582
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041e70e
call eax
cmp dword [ebp - 4], 1
jne 0x41e582
mov byte [ebx + 0x30], 1
mov esi, dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push edi
push 8
xor edx, edx
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
mov dword [ebp - 0x40], edx
rep stosd dword es:[edi], eax
pop edi
cmp byte [ebx + 0x30], al
je 0x41e5ec
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], edx
call fcn.0041e694
test al, al
lea eax, [ebp - 0x40]
push eax
je 0x41e5e4
lea ecx, [ebp - 0x1c]
call fcn.0041e437
call eax
cmp dword [ebp - 0x1c], 0
je 0x41e5c9
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 0x10], 0
mov ax, word [ebp - 0x40]
mov word [ebx + 0x32], ax
je 0x41e5dc
push dword [ebp - 0x10]
call esi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
jmp 0x41e5be
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
jmp 0x41e5c9
mov byte [ebx + 0x21], cl
cmp byte [ebp - 0x42], cl
jne 0x47298f
mov byte [ebx + 0x20], cl
jmp 0x41e54d
mov byte [ebx + 0x23], cl
mov byte [ebx + 0x22], cl
jmp 0x41e54d
mov byte [ebx + 0x21], cl
mov byte [ebx + 0x23], cl
mov byte [ebx + 0x25], cl
cmp byte [ebp - 0x42], cl
jne 0x4729b0
mov byte [ebx + 0x24], cl
jmp 0x41e54d
mov byte [ebx + 0x27], cl
mov byte [ebx + 0x26], cl
jmp 0x41e54d
mov byte [ebx + 0x2b], cl
mov byte [ebx + 0x2a], cl
jmp 0x41e54d
cmp eax, 3
jne 0x41e54d
mov byte [ebx + 0x2b], cl
mov byte [ebx + 0x29], cl
mov byte [ebx + 0x27], cl
mov byte [ebx + 0x25], cl
mov byte [ebx + 0x21], cl
mov byte [ebx + 0x2d], cl
cmp byte [ebp - 0x42], cl
jne 0x4729ee
mov byte [ebx + 0x2c], cl
jmp 0x41e54d
mov byte [ebx + 0x2f], cl
mov byte [ebx + 0x2e], cl
jmp 0x41e54d
cmp dword [ebx + 4], ecx
jne 0x472a15
mov byte [ebx + 0x1d], cl
mov byte [ebx + 0x1c], cl
movzx eax, byte [ebp - 0x44]
shr eax, 6
and eax, ecx
mov byte [ebx + 0x34], al
jmp 0x41e54d
cmp dword [ebx + 4], 2
jne 0x472a04
mov byte [ebx + 0x1d], cl
mov byte [ebx + 0x1f], cl
cmp byte [ebp - 0x42], cl
je 0x472a01
mov byte [ebx + 0x1e], cl
jmp 0x472a04