Function at 0x404080
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], 0x43b80f
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.0040d8b0
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x40410c
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xbc], ecx
jmp 0x404116
mov dword [ebp - 0xbc], 0x43b836
mov edx, dword [ebp - 0xbc]
push edx
push 0x64
lea eax, [ebp - 0xa8]
push eax
call fcn.004151ab
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00405ed0
add esp, 4
mov esi, eax
movzx edx, word [ebp + 0x10]
add esi, edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.00405ed0
add esp, 4
add esi, eax
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00405ed0
add esp, 4
add esi, eax
mov edx, dword [ebp + 0x1c]
push edx
call fcn.00405ed0
add esp, 4
add esi, eax
push 0x4430e8
call fcn.00405ed0
add esp, 4
lea esi, [esi + eax + 0x404]
push str.111111111111111
call fcn.00405ed0
add esp, 4
add esi, eax
push 0x46f3b8
call fcn.00405ed0
add esp, 4
add esi, eax
push 0x46f350
call fcn.00405ed0
add esp, 4
add esi, eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00405ed0
add esp, 4
add esi, eax
mov dword [ebp - 0x34], esi
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00414604
add esp, 4
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x4041ee
mov dword [ebp - 4], 2
jmp 0x404391
mov eax, dword [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00415670
add esp, 0xc
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0xb8]
call fcn.00404e60
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x404277
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0xb8]
call fcn.00404d80
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x404277
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0xb8]
call fcn.00404cf0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x404252
cmp dword [ebp - 0x30], 0
jne 0x40425b
mov dword [ebp - 8], str.Couldnt_find_OS
jmp 0x404277
cmp dword [ebp - 0x30], 1
jne 0x40426a
mov dword [ebp - 8], str.Windows_95_98_Me
jmp 0x404277
cmp dword [ebp - 0x30], 2
jne 0x404277
mov dword [ebp - 8], str.Windows_NT_2000
push 0x20
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00415670
add esp, 0xc
mov dword [ebp - 0x2c], 0x20
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push 0x3b
push 0x3b
lea edx, [ebp - 0xa8]
push edx
push 0x3b
push 0x46f350
push 0x3b
push 0x46f3b8
push 0x3b
push str.111111111111111
push 0x3b
push 0x4430e8
push 0x3b
mov eax, dword [0x459f14]
push eax
push 0x3b
mov ecx, dword [ebp + 0x1c]
push ecx
push 0x3b
mov edx, dword [ebp - 0x18]
push edx
push 0x3b
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 0x3b
mov ecx, dword [ebp - 8]
push ecx
push 0x3b
mov edx, dword [ebp + 0x18]
push edx
push 0x3b
mov eax, dword [ebp + 0x14]
push eax
push 0x3b
movzx ecx, word [ebp + 0x10]
push ecx
push 0x3b
mov edx, dword [ebp + 0xc]
push edx
push 0x3b
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_c_c
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00414cec
add esp, 0x90
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.0040e990
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x404381
mov ecx, dword [ebp - 0xb8]
call fcn.00405ef0
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.0040d430
add esp, 0x10
cmp dword [ebp - 4], 1
je 0x404389
jmp 0x404391
xor ecx, ecx
jne 0x4040c4
cmp dword [ebp - 0xc], 0
je 0x4043b6
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
push eax
call fcn.00414c52
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.00414b5b
mov esp, ebp
pop ebp
ret 0x18