Function at 0x18082dd1
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x1820f00c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0xb8], edx
mov byte [ebp - 0xa5], cl
mov dword [ebp - 0xb4], eax
call fcn.1801a8a4
push 0x70
mov edi, eax
call fcn.1814d7d1
pop ecx
mov ebx, eax
mov ecx, ebx
call fcn.18082c5d
mov al, byte [ebp - 0xa5]
push 0x181f16c4
mov byte [ebx], al
call fcn.18165959
pop ecx
push eax
push 0x181f16c4
lea ecx, [ebx + 8]
call fcn.18006e93
mov dl, byte [ebp - 0xa5]
lea ecx, [ebp - 0xb0]
call fcn.180210a0
push eax
lea ecx, [ebx + 4]
call fcn.18009c40
mov ecx, dword [ebp - 0xb0]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov esi, dword [0x1821787c]
test esi, esi
jne 0x18082e7d
xor eax, eax
jmp 0x18082e84
push esi
call fcn.18165959
pop ecx
push eax
push esi
lea ecx, [ebx + 0xc]
call fcn.18006e93
mov esi, dword [0x18217878]
test esi, esi
jne 0x18082e9c
xor eax, eax
jmp 0x18082ea3
push esi
call fcn.18165959
pop ecx
push eax
push esi
lea ecx, [ebx + 0x10]
call fcn.18006e93
push dword [ebp - 0xac]
lea ecx, [ebx + 0x14]
call fcn.18009c40
push dword [ebp - 0xc0]
lea ecx, [ebx + 0x18]
call fcn.18009c40
lea eax, [ebp - 0xc0]
push eax
call fcn.1801c00e
push eax
lea ecx, [ebx + 0x1c]
call fcn.18009c40
mov ecx, dword [ebp - 0xc0]
lea ecx, [ecx - 0x10]
call fcn.1800687d
push dword [ebp - 0xb8]
lea ecx, [ebx + 0x24]
call fcn.18009c40
push dword [ebp - 0xb4]
lea ecx, [ebx + 0x20]
call fcn.18009c40
push 0
lea eax, [ebp - 0xa6]
mov byte [ebp - 0xa6], 0
push eax
mov ecx, edi
call fcn.1801b844
cmp byte [ebp - 0xa6], 0
je 0x18082f2b
mov dword [ebx + 0x28], eax
push 0
lea eax, [ebp - 0xb4]
mov ecx, edi
push eax
call fcn.1801d09c
push eax
lea ecx, [ebx + 0x2c]
call fcn.18009c40
mov ecx, dword [ebp - 0xb4]
lea ecx, [ecx - 0x10]
call fcn.1800687d
call fcn.1800d587
mov byte [ebx + 0x30], al
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x18082fe3
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xbc], eax
mov eax, ecx
and ecx, 0x7fffffff
and eax, 0x80000000
mov dword [ebp - 0xb8], ecx
fild qword [ebp - 0xbc]
and dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], eax
push ecx
fild qword [ebp - 0xbc]
push ecx
fchs
faddp st(1)
fstp qword [ebp - 0xbc]
fld qword [ebp - 0xbc]
fmul qword [0x182033c8]
fadd qword [0x182033e0]
fstp qword [esp]
call fcn.1818a890
pop ecx
pop ecx
call fcn.18186910
mov dword [ebx + 0x38], eax
call fcn.180125a8
mov edx, eax
lea ecx, [ebp - 0xb0]
call fcn.180125d5
mov ecx, dword [ebp - 0xb0]
call fcn.1801539b
mov ecx, dword [ebp - 0xb0]
mov dword [ebx + 0x3c], eax
lea ecx, [ecx - 0x10]
call fcn.1800687d
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0xe4]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0x3c]
mov dword [ebx + 0x34], eax
xor eax, eax
push 0xf
pop esi
push 7
push 0x181e3e04
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov word [ebp - 0x40], ax
mov byte [ebp - 0x3e], al
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x3c], al
call fcn.18019812
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x10], esi
mov byte [ebp - 0x24], 0
call fcn.181424c9
mov al, byte [ebp - 0x47]
mov edi, 0x181e613c
mov byte [ebx + 0x40], al
mov al, byte [ebp - 0x46]
mov byte [ebx + 0x41], al
mov al, byte [ebp - 0x45]
mov byte [ebx + 0x42], al
mov al, byte [ebp - 0x44]
mov byte [ebx + 0x43], al
mov al, byte [ebp - 0x43]
mov byte [ebx + 0x44], al
mov al, byte [ebp - 0x42]
mov byte [ebx + 0x45], al
mov al, byte [ebp - 0x41]
push edi
mov byte [ebx + 0x46], al
call fcn.18165959
pop ecx
push eax
push edi
lea ecx, [ebx + 0x48]
call fcn.18006e93
lea edx, [ebx + 0x50]
lea ecx, [ebx + 0x4c]
call fcn.1801fb60
call fcn.18013499
mov edx, eax
lea ecx, [ebp - 0xb4]
call fcn.18085486
push eax
lea ecx, [ebx + 0x54]
call fcn.18009c40
mov ecx, dword [ebp - 0xb4]
lea ecx, [ecx - 0x10]
call fcn.1800687d
lea eax, [ebx + 0x58]
mov esi, str.HKLMSYSTEMCurrentControlSetControlSystemInformation
push eax
mov edx, 0x181f16cc
mov ecx, esi
call fcn.180180a7
pop ecx
lea eax, [ebx + 0x5c]
mov edx, 0x181f16a0
push eax
mov ecx, esi
call fcn.180180a7
pop ecx
lea ecx, [ebp - 0xac]
call fcn.18009c8e
call fcn.1801a8a4
cmp byte [ebp - 0xa5], 0
mov ecx, str.HKLMSoftwareMicrosoftEdgeUpdate_
jne 0x18083144
mov ecx, str.HKCUSoftwareMicrosoftEdgeUpdate_
lea eax, [ebp - 0xac]
mov edx, str.LastECSETag
push eax
call fcn.180180a7
pop ecx
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebx + 0x60]
call fcn.18009c40
mov ecx, dword [ebp - 0xac]
lea ecx, [ecx - 0x10]
call fcn.1800687d
mov eax, dword [ebp - 0x10]
mov esi, 0x1000
cmp eax, 0x10
jb 0x180831be
mov ecx, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], ecx
cmp eax, esi
jb 0x180831b5
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.18007386
mov eax, dword [ebp - 0xb0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xac]
push eax
push ecx
call fcn.1814d45b
pop ecx
pop ecx
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
cmp eax, 0x10
jb 0x18083213
mov ecx, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], ecx
cmp eax, esi
jb 0x1808320a
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.18007386
mov eax, dword [ebp - 0xb0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xac]
push eax
push ecx
call fcn.1814d45b
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1814cf3d
leave
ret