Function at 0x463234
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5c4e68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
push 0x103
lea eax, [ebp - 0x10f]
push edi
push eax
mov dword [ebp - 0x114], edi
mov byte [ebp - 0x110], 0
call fcn.005117f0
mov eax, dword [ebp + 8]
mov esi, dword [0x6bf884]
add esp, 0xc
cmp eax, 0x8000000
mov dword [ebp - 0x120], esi
je 0x46329c
cmp eax, edi
je 0x46329c
push eax
push str.:7:SetDefaultFtpMode__ld__FAILED:_The_given_mode_is_invalid__must_be_either_INTERNET_FLAG_PASSIVE_or_INTERNET_FLAG_ACTIVE_
call fcn.004265da
pop ecx
pop ecx
mov eax, esi
jmp 0x4634ca
push str.FtpMode.dat
push edi
push edi
mov dword [0x6bf884], eax
call fcn.0048a119
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x110]
push 0x533dd4
push eax
call fcn.00511173
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x10
mov dword [ebp - 0x118], edi
mov ebx, 0x96
push 0x6c2
push str..Network.c
mov edx, 0x5330f8
lea ecx, [ebp - 0x110]
call fcn.0042d2c6
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x11c], eax
jne 0x463385
lea edi, [ebp - 0x110]
call fcn.0042ad00
test eax, eax
je 0x463320
push ebx
call esi
inc dword [ebp - 0x118]
cmp dword [ebp - 0x118], 5
jl 0x4632d5
and dword [ebp - 0x118], 0
xor edi, edi
cmp dword [ebp - 0x11c], edi
jne 0x463391
push 0x6d7
push str..Network.c
mov edx, 0x532348
lea ecx, [ebp - 0x110]
call fcn.0042d2c6
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x11c], eax
jne 0x463391
push ebx
call esi
inc edi
cmp edi, 5
jl 0x463331
lea edi, [ebp - 0x110]
call fcn.0042ad00
push eax
mov eax, edi
push eax
push eax
push dword [ebp + 8]
push str.:7:SetDefaultFtpMode__ld__FAILED:_fopen___s____wb___FAILED:_DoesFileExist___s___returns__ld.
call fcn.004265da
add esp, 0x14
jmp 0x4634c4
mov dword [ebp - 0x118], 1
jmp 0x463327
cmp dword [ebp - 0x118], 0
je 0x4633d2
push dword [ebp - 0x11c]
lea eax, [ebp - 0x114]
push 1
push 4
push eax
call fcn.00511c63
add esp, 0x10
cmp eax, 1
jae 0x4633d2
lea eax, [ebp - 0x110]
push eax
push str.:7:SetDefaultFtpMode___FAILED:_fread___s___FAILED___
call fcn.004265da
and dword [ebp - 0x114], 0
pop ecx
pop ecx
push 3
pop esi
push 0xfffffffffffffffd
pop edi
cmp dword [ebp - 0x114], edi
jl 0x4633e8
cmp dword [ebp - 0x114], esi
jle 0x463409
push dword [ebp - 0x114]
lea eax, [ebp - 0x110]
push eax
push str.:8:SetDefaultFtpMode___encountered_a_problem:_The_memory_file___s__is_invalid:_The_memory_value_must_be__3___2___1__1__2__or_3_but_it_was_found_to_be__ld_
call fcn.004265da
add esp, 0xc
and dword [ebp - 0x114], 0
xor eax, eax
cmp dword [ebp + 8], eax
jne 0x463424
inc dword [ebp - 0x114]
jne 0x46343c
mov dword [ebp - 0x114], 1
jmp 0x46343c
cmp dword [ebp + 8], 0x8000000
jne 0x46343c
dec dword [ebp - 0x114]
jne 0x46343c
or dword [ebp - 0x114], 0xffffffff
cmp dword [ebp - 0x114], esi
jle 0x46344c
mov dword [ebp - 0x114], esi
jmp 0x46345a
cmp dword [ebp - 0x114], edi
jge 0x46345a
mov dword [ebp - 0x114], edi
push eax
push eax
push dword [ebp - 0x11c]
call fcn.005131f0
add esp, 0xc
test eax, eax
je 0x463481
lea eax, [ebp - 0x110]
push eax
push str.:6:SetDefaultFtpMode___FAILED:_fseek___s___0__SEEK_SET__FAILED___
call fcn.004265da
pop ecx
pop ecx
push dword [ebp - 0x11c]
lea eax, [ebp - 0x114]
push 1
push 4
push eax
call fcn.005110f1
add esp, 0x10
cmp eax, 1
jae 0x4634b9
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x114]
push str.:8:SetDefaultFtpMode___FAILED:_fwrite__d____s___FAILED___
call fcn.004265da
add esp, 0xc
mov ecx, dword [ebp - 0x11c]
call fcn.0042d70e
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051291c
leave
ret