Function at 0x10004320
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x3a8
push 0x2dc
lea eax, [esp + 0xd0]
push 0
push eax
call dword [0x1000df8c]
lea ecx, [esp + 0xd9]
push 0x20
push ecx
push 0x1000d5e4
push str.Group
push str.Setting
mov byte [esp + 0xec], 0xc8
call fcn.100089f0
lea edx, [esp + 0x118]
push 0x32
push edx
call fcn.10003e80
xor eax, eax
add esp, 0x28
mov dword [esp + 0x18], eax
lea ecx, [esp + 8]
mov dword [esp + 0x1c], eax
push ecx
mov dword [esp + 0x24], eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3b0]
push edx
mov dword [esp + 0x10], 0x10
mov ecx, dword [eax + 0x48]
push ecx
call dword [0x1000dfc8]
lea edx, [esp + 0x1c]
push 4
lea eax, [esp + 0xf8]
push edx
push eax
call dword [0x1000df88]
add esp, 0xc
lea ecx, [esp + 0x12c]
mov dword [esp + 0x12c], 0x9c
push ecx
call dword [0x1000ded8]
lea edx, [esp + 0xc]
lea eax, [esp + 4]
push edx
lea ecx, [esp + 4]
push eax
push ecx
call fcn.10003ec0
add esp, 0xc
test eax, eax
je 0x10004415
mov edx, dword [esp]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c8], edx
mov dword [esp + 0x1cc], eax
mov dword [esp + 0x1d0], ecx
push ebp
push esi
lea edx, [esp + 0x1dc]
push edi
push edx
call fcn.10003f10
add esp, 4
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ecx, 0x14
call fcn.10009520
mov ecx, dword [esp + 0x3c0]
mov dword [esp + 0x200], eax
mov dword [esp + 0x1f4], ecx
call fcn.10003f80
mov dword [esp + 0x1f8], eax
call fcn.100040b0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.2024_11_17_11:17
test eax, eax
lea eax, [esp + 0x208]
setne dl
push eax
mov byte [esp + 0x204], dl
call esi
lea ecx, [esp + 0x218]
push str.2359287762
push ecx
call esi
lea edx, [esp + 0x29c]
push 0x1000ca68
push edx
call esi
mov dword [esp + 0x2f0], 0
call fcn.10004290
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2bc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, dword [0x1000d704]
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 edi, dword [0x1000d708]
mov esi, 1
xor ecx, ecx
cmp ebp, esi
sete cl
mov ebp, dword [0x1000d710]
xor edx, edx
cmp edi, esi
mov dword [esp + 0x2f4], ecx
mov ecx, dword [0x1000d70c]
mov edi, dword [0x1000d714]
sete dl
xor eax, eax
cmp ecx, esi
sete al
xor ecx, ecx
cmp ebp, esi
mov dword [esp + 0x2f8], edx
mov dword [esp + 0x2fc], eax
sete cl
xor edx, edx
cmp edi, esi
sete dl
mov dword [esp + 0x300], ecx
mov dword [esp + 0x304], edx
xor eax, eax
mov ecx, dword [0x1000d718]
mov ebp, dword [0x1000d71c]
mov edi, dword [0x1000d720]
cmp ecx, esi
sete al
xor ecx, ecx
cmp ebp, esi
sete cl
xor edx, edx
cmp edi, esi
mov dword [esp + 0x30c], ecx
mov ecx, dword [0x1000d724]
mov dword [esp + 0x308], eax
mov ebp, dword [0x1000d72c]
sete dl
xor eax, eax
cmp ecx, esi
sete al
mov dword [esp + 0x314], eax
mov eax, dword [0x1000d728]
mov edi, dword [0x1000d730]
xor ecx, ecx
cmp eax, esi
mov dword [esp + 0x310], edx
sete cl
xor edx, edx
cmp ebp, esi
sete dl
xor eax, eax
cmp edi, esi
mov dword [esp + 0x31c], edx
mov edx, dword [0x1000d734]
mov dword [esp + 0x318], ecx
mov ebp, dword [0x1000d73c]
sete al
xor ecx, ecx
cmp edx, esi
mov dword [esp + 0x320], eax
mov eax, dword [0x1000d738]
sete cl
xor edx, edx
cmp eax, esi
sete dl
xor eax, eax
mov dword [esp + 0x324], ecx
cmp ebp, esi
lea ecx, [esp + 0x1c]
sete al
push ecx
mov dword [esp + 0x32c], edx
mov dword [esp + 0x330], eax
mov dword [esp + 0x20], 8
call dword [sym.imp.USER32.dll_GetLastInputInfo]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x20]
cmp eax, 0x2bf20
jbe 0x10004642
mov dword [esp + 0x2f0], esi
mov ebp, dword [esp + 0x3bc]
mov ecx, ebp
call fcn.10008850
test al, al
je 0x100046b6
mov eax, dword [ebp + 0x7c]
lea edi, [ebp + 8]
mov dword [esp + 0x234], eax
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x230], edx
lea edx, [esp + 0x238]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea edx, [esp + 0x26a]
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp + 0x3a]
or ecx, 0xffffffff
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]
call fcn.100041c0
mov edx, eax
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x75]
mov byte [esp + 0x74], 0
cmp edx, 0x3e8
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop edi
pop esi
pop ebp
jl 0x10004706
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [esp + 0x6c]
push str._u_Gbps
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x74]
push eax
jmp 0x1000471c
push edx
lea ecx, [esp + 0x6c]
push str._u_Mbps
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.MSVCRT.dll_printf]
mov ecx, dword [esp + 0x3bc]
add esp, 0x10
lea eax, [esp + 0xcc]
push 0x2dc
push eax
call fcn.10001af0
add esp, 0x3a8
ret