Function at 0x444ea0
Capabilities:
Get memory capacity
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, dword [ebp + 8]
xorpd xmm0, xmm0
movapd xmmword [esp + 0x30], xmm0
movapd xmmword [esp + 0x60], xmm0
movapd xmmword [esp + 0x50], xmm0
movapd xmmword [esp + 0x40], xmm0
mov dword [esp + 0x30], 0x40
lea edi, [esp + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x44508a
mov ecx, edi
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x3c]
sub ebx, dword [esp + 0x40]
mov esi, edi
mov dword [esp + 0x10], edi
sbb esi, dword [esp + 0x44]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov eax, dword [0x5052b0]
mov dword [esp + 0x38], eax
push ecx
push esi
push ebx
call dbg.ffParseSize
add esp, 0xc
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov eax, dword [0x5052b0]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push eax
push edi
mov edi, dword [esp + 0x28]
push edi
call dbg.ffParseSize
mov ecx, edi
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov eax, ecx
or eax, edi
je 0x4450ae
movd xmm0, ebx
movd xmm1, esi
punpckldq xmm0, xmm1
movdqa xmm1, xmmword [0x4f4670]
punpckldq xmm0, xmm1
movapd xmm2, xmmword [0x4f4680]
subpd xmm0, xmm2
movapd xmm4, xmm0
unpckhpd xmm4, xmm0
addsd xmm4, xmm0
movd xmm0, ecx
movd xmm3, edi
punpckldq xmm0, xmm3
punpckldq xmm0, xmm1
subpd xmm0, xmm2
movapd xmm1, xmm0
unpckhpd xmm1, xmm0
addsd xmm1, xmm0
divsd xmm4, xmm1
mulsd xmm4, qword [0x4f4690]
mov edi, dword [ebp + 8]
lea ebx, [edi + 0x20]
cmp dword [edi + 0x3c], 0
jne 0x4450c2
push 0
push ebx
push 0
push 0x4f4698
movapd xmmword [esp + 0x30], xmm4
call dbg.ffPrintLogoAndKey
movapd xmm0, xmmword [esp + 0x30]
add esp, 0x10
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [0x5052b0]
mov dword [esp + 0xc], eax
movzx ecx, byte [0x5063e6]
test cl, 2
je 0x4451db
sub esp, 0x10
movzx eax, word [edi + 0x48]
mov word [esp + 0xc], ax
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x14]
mov dword [esp], eax
call dbg.ffPercentAppendBar
add esp, 0x10
mov eax, dword [esp + 4]
mov ebx, dword [esp + 8]
test eax, eax
je 0x445050
lea ecx, [ebx + 1]
cmp eax, ecx
jne 0x445178
cmp eax, 2
mov ecx, 0x20
cmovae ecx, eax
lea edx, [ebx + 2]
nop
mov esi, ecx
add ecx, ecx
cmp edx, esi
ja 0x445060
test eax, eax
je 0x445184
push esi
push dword [esp + 0x10]
call sym._realloc
add esp, 8
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 8]
jmp 0x4451b3
add esi, 0x20
push str.GlobalMemoryStatusEx___failed
push 0x4f469f
push 0
push esi
push 0
push 0x4f4698
call dbg.ffPrintError
add esp, 0x18
jmp 0x445377
mov edi, dword [ebp + 8]
lea ebx, [edi + 0x20]
xorpd xmm4, xmm4
cmp dword [edi + 0x3c], 0
je 0x445157
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [0x5052b0]
mov dword [esp + 0xc], eax
sub esp, 0x14
movzx eax, word [edi + 0x48]
mov word [esp + 0xc], ax
movsd qword [esp + 4], xmm4
lea esi, [esp + 0x18]
mov dword [esp], esi
mov dword [esp + 0x10], 0
call dbg.ffPercentAppendNum
add esp, 0x14
mov dword [esp + 0x74], 7
lea eax, [esp + 0x30]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 7
lea eax, [esp + 0x14]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 7
mov dword [esp + 0x88], esi
lea eax, [esp + 0x74]
push eax
push 3
push 0
push ebx
push 0
push 0x4f4698
call dbg.ffPrintFormat
add esp, 0x18
jmp 0x44530e
push 0
push ebx
push 0
push 0x4f4698
call dbg.ffPrintLogoAndKey
add esp, 0x10
push str.Disabled
call sym._puts
jmp 0x44532e
mov eax, dword [esp + 0xc]
movapd xmm0, xmmword [esp + 0x20]
jmp 0x4451c0
push esi
call sym._malloc
add esp, 4
test ebx, ebx
je 0x4451ac
lea ecx, [ebx + 1]
push ecx
push dword [esp + 0x10]
push eax
mov dword [esp + 0x1c], eax
call sym._memcpy
mov eax, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4451af
mov byte [eax], 0
mov dword [esp + 0xc], eax
movapd xmm0, xmmword [esp + 0x20]
mov dword [esp + 4], esi
lea ecx, [ebx + 1]
mov dword [esp + 8], ecx
mov byte [eax + ebx], 0x20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov byte [ecx + eax], 0
movzx ecx, byte [0x5063e6]
test cl, 4
jne 0x445207
lea eax, [esp + 4]
push dword [esp + 0x1c]
push dword [esp + 0x3c]
push 0x4f46ab
push eax
call dbg.ffStrbufAppendF
movapd xmm0, xmmword [esp + 0x30]
add esp, 0x10
movzx ecx, byte [0x5063e6]
mov eax, dword [esp + 8]
test cl, 1
je 0x445240
xor ecx, ecx
test eax, eax
setne cl
sub esp, 0x14
movzx eax, word [edi + 0x48]
mov word [esp + 0xc], ax
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 0x10], ecx
call dbg.ffPercentAppendNum
add esp, 0x14
mov eax, dword [esp + 8]
test eax, eax
je 0x4452e3
mov edi, dword [esp + 0xc]
cmp byte [eax + edi - 1], 0x20
jne 0x4452e3
inc eax
nop dword [eax + eax]
mov ebx, eax
add eax, 0xfffffffe
mov dword [esp + 8], eax
cmp ebx, 2
je 0x4452d3
lea eax, [ebx - 1]
cmp byte [edi + ebx - 3], 0x20
je 0x445260
cmp dword [esp + 4], 0
jne 0x4452de
lea ecx, [eax - 1]
mov dword [esp + 0x20], ecx
mov dword [esp + 8], 0
mov ecx, 0x20
nop word cs:[eax + eax]
mov esi, ecx
add ecx, ecx
cmp eax, esi
ja 0x4452a0
push esi
call sym._malloc
add esp, 4
mov byte [eax], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], esi
mov esi, dword [esp + 0x20]
push esi
push edi
push eax
mov edi, eax
call sym._memcpy
add esp, 0xc
mov dword [esp + 8], esi
jmp 0x4452de
cmp dword [esp + 4], 0
je 0x44537f
mov byte [edi + ebx - 2], 0
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
mov esi, eax
push eax
push dword [esp + 0xc]
push 1
push dword [esp + 0x18]
call sym._fwrite
add esp, 0x10
push esi
push 0xa
call sym._fputc
add esp, 8
cmp dword [esp + 4], 0
mov dword [esp + 8], 0
je 0x445331
mov dword [esp + 4], 0
push dword [esp + 0xc]
call sym._free
add esp, 4
cmp dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
je 0x445354
mov dword [esp + 0x14], 0
push dword [esp + 0x1c]
call sym._free
add esp, 4
cmp dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
je 0x445377
mov dword [esp + 0x30], 0
push dword [esp + 0x38]
call sym._free
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [0x5052b0]
mov dword [esp + 0xc], eax
jmp 0x4452e3