Function at 0x447b60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x447bc0
push 4
push str.com.freerdp.common
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x447bb8
push ebx
push str.ASSISTANCE_file__s_invalid_name
push 0x5bb694
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPlibfreerdpcommon_assistance.c
push 0x446
push 4
push ebx
push str.com.freerdp.common
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x20
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi + 0x50]
call fcn.00580204
push dword [esi + 0x54]
call fcn.00580204
push ebx
call fcn.00580c20
push dword [ebp + 0x10]
mov dword [esi + 0x50], eax
call fcn.00580c20
push 0x5b5e84
push ebx
mov dword [esi + 0x54], eax
call fcn.00582816
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x447c51
push 4
push str.com.freerdp.common
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x447c47
push ebx
push str.Failed_to_open_ASSISTANCE_file__s
push 0x5bb694
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPlibfreerdpcommon_assistance.c
push 0x452
push 4
push edi
push str.com.freerdp.common
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x20
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push edi
call fcn.00582a9c
push edi
call fcn.00582bd3
push 0
push 0
push 0
push edi
mov dword [ebp + 0xc], eax
mov esi, edx
call fcn.00582a9c
add esp, 0x24
test esi, esi
jg 0x447ce3
jl 0x447c85
mov eax, dword [ebp + 0xc]
cmp eax, 1
jae 0x447ce6
push 4
push str.com.freerdp.common
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x447cd0
push ebx
push str.Failed_to_read_ASSISTANCE_file__s
push 0x5bb694
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPlibfreerdpcommon_assistance.c
push 0x45c
push 4
push 0
push str.com.freerdp.common
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x20
push edi
call fcn.005826db
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
add eax, 2
push eax
call fcn.0058023c
add esp, 4
mov esi, eax
mov dword [ebp - 8], esi
push edi
test esi, esi
je 0x447cd1
push 1
push dword [ebp + 0xc]
push esi
call fcn.005829f0
add esp, 0x10
mov dword [ebp - 4], eax
test eax, eax
jne 0x447d26
push edi
call fcn.005816a7
mov ecx, dword [ebp - 4]
add esp, 4
test eax, eax
cmove ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
call fcn.005826db
add esp, 4
cmp dword [ebp - 4], 1
jae 0x447d93
push 4
push str.com.freerdp.common
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x447d80
push ebx
push str.Failed_to_read_ASSISTANCE_file__s
push 0x5bb694
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPlibfreerdpcommon_assistance.c
push 0x475
push 4
push 0
push str.com.freerdp.common
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x20
push esi
call fcn.00580204
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
mov word [eax + esi], 0
call sym.wfreerdp.exe_freerdp_assistance_parse_file_buffer
push dword [ebp - 8]
mov esi, eax
call fcn.00580204
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret