Function at 0x49ed60
Capabilities:
Check os version
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x45
push 0
push 0
dec ecx
jne 0x49ed69
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49f4aa
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x49f418
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49f3a8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x164]
mov edx, 0x11c
call fcn.0042a4b0
mov dword [ebp - 0x164], 0x11c
inc dword [ebp - 0x1c]
lea eax, [ebp - 0x164]
push eax
call sub.kernel32.dll_GetVersionExW_1
test eax, eax
je 0x49ee42
xor eax, eax
push ebp
push 0x49ee31
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x59f74c]
cmp dword [eax], 0
je 0x49ee22
xor eax, eax
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x4e]
push eax
movzx eax, word [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x15c]
push eax
mov eax, dword [ebp - 0x160]
push eax
mov eax, dword [0x59f74c]
mov eax, dword [eax]
call eax
jmp 0x49ee27
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49ee52
lea eax, [ebp - 0x164]
mov edx, 0x11c
call fcn.0042a4b0
lea eax, [ebp - 0x188]
mov edx, 0x24
call fcn.0042a4b0
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x160], 5
jb 0x49ee93
cmp dword [ebp - 0x15c], 1
jb 0x49ee93
mov eax, dword [0x59ff60]
cmp dword [eax], 0
je 0x49ee93
lea eax, [ebp - 0x188]
push eax
mov eax, dword [0x59ff60]
mov eax, dword [eax]
call eax
jmp 0x49ee9f
lea eax, [ebp - 0x188]
push eax
call sub.kernel32.dll_GetSystemInfo_1
lea eax, [ebp - 0x1e8]
mov edx, 0x40
call fcn.0042a4b0
mov dword [ebp - 0x1e8], 0x40
inc dword [ebp - 0x1c]
lea eax, [ebp - 0x1e8]
push eax
call sub.kernel32.dll_GlobalMemoryStatusEx
test eax, eax
jne 0x49eedc
lea eax, [ebp - 0x1e8]
mov edx, 0x40
call fcn.0042a4b0
lea edx, [ebp - 0x198]
mov eax, 1
call fcn.0049ccf0
lea edx, [ebp - 0x1a8]
mov eax, 0x80000001
call fcn.0049ccf0
mov ecx, 0x49f4c8
mov dl, 1
mov eax, dword [0x49a76c]
call fcn.0049fdf0
mov dword [ebp - 0x14], eax
push 0
push 6
mov edx, 0x49f514
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
mov ecx, dword [ebp - 4]
mov edx, 0x49f528
mov eax, dword [ebp - 0x14]
call fcn.0049fbc0
mov eax, dword [0x59faac]
mov eax, dword [eax]
movzx eax, byte [eax + 0xf0]
cdq
push edx
push eax
mov edx, 0x49f544
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
mov eax, dword [ebp - 0x160]
xor edx, edx
push edx
push eax
mov edx, 0x49f568
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
mov eax, dword [ebp - 0x15c]
xor edx, edx
push edx
push eax
mov edx, 0x49f598
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
movzx eax, word [ebp - 0x50]
xor edx, edx
push edx
push eax
mov edx, 0x49f5c8
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
movzx eax, word [ebp - 0x4c]
xor edx, edx
push edx
push eax
mov edx, 0x49f600
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
xor eax, eax
mov al, byte [ebp - 0x4a]
xor edx, edx
push edx
push eax
mov edx, 0x49f628
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
mov edx, 0x49f654
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
movzx eax, word [ebp - 0x188]
xor edx, edx
push edx
push eax
mov edx, 0x49f68c
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
movzx eax, word [ebp - 0x166]
xor edx, edx
push edx
push eax
mov edx, 0x49f6cc
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
mov eax, dword [ebp - 0x174]
xor edx, edx
push edx
push eax
mov edx, 0x49f704
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
call fcn.0049c6e0
lea edx, [ebp - 0x1ec]
call fcn.0041d048
mov ecx, dword [ebp - 0x1ec]
mov edx, 0x49f740
mov eax, dword [ebp - 0x14]
call fcn.0049fbc0
push 0
push 0x100000
mov eax, dword [ebp - 0x1e0]
mov edx, dword [ebp - 0x1dc]
call fcn.00407fd8
push edx
push eax
mov edx, 0x49f778
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
push 0
push 0x100000
mov eax, dword [ebp - 0x1d0]
mov edx, dword [ebp - 0x1cc]
call fcn.00407fd8
push edx
push eax
mov edx, 0x49f7a4
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
push 0
push 0x100000
mov eax, dword [ebp - 0x1c0]
mov edx, dword [ebp - 0x1bc]
call fcn.00407fd8
push edx
push eax
mov edx, 0x49f7d8
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
call fcn.0049c820
movzx eax, ax
xor edx, edx
push edx
push eax
mov edx, 0x49f808
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov edx, 0x49f830
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
mov eax, dword [ebp - 0x198]
xor edx, edx
push edx
push eax
mov edx, 0x49f850
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
mov eax, dword [ebp - 0x18c]
xor edx, edx
push edx
push eax
mov edx, 0x49f880
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
mov eax, dword [ebp - 0x194]
xor edx, edx
push edx
push eax
mov edx, 0x49f8b0
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
mov eax, dword [ebp - 0x190]
xor edx, edx
push edx
push eax
mov edx, 0x49f8e0
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
mov eax, dword [ebp - 0x1a4]
xor edx, edx
push edx
push eax
mov edx, 0x49f910
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
mov eax, dword [ebp - 0x1a0]
xor edx, edx
push edx
push eax
mov edx, 0x49f940
mov eax, dword [ebp - 0x14]
call fcn.0049fca0
lea eax, [ebp - 0x1f0]
call fcn.0049d210
mov ecx, dword [ebp - 0x1f0]
mov edx, 0x49f970
mov eax, dword [ebp - 0x14]
call fcn.0049fbc0
lea eax, [ebp - 0x1f4]
call fcn.0049db30
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x20], eax
call fcn.00408338
push eax
mov ecx, dword [ebp - 0x20]
mov edx, 0x49f99c
mov eax, dword [ebp - 0x14]
call fcn.0049fd10
lea eax, [ebp - 0x1f8]
call fcn.0049da70
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x24], eax
call fcn.00408338
push eax
mov ecx, dword [ebp - 0x24]
mov edx, 0x49f9c8
mov eax, dword [ebp - 0x14]
call fcn.0049fd10
lea eax, [ebp - 0x1fc]
call fcn.0049d9b0
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x28], eax
call fcn.00408338
push eax
mov ecx, dword [ebp - 0x28]
mov edx, 0x49f9f4
mov eax, dword [ebp - 0x14]
call fcn.0049fd10
lea eax, [ebp - 0x200]
call fcn.0049cf70
mov ecx, dword [ebp - 0x200]
mov edx, 0x49fa20
mov eax, dword [ebp - 0x14]
call fcn.0049fbc0
lea eax, [ebp - 0x204]
call fcn.0049d0c0
mov ecx, dword [ebp - 0x204]
mov edx, 0x49fa54
mov eax, dword [ebp - 0x14]
call fcn.0049fbc0
lea eax, [ebp - 0x208]
call fcn.0049cdf0
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x2c], eax
call fcn.00408338
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, 0x49fa88
mov eax, dword [ebp - 0x14]
call fcn.0049fd10
lea eax, [ebp - 0x20c]
call fcn.0049ceb0
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x30], eax
call fcn.00408338
push eax
mov ecx, dword [ebp - 0x30]
mov edx, 0x49faac
mov eax, dword [ebp - 0x14]
call fcn.0049fd10
lea eax, [ebp - 0x210]
call fcn.0049dd90
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x34], eax
call fcn.00408338
push eax
mov ecx, dword [ebp - 0x34]
mov edx, 0x49fad0
mov eax, dword [ebp - 0x14]
call fcn.0049fd10
lea eax, [ebp - 0x214]
call fcn.0049de60
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x38], eax
call fcn.00408338
push eax
mov ecx, dword [ebp - 0x38]
mov edx, 0x49faf4
mov eax, dword [ebp - 0x14]
call fcn.0049fd10
mov eax, dword [0x5aaa00]
call fcn.00408338
test eax, eax
jl 0x49f366
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 0x18]
call fcn.0049d870
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x40], eax
call fcn.00408338
push eax
mov eax, dword [ebp - 0x40]
push eax
push 0x49fb18
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 0x18]
call fcn.0041d048
push dword [ebp - 0x220]
push 0x49fb4c
lea eax, [ebp - 0x21c]
mov edx, 3
call fcn.00407478
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x14]
pop ecx
call fcn.0049fd10
inc dword [ebp - 0x18]
dec dword [ebp - 0x3c]
jne 0x49f300
lea eax, [ebp - 0x224]
call fcn.0049d8f0
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x44], eax
call fcn.00408338
push eax
mov ecx, dword [ebp - 0x44]
mov edx, 0x49fb5c
mov eax, dword [ebp - 0x14]
call fcn.0049fd10
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 8]
call fcn.00406970
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49f402
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f41f
lea eax, [ebp - 0x14]
call fcn.00423f7c
ret