Function at 0x4061f0
Capabilities:
Get memory capacity
Get session user name
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440522
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x46706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x7b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push dword [ebp - 0x7ac]
lea ecx, [ebp - 0x10c]
push dword [ebp - 0x7b0]
call fcn.00406150
xor eax, eax
mov dword [ebp - 0x7fc], 0
add esp, 8
mov dword [ebp - 0x7f8], 0
mov dword [ebp - 0x7f8], 7
mov dword [ebp - 0x7fc], 0
mov word [ebp - reloc.crypt32.dll_CertOpenStore], ax
cmp word [ebp - reloc.crypt32.dll_CertOpenStore], ax
jne 0x406281
xor ecx, ecx
jmp 0x40629f
lea ecx, [ebp - 0x10c]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406290
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x80c]
call fcn.00409420
mov dword [ebp - 4], 0
lea edx, [ebp - 0x80c]
lea ecx, [ebp - 0x824]
call fcn.0040fb80
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x4062d6
mov eax, dword [eax]
push eax
push str.Error_occurred_at__s._r_n
push 0x4679c4
call fcn.00401710
add esp, 0xc
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x810]
cmp eax, 0x10
jb 0x40630b
inc eax
lea ecx, [ebp - 0x824]
push eax
push dword [ebp - 0x824]
call fcn.00402ba0
mov dword [ebp - 0x810], 0xf
mov dword [ebp - 0x814], 0
mov byte [ebp - 0x824], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x7f8]
cmp eax, 8
jb 0x40634b
inc eax
lea ecx, [ebp - 0x80c]
push eax
push dword [ebp - 0x80c]
call fcn.00409ea0
xor eax, eax
mov dword [ebp - 0x7f8], 7
push 0x410
push eax
mov word [ebp - reloc.crypt32.dll_CertOpenStore], ax
lea eax, [ebp - 0x7a4]
push eax
mov dword [ebp - 0x7fc], 0
call fcn.00426340
add esp, 0xc
lea eax, [ebp - 0x7a4]
push 0x102
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
test eax, eax
jne 0x4063a9
push str.Unknown
lea eax, [ebp - 0x7a4]
push eax
call esi
push 0x208
lea eax, [ebp - 0x394]
push 0
push eax
call fcn.00426340
add esp, 0xc
mov dword [ebp - 0x7a8], 0x102
lea eax, [ebp - 0x7a8]
push eax
lea eax, [ebp - 0x394]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x4063ef
push str.Unknown
lea eax, [ebp - 0x394]
push eax
call esi
xor eax, eax
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x810], 0
mov dword [ebp - 0x810], 7
mov dword [ebp - 0x814], 0
mov word [ebp - reloc.crypt32.dll_CertOpenStore], ax
cmp word [ebp - reloc.crypt32.dll_CertOpenStore], ax
jne 0x40642d
xor ecx, ecx
jmp 0x406445
lea ecx, [ebp - 0x394]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406436
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x394]
push eax
lea ecx, [ebp - 0x824]
call fcn.00409420
mov dword [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x7fc], 0
mov dword [ebp - 0x7f8], 0
mov dword [ebp - 0x7f8], 7
mov dword [ebp - 0x7fc], 0
mov word [ebp - reloc.crypt32.dll_CertOpenStore], ax
cmp word [ebp - reloc.crypt32.dll_CertOpenStore], ax
jne 0x40649d
xor ecx, ecx
jmp 0x4064b5
lea ecx, [ebp - 0x7a4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4064a6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x7a4]
push eax
lea ecx, [ebp - 0x80c]
call fcn.00409420
mov byte [ebp - 4], 3
lea edx, [ebp - 0x824]
lea ecx, [ebp - 0x854]
call fcn.0040fb80
mov esi, eax
mov byte [ebp - 4], 4
lea edx, [ebp - 0x80c]
lea ecx, [ebp - 0x83c]
call fcn.0040fb80
mov byte [ebp - 4], 5
cmp dword [esi + 0x14], 0x10
jb 0x406500
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x406508
mov eax, dword [eax]
push esi
push eax
push str._s__run_by__s._r_n
push 0x4679c4
call fcn.00401710
add esp, 0x10
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x828]
cmp eax, 0x10
jb 0x40653e
inc eax
lea ecx, [ebp - 0x83c]
push eax
push dword [ebp - 0x83c]
call fcn.00402ba0
mov dword [ebp - 0x828], 0xf
mov dword [ebp - 0x82c], 0
mov byte [ebp - 0x83c], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x840]
cmp eax, 0x10
jb 0x40657b
inc eax
lea ecx, [ebp - 0x854]
push eax
push dword [ebp - 0x854]
call fcn.00402ba0
mov dword [ebp - 0x840], 0xf
mov dword [ebp - 0x844], 0
mov byte [ebp - 0x854], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x7f8]
cmp eax, 8
jb 0x4065b8
inc eax
lea ecx, [ebp - 0x80c]
push eax
push dword [ebp - 0x80c]
call fcn.00409ea0
xor eax, eax
mov dword [ebp - 0x7f8], 7
mov dword [ebp - 0x7fc], 0
mov word [ebp - reloc.crypt32.dll_CertOpenStore], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x810]
cmp eax, 8
jb 0x4065fa
inc eax
lea ecx, [ebp - 0x824]
push eax
push dword [ebp - 0x824]
call fcn.00409ea0
xor eax, eax
mov dword [ebp - 0x810], 7
mov dword [ebp - 0x814], 0
mov word [ebp - reloc.crypt32.dll_CertOpenStore], ax
call fcn.004058d0
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x858]
lea ecx, [ebp - 0x18c]
call fcn.00401390
lea eax, [ebp - 0x18c]
push eax
push str.Operating_system:___s_r_n
push 0x4679c4
call fcn.00401710
add esp, 0x10
lea eax, [ebp - 0x7f4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push dword [ebp - 0x7dc]
push dword [ebp - 0x7e0]
push str._d_processor_s___type__d._r_n
push 0x4679c4
call fcn.00401710
add esp, 0x10
mov dword [ebp - 0x7d0], 0x20
lea eax, [ebp - 0x7d0]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push dword [ebp - 0x7cc]
push str._d___memory_in_use._r_n
push 0x4679c4
call fcn.00401710
mov eax, dword [ebp - 0x7c8]
add eax, 0xfffff
shr eax, 0x14
push eax
push str._d_MBytes_physical_memory._r_n
push 0x4679c4
call fcn.00401710
mov eax, dword [ebp - 0x7c4]
add eax, 0xfffff
shr eax, 0x14
push eax
push str._d_MBytes_physical_memory_free._r_n
push 0x4679c4
call fcn.00401710
mov eax, dword [ebp - 0x7c0]
add eax, 0xfffff
shr eax, 0x14
push eax
push str._d_MBytes_paging_file._r_n
push 0x4679c4
call fcn.00401710
mov eax, dword [ebp - 0x7bc]
add eax, 0xfffff
shr eax, 0x14
push eax
push str._d_MBytes_paging_file_free._r_n
push 0x4679c4
call fcn.00401710
mov eax, dword [ebp - 0x7b8]
add eax, 0xfffff
shr eax, 0x14
push eax
push str._d_MBytes_user_address_space._r_n
push 0x4679c4
call fcn.00401710
mov eax, dword [ebp - 0x7b4]
add esp, 0x48
add eax, 0xfffff
shr eax, 0x14
push eax
push str._d_MBytes_user_address_space_free._r_n
push 0x4679c4
call fcn.00401710
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042318e
mov esp, ebp
pop ebp
ret