Function at 0x44fc40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
push 0x58
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.004b03e0
mov ecx, dword [0x50bb90]
mov dword [ebp - 0x90], ecx
add esp, 0xc
lea ecx, [ebp - 0x94]
lea edx, [ebp - 0x2d8]
xor eax, eax
push ecx
mov dword [ebp - 0x94], 0x58
mov dword [ebp - 0x88], str.Log_files__.csv_
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x78], edx
mov word [ebp - 0x2d8], ax
mov dword [ebp - 0x74], 0x104
mov dword [ebp - 0x64], str.Save_shell_and_processes_log...
mov dword [ebp - 0x58], 0x4d95f4
mov dword [ebp - 0x60], 0x88080e
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x44fed4
push ebx
push 0
push 0
push 4
push 0
push 1
push 0x40000000
lea edx, [ebp - 0x2d8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x44febe
cmp ebx, 0xffffffff
je 0x44febe
push esi
push edi
push 0x80000
call fcn.004412a0
mov esi, eax
xor eax, eax
add esp, 4
xor edi, edi
mov dword [ebp - 0x3c], 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], eax
lea esp, [esp]
test edi, edi
je 0x44fd58
push 0
lea eax, [ebp - 0xc]
push eax
push 2
push 0x4d3680
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
push ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x105f
push ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 0x40000
call edi
test eax, eax
je 0x44fdb1
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44fd81
sub eax, edx
sar eax, 1
add eax, eax
je 0x44fda6
push 0
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 4]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
inc dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 8]
jmp 0x44fd40
mov edx, dword [ebp - 4]
push 0
lea ecx, [ebp - 0xc]
push ecx
push 4
push 0x4c2ecc
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 8], 0
jle 0x44fea2
push 0
push 0
push 0x1004
push ebx
call edi
xor ebx, ebx
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x44fea2
jmp 0x44fdf0
xor edi, edi
cmp dword [ebp - 8], edi
jle 0x44fe81
jmp 0x44fe00
test edi, edi
je 0x44fe1b
mov ecx, dword [ebp - 4]
push 0
lea eax, [ebp - 0xc]
push eax
push 2
push 0x4d3680
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xd0]
push eax
push ebx
push 0x1073
xor edx, edx
push ecx
mov word [esi], dx
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xb8], 0x40000
mov dword [ebp - 0xbc], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44fe52
sub eax, edx
sar eax, 1
add eax, eax
je 0x44fe77
push 0
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 4]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
inc edi
cmp edi, dword [ebp - 8]
jl 0x44fe00
mov edx, dword [ebp - 4]
push 0
lea ecx, [ebp - 0xc]
push ecx
push 4
push 0x4c2ecc
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
inc ebx
cmp ebx, dword [ebp - 0x10]
jl 0x44fdf0
push esi
call fcn.00441300
mov eax, dword [ebp - 4]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 0
push 0
push str.Create_log_file_failed_
call fcn.004200b0
add esp, 0x14
pop ebx
mov esp, ebp
pop ebp
ret 4