Function at 0x411f20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a8cb
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
push ebx
push esi
push edi
mov eax, dword [0x44bb64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.SysInfoLogFile
lea ecx, [ebp - 0x14]
call fcn.00405620
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 0x118]
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00405350
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411f9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x15], bl
je 0x412346
push str.SysInfoLogFile
lea ecx, [ebp - 0x14]
call fcn.00405620
mov edx, dword [esi + 0x14]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [edx + 0x118]
mov dword [ebp - 4], 1
call fcn.00405460
mov eax, dword [eax]
push ebx
push ebx
push eax
call fcn.0042467c
mov edi, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411ffe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
je 0x412346
push str.SysInfoFile.log
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.00410640
add esp, 0xc
mov edx, dword [ebp - 0x30]
push ebx
push 0x80
push 2
push ebx
push 1
push 0xc0000000
push edx
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
jne 0x41204c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x412320
mov eax, dword [0x44bb48]
mov edx, dword [eax + 0xc]
mov ecx, 0x44bb48
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [0x44bb48]
mov edx, dword [eax + 0xc]
mov ecx, 0x44bb48
mov byte [ebp - 4], 3
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x44d340
mov byte [ebp - 4], 4
call fcn.0041d150
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x10]
push str.Version:__s_r_n
push edx
mov byte [ebp - 4], 5
call fcn.00406d30
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00401470
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov ecx, 0x44d340
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x44], ebx
call fcn.0041cad0
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x10]
push str.cpu_usage:__d_r_n
push eax
call fcn.00406d30
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00401470
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, 0x44d340
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
call fcn.0041c940
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
push edx
push eax
lea ecx, [ebp - 0x10]
push str.physMemory_usage:__d__virtualMemory_usage:_d_r_n
push ecx
call fcn.00406d30
add esp, 0x10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00401470
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x34]
push edx
mov edx, dword [ebp - 0x38]
push eax
push ecx
push edx
lea eax, [ebp - 0x10]
push str.AvaiPhysMemory:__lld_MB__AvaiVirtMemory:_lld_MB_r_n
push eax
call fcn.00406d30
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
add esp, 0x18
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00401470
mov edx, dword [0x44bb48]
mov eax, dword [edx + 0xc]
mov ecx, 0x44bb48
call eax
mov edx, dword [0x44bb48]
add eax, 0x10
mov dword [ebp - 0xcc], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x44bb48
call eax
add eax, 0x10
mov dword [ebp - 0xc8], eax
mov edx, dword [esi + 0x14]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x104]
push ecx
push ebx
push eax
mov ecx, 0x44d340
mov byte [ebp - 4], 6
call fcn.0041d120
mov eax, dword [ebp - 0xa8]
shr eax, 0x14
push eax
lea ecx, [ebp - 0x10]
push str.Process_Virtual_Memory:__d_MB_r_n
push ecx
call fcn.00406d30
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00401470
mov eax, dword [ebp - 0x9c]
shr eax, 0x14
push eax
lea edx, [ebp - 0x10]
push str.Process_Working_Memory:__d_MB_r_n
push edx
call fcn.00406d30
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00401470
mov eax, dword [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x10]
push str.Process_handle_count:__d_r_n
push ecx
call fcn.00406d30
mov edi, dword [ebp - 0x10]
mov eax, dword [edi - 0xc]
add esp, 0xc
push eax
push edi
lea ecx, [ebp - 0x14]
call fcn.00401470
mov esi, dword [esi + 0x14]
cmp dword [esi + 4], ebx
je 0x412284
mov eax, dword [esi + 4]
lea edx, [ebp - 0x48]
push edx
push eax
mov ecx, 0x44d340
call fcn.0041caa0
mov ecx, dword [ebp - 0x48]
push ecx
lea edx, [ebp - 0x10]
push str.GDI_Count:__d_r_n
push edx
call fcn.00406d30
mov edi, dword [ebp - 0x10]
mov eax, dword [edi - 0xc]
add esp, 0xc
push eax
push edi
lea ecx, [ebp - 0x14]
call fcn.00401470
mov esi, dword [ebp - 0x14]
mov eax, dword [esi - 0xc]
push ebx
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [eax + eax]
mov eax, dword [ebp - 0x24]
push edx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, ebx
jne 0x4122a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x104]
call fcn.00410080
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4122e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412300
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412320
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412346
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret