Function at 0x49e880
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 0x49e889
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 0x49efca
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x49ef38
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49eec8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x164]
mov edx, 0x11c
call fcn.0042a660
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 0x49e962
xor eax, eax
push ebp
push 0x49e951
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x59e74c]
cmp dword [eax], 0
je 0x49e942
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 [0x59e74c]
mov eax, dword [eax]
call eax
jmp 0x49e947
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49e972
lea eax, [ebp - 0x164]
mov edx, 0x11c
call fcn.0042a660
lea eax, [ebp - 0x188]
mov edx, 0x24
call fcn.0042a660
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x160], 5
jb 0x49e9b3
cmp dword [ebp - 0x15c], 1
jb 0x49e9b3
mov eax, dword [0x59ef50]
cmp dword [eax], 0
je 0x49e9b3
lea eax, [ebp - 0x188]
push eax
mov eax, dword [0x59ef50]
mov eax, dword [eax]
call eax
jmp 0x49e9bf
lea eax, [ebp - 0x188]
push eax
call sub.kernel32.dll_GetSystemInfo_1
lea eax, [ebp - 0x1e8]
mov edx, 0x40
call fcn.0042a660
mov dword [ebp - 0x1e8], 0x40
inc dword [ebp - 0x1c]
lea eax, [ebp - 0x1e8]
push eax
call sub.kernel32.dll_GlobalMemoryStatusEx
test eax, eax
jne 0x49e9fc
lea eax, [ebp - 0x1e8]
mov edx, 0x40
call fcn.0042a660
lea edx, [ebp - 0x198]
mov eax, 1
call fcn.0049c810
lea edx, [ebp - 0x1a8]
mov eax, 0x80000001
call fcn.0049c810
mov ecx, 0x49efe8
mov dl, 1
mov eax, dword [0x49a28c]
call fcn.0049f910
mov dword [ebp - 0x14], eax
push 0
push 6
mov edx, 0x49f034
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
mov ecx, dword [ebp - 4]
mov edx, 0x49f048
mov eax, dword [ebp - 0x14]
call fcn.0049f6e0
mov eax, dword [0x59eaa8]
mov eax, dword [eax]
movzx eax, byte [eax + 0xf0]
cdq
push edx
push eax
mov edx, 0x49f064
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
mov eax, dword [ebp - 0x160]
xor edx, edx
push edx
push eax
mov edx, 0x49f088
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
mov eax, dword [ebp - 0x15c]
xor edx, edx
push edx
push eax
mov edx, 0x49f0b8
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
movzx eax, word [ebp - 0x50]
xor edx, edx
push edx
push eax
mov edx, 0x49f0e8
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
movzx eax, word [ebp - 0x4c]
xor edx, edx
push edx
push eax
mov edx, 0x49f120
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
xor eax, eax
mov al, byte [ebp - 0x4a]
xor edx, edx
push edx
push eax
mov edx, 0x49f148
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
mov edx, 0x49f174
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
movzx eax, word [ebp - 0x188]
xor edx, edx
push edx
push eax
mov edx, 0x49f1ac
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
movzx eax, word [ebp - 0x166]
xor edx, edx
push edx
push eax
mov edx, 0x49f1ec
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
mov eax, dword [ebp - 0x174]
xor edx, edx
push edx
push eax
mov edx, 0x49f224
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
call fcn.0049c200
lea edx, [ebp - 0x1ec]
call fcn.0041d074
mov ecx, dword [ebp - 0x1ec]
mov edx, 0x49f260
mov eax, dword [ebp - 0x14]
call fcn.0049f6e0
push 0
push 0x100000
mov eax, dword [ebp - 0x1e0]
mov edx, dword [ebp - 0x1dc]
call fcn.00407fd8
push edx
push eax
mov edx, 0x49f298
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
push 0
push 0x100000
mov eax, dword [ebp - 0x1d0]
mov edx, dword [ebp - 0x1cc]
call fcn.00407fd8
push edx
push eax
mov edx, 0x49f2c4
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
push 0
push 0x100000
mov eax, dword [ebp - 0x1c0]
mov edx, dword [ebp - 0x1bc]
call fcn.00407fd8
push edx
push eax
mov edx, 0x49f2f8
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
call fcn.0049c340
movzx eax, ax
xor edx, edx
push edx
push eax
mov edx, 0x49f328
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov edx, 0x49f350
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
mov eax, dword [ebp - 0x198]
xor edx, edx
push edx
push eax
mov edx, 0x49f370
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
mov eax, dword [ebp - 0x18c]
xor edx, edx
push edx
push eax
mov edx, 0x49f3a0
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
mov eax, dword [ebp - 0x194]
xor edx, edx
push edx
push eax
mov edx, 0x49f3d0
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
mov eax, dword [ebp - 0x190]
xor edx, edx
push edx
push eax
mov edx, 0x49f400
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
mov eax, dword [ebp - 0x1a4]
xor edx, edx
push edx
push eax
mov edx, 0x49f430
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
mov eax, dword [ebp - 0x1a0]
xor edx, edx
push edx
push eax
mov edx, 0x49f460
mov eax, dword [ebp - 0x14]
call fcn.0049f7c0
lea eax, [ebp - 0x1f0]
call fcn.0049cd30
mov ecx, dword [ebp - 0x1f0]
mov edx, 0x49f490
mov eax, dword [ebp - 0x14]
call fcn.0049f6e0
lea eax, [ebp - 0x1f4]
call fcn.0049d650
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x20], eax
call fcn.00408338
push eax
mov ecx, dword [ebp - 0x20]
mov edx, 0x49f4bc
mov eax, dword [ebp - 0x14]
call fcn.0049f830
lea eax, [ebp - 0x1f8]
call fcn.0049d590
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x24], eax
call fcn.00408338
push eax
mov ecx, dword [ebp - 0x24]
mov edx, 0x49f4e8
mov eax, dword [ebp - 0x14]
call fcn.0049f830
lea eax, [ebp - 0x1fc]
call fcn.0049d4d0
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x28], eax
call fcn.00408338
push eax
mov ecx, dword [ebp - 0x28]
mov edx, 0x49f514
mov eax, dword [ebp - 0x14]
call fcn.0049f830
lea eax, [ebp - 0x200]
call fcn.0049ca90
mov ecx, dword [ebp - 0x200]
mov edx, 0x49f540
mov eax, dword [ebp - 0x14]
call fcn.0049f6e0
lea eax, [ebp - 0x204]
call fcn.0049cbe0
mov ecx, dword [ebp - 0x204]
mov edx, 0x49f574
mov eax, dword [ebp - 0x14]
call fcn.0049f6e0
lea eax, [ebp - 0x208]
call fcn.0049c910
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x2c], eax
call fcn.00408338
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, 0x49f5a8
mov eax, dword [ebp - 0x14]
call fcn.0049f830
lea eax, [ebp - 0x20c]
call fcn.0049c9d0
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x30], eax
call fcn.00408338
push eax
mov ecx, dword [ebp - 0x30]
mov edx, 0x49f5cc
mov eax, dword [ebp - 0x14]
call fcn.0049f830
lea eax, [ebp - 0x210]
call fcn.0049d8b0
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x34], eax
call fcn.00408338
push eax
mov ecx, dword [ebp - 0x34]
mov edx, 0x49f5f0
mov eax, dword [ebp - 0x14]
call fcn.0049f830
lea eax, [ebp - 0x214]
call fcn.0049d980
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x38], eax
call fcn.00408338
push eax
mov ecx, dword [ebp - 0x38]
mov edx, 0x49f614
mov eax, dword [ebp - 0x14]
call fcn.0049f830
mov eax, dword [0x5a99e4]
call fcn.00408338
test eax, eax
jl 0x49ee86
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 0x18]
call fcn.0049d390
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x40], eax
call fcn.00408338
push eax
mov eax, dword [ebp - 0x40]
push eax
push 0x49f638
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 0x18]
call fcn.0041d074
push dword [ebp - 0x220]
push 0x49f66c
lea eax, [ebp - 0x21c]
mov edx, 3
call fcn.00407478
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x14]
pop ecx
call fcn.0049f830
inc dword [ebp - 0x18]
dec dword [ebp - 0x3c]
jne 0x49ee20
lea eax, [ebp - 0x224]
call fcn.0049d410
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x44], eax
call fcn.00408338
push eax
mov ecx, dword [ebp - 0x44]
mov edx, 0x49f67c
mov eax, dword [ebp - 0x14]
call fcn.0049f830
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 0x49ef22
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ef3f
lea eax, [ebp - 0x14]
call fcn.00424130
ret