Function at 0x4d3b20
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x80
push ebx
push ebp
mov ebp, ecx
push 0x661448
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, ebp
call fcn.004d47a0
mov ebx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
push ebx
push eax
mov ecx, ebp
call fcn.004d2cf0
cmp bl, byte [ebp + 0x29fc3]
jl 0x4d3b68
pop ebp
mov al, 1
pop ebx
add esp, 0x80
ret 0xc
mov dl, byte [esp + 0x94]
test dl, dl
je 0x4d3b8c
movsx ecx, bl
cmp dl, byte [ecx + ebp + 0x29fc4]
jl 0x4d3b8c
pop ebp
mov al, 1
pop ebx
add esp, 0x80
ret 0xc
push esi
push edi
movsx esi, byte [esp + 0x94]
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x10]
cmp esi, 0x13
rep stosd dword es:[edi], eax
ja case.0x4d3bac.14
jmp dword [esi*4 + 0x4d3ef0]
mov byte [ebp + 0x2ce45], dl
jmp case.0x4d3bac.14
mov byte [ebp + 0x2ce48], dl
jmp case.0x4d3bac.14
mov byte [ebp + 0x2ce4b], dl
jmp case.0x4d3bac.14
mov byte [ebp + 0x2ce4e], dl
jmp case.0x4d3bac.14
mov byte [ebp + 0x2ce51], dl
jmp case.0x4d3bac.14
mov byte [ebp + 0x2ce54], dl
jmp case.0x4d3bac.14
mov byte [ebp + 0x2ce57], dl
jmp case.0x4d3bac.14
mov byte [ebp + 0x2ce5a], dl
jmp case.0x4d3bac.14
mov byte [ebp + 0x2ce5d], dl
jmp case.0x4d3bac.14
mov byte [ebp + 0x2ce60], dl
jmp case.0x4d3bac.14
mov byte [ebp + 0x2ce63], dl
jmp case.0x4d3bac.14
mov byte [ebp + 0x2ce66], dl
jmp case.0x4d3bac.14
mov byte [ebp + 0x2ce69], dl
jmp case.0x4d3bac.14
mov byte [ebp + 0x2ce6c], dl
jmp case.0x4d3bac.14
mov byte [ebp + 0x2ce3f], dl
jmp case.0x4d3bac.14
mov al, byte [ebp + 0x16c1]
test al, al
jne case.0x4d3bac.14
mov byte [ebp + 0x2ce42], dl
jmp case.0x4d3bac.14
test bl, bl
je 0x4d3c76
mov byte [ebp + 0x2ce42], dl
mov dl, byte [ebp + 0x176c]
jmp 0x4d3cc1
mov al, byte [ebp + 0x16bf]
mov cl, byte [ebp + 0x16d1]
mov dl, byte [ebp + 0x1760]
mov byte [ebp + 0x2ce41], al
mov byte [ebp + 0x2ce42], cl
jmp 0x4d3cc1
test bl, bl
je 0x4d3ca3
mov byte [ebp + 0x2ce3f], 0
jmp case.0x4d3bac.14
mov al, byte [ebp + 0x16c0]
mov cl, byte [ebp + 0x16d2]
mov dl, byte [ebp + 0x1766]
mov byte [ebp + 0x2ce41], al
mov byte [ebp + 0x2ce42], cl
mov byte [ebp + 0x2ce43], dl
mov edi, dword [ebp + 0x2ce38]
mov ecx, 0x24
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp + 0x2ce3c]
mov ecx, 0x64ee90
push eax
call fcn.00443810
cmp esi, 0x13
mov dword [ebp + 0x2ce38], eax
ja case.default.0x4d3cf6
jmp dword [esi*4 + 0x4d3f40]
mov edi, dword [eax + 0x50]
lea edx, [esp + 0x10]
jmp 0x4d3e1f
mov edi, dword [eax + 0x54]
lea edx, [esp + 0x10]
jmp 0x4d3e1f
mov edi, dword [eax + 0x58]
lea edx, [esp + 0x10]
jmp 0x4d3e1f
mov edi, dword [eax + 0x5c]
lea edx, [esp + 0x10]
jmp 0x4d3e1f
mov edi, dword [eax + 0x60]
lea edx, [esp + 0x10]
jmp 0x4d3e1f
mov edi, dword [eax + 0x64]
lea edx, [esp + 0x10]
jmp 0x4d3e1f
mov edi, dword [eax + 0x68]
lea edx, [esp + 0x10]
jmp 0x4d3e1f
mov edi, dword [eax + 0x6c]
lea edx, [esp + 0x10]
jmp 0x4d3e1f
mov edi, dword [eax + 0x70]
lea edx, [esp + 0x10]
jmp 0x4d3e1f
mov edi, dword [eax + 0x74]
lea edx, [esp + 0x10]
jmp 0x4d3e1f
mov edi, dword [eax + 0x78]
lea edx, [esp + 0x10]
jmp 0x4d3e1f
mov edi, dword [eax + 0x7c]
lea edx, [esp + 0x10]
jmp 0x4d3e1f
mov edi, dword [eax + 0x80]
lea edx, [esp + 0x10]
jmp 0x4d3e1f
mov edi, dword [eax + 0x84]
lea edx, [esp + 0x10]
jmp 0x4d3e1f
mov edi, dword [eax + 0x88]
lea edx, [esp + 0x10]
jmp 0x4d3e1f
mov edi, dword [eax + 0x8c]
lea edx, [esp + 0x10]
jmp 0x4d3e1f
mov edi, dword [eax + 0x48]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x5a33a4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
jmp 0x4d3e37
mov edi, dword [eax + 0x4c]
lea edx, [esp + 0x10]
jmp 0x4d3e1f
mov edi, dword [eax + 0x48]
lea edx, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov bl, byte [esp + 0x94]
cmp bl, 0x12
jne 0x4d3e59
mov byte [esp + 0x94], 0x11
mov bl, byte [esp + 0x94]
jmp 0x4d3ec3
cmp bl, 0x13
jne 0x4d3ebe
mov byte [esp + 0x94], 0x10
mov bl, byte [esp + 0x94]
mov eax, dword [0x64f8a4]
mov ecx, 0x655f38
push eax
call fcn.00410520
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x64ee90
call fcn.00444810
mov dword [0x64f8a4], eax
mov edx, dword [ebp + 0x2ce38]
mov ecx, 0x64ee90
push edx
call fcn.00443ed0
movsx eax, bl
pop edi
pop esi
mov ecx, dword [eax*4 + 0x64f5c4]
pop ebp
test ecx, ecx
setne al
pop ebx
add esp, 0x80
ret 0xc
cmp bl, 0x10
je 0x4d3e6d
movsx esi, bl
mov ecx, dword [esi*4 + 0x64f5c4]
push ecx
mov ecx, 0x655f38
call fcn.00410520
lea edx, [esp + 0x10]
mov ecx, 0x64ee90
push edx
call fcn.00444810
mov dword [esi*4 + 0x64f5c4], eax
jmp 0x4d3e91