Function at 0x41be55
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x14], eax
mov esi, ecx
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00445c60
add esp, 0xc
test al, al
jne 0x41beb8
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41c07e
cmp dword [0x4c12e0], 0
je 0x41c07e
mov eax, dword [ecx]
push str...GetOSDetails___failed.
push ecx
call dword [eax + 0x18]
pop ecx
pop ecx
jmp 0x41c07e
xor eax, eax
push 0x24
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0045b1d0
push 0
push 0x4950b4
call fcn.004433ee
add esp, 0x14
test eax, eax
je 0x41befb
push str.GetNativeSystemInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41bef1
lea ecx, [ebp - 0x40]
push ecx
call eax
jmp 0x41befb
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esi + 0xc]
test edx, edx
je 0x41bf2d
cmp dword [0x4c12e0], 0
je 0x41bf2d
cmp dword [0x4c3630], 0
je 0x41bf2d
push dword [ebp - 0xc]
movzx eax, word [ebp - 0x40]
push dword [ebp - 0x10]
mov ecx, dword [edx]
push eax
push str.OS_Version_Information:_Architecture:__d__Major_Version:__d__Minor_Version:__d
push edx
call dword [ecx + 0x10]
add esp, 0x14
mov ax, word [ebp - 0x40]
push 9
pop ecx
cmp cx, ax
jne 0x41bfd0
cmp dword [ebp - 0x10], 0xa
jne 0x41bf58
cmp dword [ebp - 0xc], 0
jne 0x41c07e
push ebx
push edi
push 0x4c115c
push 0xc
jmp 0x41bfc1
cmp dword [ebp - 0x10], 6
jne 0x41bfa4
mov eax, dword [ebp - 0xc]
cmp eax, 3
jne 0x41bf71
push ebx
push edi
push 0x4c111c
push 0xa
jmp 0x41bfc1
cmp eax, 2
jne 0x41bf81
push ebx
push edi
push 0x4c10e8
push 8
jmp 0x41bfc1
cmp eax, 1
jne 0x41bf91
push ebx
push edi
push 0x4c10c0
push 6
jmp 0x41bfc1
test eax, eax
jne 0x41c07e
push ebx
push edi
push 0x4c10a4
push 4
jmp 0x41bfc1
cmp dword [ebp - 0x10], 5
jne 0x41c07e
cmp dword [ebp - 0xc], 2
jne 0x41c07e
push ebx
push edi
push 0x4c1098
push 3
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x14]
call dword [eax + 0x38]
jmp 0x41c09e
xor ecx, ecx
cmp cx, ax
jne 0x41c05d
cmp dword [ebp - 0x10], 0xa
jne 0x41bff3
cmp dword [ebp - 0xc], ecx
jne 0x41c07e
push ebx
push edi
push 0x4c1144
jmp 0x41bf8d
cmp dword [ebp - 0x10], 6
jne 0x41c035
mov eax, dword [ebp - 0xc]
cmp eax, 3
jne 0x41c00c
push ebx
push edi
push 0x4c1108
push 5
jmp 0x41bfc1
cmp eax, 2
jne 0x41c01a
push ebx
push edi
push 0x4c10d8
jmp 0x41bfa0
cmp eax, 1
jne 0x41c028
push ebx
push edi
push 0x4c10b4
jmp 0x41bfbf
test eax, eax
jne 0x41c07e
push ebx
push edi
push 0x4c1090
jmp 0x41c056
cmp dword [ebp - 0x10], 5
jne 0x41c07e
cmp dword [ebp - 0xc], 1
jne 0x41c04a
push ebx
push edi
push 0x4c1088
jmp 0x41c056
cmp dword [ebp - 0xc], ecx
jne 0x41c07e
push ebx
push edi
push 0x4c1080
push 2
jmp 0x41bfc1
mov edx, dword [esi + 0xc]
test edx, edx
je 0x41c07e
cmp dword [0x4c12e0], ecx
je 0x41c07e
mov ecx, dword [edx]
movzx eax, ax
push eax
push str...Unsupported_architecture__d
push edx
call dword [ecx + 0x18]
add esp, 0xc
mov ecx, dword [edi]
mov esi, 0x4947d8
lea eax, [ecx - 1]
push eax
push esi
push ecx
push ebx
call fcn.00467c26
push esi
call fcn.00461890
add esp, 0x14
mov dword [edi], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458eeb
leave
ret 0xc