Function at 0x403f10
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x444380]
xor eax, ebp
mov dword [ebp - 0x40], eax
push esi
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x43b7cf
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0xac], 0
lea eax, [ebp - 0xac]
push eax
push str.REALID
push 0
push 0x46f0e0
push 0x80000001
call fcn.0040d640
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x403f9c
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xbc], ecx
jmp 0x403fa6
mov dword [ebp - 0xbc], 0x43b7f6
mov edx, dword [ebp - 0xbc]
push edx
push 0x64
lea eax, [ebp - 0xa8]
push eax
call fcn.00414ccb
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00405d00
add esp, 4
mov esi, eax
movzx edx, word [ebp + 0x10]
add esi, edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.00405d00
add esp, 4
add esi, eax
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00405d00
add esp, 4
add esi, eax
mov edx, dword [ebp + 0x1c]
push edx
call fcn.00405d00
add esp, 4
add esi, eax
push 0x4430e8
call fcn.00405d00
add esp, 4
lea esi, [esi + eax + 0x404]
push str.111111111111111
call fcn.00405d00
add esp, 4
add esi, eax
push 0x46f3b8
call fcn.00405d00
add esp, 4
add esi, eax
push 0x46f350
call fcn.00405d00
add esp, 4
add esi, eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00405d00
add esp, 4
add esi, eax
mov dword [ebp - 0x34], esi
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00414364
add esp, 4
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x40407e
mov dword [ebp - 4], 2
jmp 0x40421d
mov eax, dword [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00415190
add esp, 0xc
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0xb8]
call fcn.00404c90
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x404107
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0xb8]
call fcn.00404bb0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x404107
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0xb8]
call fcn.00404b20
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x4040e2
cmp dword [ebp - 0x30], 0
jne 0x4040eb
mov dword [ebp - 8], str.Couldnt_find_OS
jmp 0x404107
cmp dword [ebp - 0x30], 1
jne 0x4040fa
mov dword [ebp - 8], str.Windows_95_98_Me
jmp 0x404107
cmp dword [ebp - 0x30], 2
jne 0x404107
mov dword [ebp - 8], str.Windows_NT_2000
push 0x20
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00415190
add esp, 0xc
mov dword [ebp - 0x2c], 0x20
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea edx, [ebp - 0xa8]
push edx
push 4
push 0x46f350
push 4
push 0x46f3b8
push 4
push str.111111111111111
push 4
push 0x4430e8
push 4
mov eax, dword [0x459f14]
push eax
push 4
mov ecx, dword [ebp + 0x1c]
push ecx
push 4
mov edx, dword [ebp - 0x18]
push edx
push 4
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x138]
push ecx
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x134]
push eax
push 4
mov ecx, dword [ebp - 8]
push ecx
push 4
mov edx, dword [ebp + 0x18]
push edx
push 4
mov eax, dword [ebp + 0x14]
push eax
push 4
movzx ecx, word [ebp + 0x10]
push ecx
push 4
mov edx, dword [ebp + 0xc]
push edx
push 4
mov eax, dword [ebp + 8]
push eax
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 ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00414a51
add esp, 0x88
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xb8]
add ecx, 0x13c
push ecx
mov ecx, dword [ebp - 0xb8]
call fcn.0040e720
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x40420d
mov ecx, dword [ebp - 0xb8]
call fcn.00405d20
push eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xb8]
add eax, 0x13c
push eax
push str.Failed_to_send_INSTALLERRUN_10001__report._Report_Url:__s__Istaller_Error:__d__System_Error:__d
call fcn.0040d1c0
add esp, 0x10
cmp dword [ebp - 4], 1
je 0x404215
jmp 0x40421d
xor ecx, ecx
jne 0x403f54
cmp dword [ebp - 0xc], 0
je 0x404242
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
push eax
call fcn.004149b7
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
pop esi
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.004148bb
mov esp, ebp
pop ebp
ret 0x18