Function at 0x403a80
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x440374]
xor eax, ebp
mov dword [ebp - 0x44], eax
push esi
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 8], 0x4385b7
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0xb4], 0
lea eax, [ebp - 0xb4]
push eax
push str.REALID
push 0
push 0x468b98
push connect
call fcn.0040d4e0
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x403b13
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xc8], ecx
jmp 0x403b1d
mov dword [ebp - 0xc8], 0x4385de
mov edx, dword [ebp - 0xc8]
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.004149f0
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00414af0
add esp, 4
mov esi, eax
mov edx, dword [ebp + 0x14]
push edx
call fcn.00414af0
add esp, 4
lea esi, [esi + eax + 2]
mov eax, dword [ebp + 0x18]
push eax
call fcn.00414af0
add esp, 4
add esi, eax
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.00414af0
add esp, 4
add esi, eax
push 0x43f0e8
call fcn.004054d0
add esp, 4
lea esi, [esi + eax + 0x404]
push str.111111111111111
call fcn.004054d0
add esp, 4
add esi, eax
push 0x468ed8
call fcn.004054d0
add esp, 4
add esi, eax
push 0x468e70
call fcn.004054d0
add esp, 4
add esi, eax
lea edx, [ebp - 0xb0]
push edx
call fcn.004054d0
add esp, 4
add esi, eax
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x38]
push eax
call fcn.00414870
add esp, 4
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0
jne 0x403bef
mov dword [ebp - 4], 2
jmp 0x403d6c
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0xc4]
call fcn.00404830
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x403c70
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0xc4]
call fcn.00404720
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x403c68
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0xc4]
call fcn.00404690
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x403c41
cmp dword [ebp - 0x34], 0
jne 0x403c4a
mov dword [ebp - 8], str.Couldnt_find_OS
jmp 0x403c66
cmp dword [ebp - 0x34], 1
jne 0x403c59
mov dword [ebp - 8], str.Windows_95_98_Me
jmp 0x403c66
cmp dword [ebp - 0x34], 2
jne 0x403c66
mov dword [ebp - 8], str.Windows_NT_200
jmp 0x403c6e
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
jmp 0x403c76
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 8], ecx
push 0x20
push 0
lea edx, [ebp - 0x28]
push edx
call fcn.00415080
add esp, 0xc
mov dword [ebp - 0x28], 0x20
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [ebp - 0x38]
push ecx
push 0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00415080
add esp, 0xc
lea eax, [ebp - 0xb0]
push eax
push 4
push 0x468e70
push 4
push 0x468ed8
push 4
push str.111111111111111
push 4
push 0x43f0e8
push 4
mov ecx, dword [0x442894]
push ecx
push 4
mov edx, dword [ebp + 0x1c]
push edx
push 4
mov eax, dword [ebp - 0x14]
push eax
push 4
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ecx + 0x3e0]
push edx
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x3dc]
push ecx
push 4
mov edx, dword [ebp - 8]
push edx
push 4
mov eax, dword [ebp + 0x18]
push eax
push 4
mov ecx, dword [ebp + 0x14]
push ecx
push 4
movzx edx, word [ebp + 0x10]
push edx
push 4
mov eax, dword [ebp + 0xc]
push eax
push 4
mov ecx, dword [ebp + 8]
push ecx
push 0x2711
push str._MSGID_dDATA_s_c_s_c_d_c_s_c_s_c_s_c_d_d_c_ld_c_s_c_d_c_s_c_s_c_s_c_s_c_s
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00415328
add esp, 0x84
push 0
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0xc4]
add ecx, 0x3e4
push ecx
mov ecx, dword [ebp - 0xc4]
call fcn.0040f040
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x403d64
jmp 0x403d6c
xor edx, edx
jne 0x403acb
cmp dword [ebp - 0x2c], 0
je 0x403d91
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.00414bfe
add esp, 4
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x30], 0
je 0x403db6
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc0]
push eax
call fcn.00414bfe
add esp, 4
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
pop esi
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.00415063
mov esp, ebp
pop ebp
ret 0x18