Function at 0x43635a
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push 0xb4
mov eax, 0x47e71c
call fcn.004514b0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xc0], eax
mov byte [eax], bl
mov dword [ebp - 0xb4], 0x4b8f3c
mov byte [ebp - 0xb0], bl
call fcn.0040881c
push ebx
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x99], bl
call fcn.00436919
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x84], 8
mov eax, dword [ebp - 0x98]
jae 0x4363db
lea eax, [ebp - 0x98]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push ebx
push 3
push ebx
push 1
mov edi, connect
push edi
push eax
call esi
mov dword [ebp - 0xa4], eax
cmp eax, 0xffffffff
jne 0x4364a0
push 1
lea ecx, [ebp - 0x7c]
call fcn.00436919
pop ecx
lea eax, [ebp - 0x98]
push eax
call fcn.00436e47
pop ecx
test al, al
jne 0x43646b
lea eax, [ebp - 0x7c]
push eax
call fcn.00436e47
pop ecx
test al, al
je 0x43646b
cmp dword [ebp - 0x84], 8
mov ecx, dword [ebp - 0x98]
jae 0x43643f
lea ecx, [ebp - 0x98]
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x43644b
lea eax, [ebp - 0x7c]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x43646b
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x436464
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x436477
lea eax, [ebp - 0x7c]
push ebx
push ebx
push 3
push ebx
push 1
push edi
push eax
call esi
push ebx
push 1
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0xa4], eax
call fcn.0040573c
cmp dword [ebp - 0xa4], 0xffffffff
je 0x436698
push ebx
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x14
jb 0x43668c
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea eax, [ebp - 0xa0]
push eax
push 4
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0xa4]
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xa8], ebx
call esi
test eax, eax
je 0x43668c
cmp dword [ebp - 0xa0], 4
jne 0x43668c
cmp dword [ebp - 0xa8], 1
jne 0x43653a
push ebx
lea eax, [ebp - 0xa0]
push eax
push 0x10
push dword [ebp - 0xac]
push dword [ebp - 0xa4]
call esi
test eax, eax
je 0x43668c
cmp dword [ebp - 0xa0], 0x10
jne 0x43668c
mov eax, dword [ebp - 0xc0]
mov byte [eax], 1
jmp 0x436685
cmp dword [ebp - 0xa8], 2
jne 0x43668c
xor eax, eax
mov byte [ebp - 0x30], bl
lea edi, [ebp - 0x2f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
stosb byte es:[edi], al
lea eax, [ebp - 0xa0]
push eax
push 0x10
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xa4]
call esi
test eax, eax
je 0x43668c
cmp dword [ebp - 0xa0], 0x10
jne 0x43668c
xor eax, eax
mov byte [ebp - 0x40], bl
lea edi, [ebp - 0x3f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
stosb byte es:[edi], al
lea eax, [ebp - 0xa0]
push eax
push 0x10
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xa4]
call esi
test eax, eax
je 0x43668c
cmp dword [ebp - 0xa0], 0x10
jne 0x43668c
xor eax, eax
mov byte [ebp - 0x60], bl
lea edi, [ebp - 0x5f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
stosb byte es:[edi], al
lea eax, [ebp - 0xa0]
push eax
push 0x10
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0xa4]
call esi
test eax, eax
je 0x43668c
cmp dword [ebp - 0xa0], 0x10
jne 0x43668c
xor eax, eax
mov byte [ebp - 0x20], bl
lea edi, [ebp - 0x1f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0xbc]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x436611
mov eax, dword [eax]
push ecx
push eax
lea edx, [ebp - 0x20]
call fcn.0043cf39
xor eax, eax
mov byte [ebp - 0x50], bl
lea edi, [ebp - 0x4f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0xb8]
cmp dword [eax + 0x14], 0x10
pop ecx
pop ecx
mov ecx, dword [eax + 0x10]
jb 0x43663c
mov eax, dword [eax]
push ecx
push eax
lea edx, [ebp - 0x50]
call fcn.0043cf39
pop ecx
pop ecx
push 0x10
pop ecx
lea edi, [ebp - 0x20]
lea esi, [ebp - 0x40]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x43665c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x436678
push 0x10
pop ecx
lea edi, [ebp - 0x50]
lea esi, [ebp - 0x60]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x436674
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x43668c
mov edi, dword [ebp - 0xac]
lea esi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x99], 1
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x98]
call fcn.0040573c
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xb0], bl
je 0x4366bd
mov ecx, dword [ebp - 0xb4]
call fcn.004077ef
mov al, byte [ebp - 0x99]
call fcn.00451533
ret 0x10