Function at 0x433480
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov edi, dword [esp + 0x3c]
mov dword [esp], 0
mov dword [esp + 4], 0
mov eax, dword [0x5052b0]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x50]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x4f3328
mov eax, dword [edi + 0x5c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
lea eax, [esp + 0x18]
mov ebx, esp
push 0
push eax
push ebx
call dbg.ffProcessAppendOutput
add esp, 0xc
test eax, eax
je 0x4334f7
add edi, 0x20
push eax
push 0x4f3333
push 0
push edi
push 0
push str.Command
call dbg.ffPrintError
add esp, 0x18
jmp 0x4336f2
mov eax, dword [esp + 4]
test eax, eax
je 0x4336d6
mov ebp, dword [esp + 8]
cmp byte [eax + ebp - 1], 0xa
jne 0x4335af
inc eax
nop word cs:[eax + eax]
mov esi, eax
add eax, 0xfffffffe
mov dword [esp + 4], eax
cmp esi, 2
je 0x433594
lea eax, [esi - 1]
cmp byte [ebp + esi - 3], 0xa
je 0x433520
cmp dword [esp], 0
jne 0x43359e
lea ecx, [eax - 1]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0
mov ecx, 0x20
nop word cs:[eax + eax]
mov ebx, ecx
add ecx, ecx
cmp eax, ebx
ja 0x433560
push ebx
call sym._malloc
add esp, 4
mov byte [eax], 0
mov dword [esp + 8], eax
mov dword [esp], ebx
mov ebx, dword [esp + 0xc]
push ebx
push ebp
push eax
mov ebp, eax
call sym._memcpy
add esp, 0xc
mov dword [esp + 4], ebx
mov ebx, esp
jmp 0x43359e
cmp dword [esp], 0
je 0x4336be
mov byte [ebp + esi - 2], 0
mov eax, dword [esp + 4]
test eax, eax
je 0x4336d6
mov ebp, dword [esp + 8]
cmp byte [eax + ebp - 1], 0x20
jne 0x433634
inc eax
nop
mov esi, eax
add eax, 0xfffffffe
mov dword [esp + 4], eax
cmp esi, 2
je 0x433639
lea eax, [esi - 1]
cmp byte [ebp + esi - 3], 0x20
je 0x4335c0
cmp dword [esp], 0
jne 0x43363f
lea ecx, [eax - 1]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0
mov ecx, 0x20
nop word cs:[eax + eax]
mov ebx, ecx
add ecx, ecx
cmp eax, ebx
ja 0x433600
push ebx
call sym._malloc
add esp, 4
mov byte [eax], 0
mov dword [esp + 8], eax
mov dword [esp], ebx
mov ebx, dword [esp + 0xc]
push ebx
push ebp
push eax
mov ebp, eax
call sym._memcpy
add esp, 0xc
mov dword [esp + 4], ebx
mov ebx, esp
jmp 0x43363f
lea eax, [edi + 0x20]
jmp 0x433652
cmp dword [esp], 0
je 0x4336be
mov byte [ebp + esi - 2], 0
lea eax, [edi + 0x20]
cmp dword [esp + 4], 0
je 0x4336db
cmp dword [edi + 0x3c], 0
je 0x43367f
mov dword [esp + 0x10], 7
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x10]
push ecx
push 1
push 0
push eax
push 0
push str.Command
call dbg.ffPrintFormat
jmp 0x4334ef
push 0
push eax
push 0
push str.Command
call dbg.ffPrintLogoAndKey
add esp, 0x10
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 + 8]
push 1
push dword [esp + 0x14]
call sym._fwrite
add esp, 0x10
push esi
push 0xa
call sym._fputc
add esp, 8
jmp 0x4336f2
mov dword [esp], 0
mov dword [esp + 4], 0
mov eax, dword [0x5052b0]
mov dword [esp + 8], eax
add edi, 0x20
mov eax, edi
push str.No_result_printed
push 0
push eax
push 0
push str.Command
call dbg.ffPrintError
add esp, 0x14
cmp dword [esp], 0
mov dword [esp + 4], 0
je 0x433713
mov dword [esp], 0
push dword [esp + 8]
call sym._free
add esp, 4
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret