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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov rax, qword [0x1800c8010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, r8
mov r12, rdx
mov r13, rcx
xor r15d, r15d
mov edi, r15d
mov dword [rbp - 0x35], r15d
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r15w
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x18003c0f0
lea rcx, [rbp - 0x29]
call fcn.18000af70
inc rsi
cmp word [r14 + rsi*2], 0
jne 0x18003c104
mov rcx, qword [rbp - 0x19]
mov rdx, qword [rbp - 0x11]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x18003c151
lea rdi, [rcx + rsi]
mov qword [rbp - 0x19], rdi
lea rbx, [rbp - 0x29]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x29]
lea r8, [rsi + rsi]
lea rcx, [rbx + rcx*2]
mov rdx, r14
call fcn.180059790
mov word [rbx + rdi*2], r15w
mov edi, dword [rbp - 0x35]
jmp 0x18003c16a
mov qword [rsp + 0x20], rsi
mov r9, r14
movzx r8d, byte [rbp - 0x39]
mov rdx, rsi
lea rcx, [rbp - 0x29]
call fcn.18003fbe0
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov eax, dword [rbp - 0x19]
lea r8d, [rax + rax]
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.180030140
test eax, eax
je 0x18003c2c0
mov qword [rbp - 0x31], r15
lea rbx, [r13 + 0x18]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18003c1ac
mov rdx, qword [rbx]
lea r8, [0x1800a7e78]
lea rcx, [rbp - 0x31]
call fcn.180067b80
mov r9, qword [rbp - 0x31]
test r9, r9
je 0x18003c22d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 7], xmm0
mov dword [rbp + 0x17], eax
mov r8d, 0x10
lea edx, [r8 - 0xf]
lea rcx, [rbp + 7]
call fcn.180068e28
cmp rax, 0x10
jne 0x18003c209
mov rax, qword [rbp - 9]
cmp rax, qword [rbp + 7]
jne 0x18003c1fe
mov rax, qword [rbp - 1]
cmp rax, qword [rbp + 0xf]
je 0x18003c204
mov r9, qword [rbp - 0x31]
jmp 0x18003c1d1
mov edi, 1
mov rcx, qword [rbp - 0x31]
call fcn.180067c5c
test edi, edi
je 0x18003c24f
mov r8, r14
mov rdx, r12
lea rcx, str._mtpmon::mtpCheckUploaded__the_file_is_already_uploaded:__s__s
call fcn.18000cd30
jmp 0x18003c2b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18003c240
mov rdx, qword [rbx]
mov r8d, eax
lea rcx, str._mtpmon::mtpCheckUploaded__open_file_failed:__s___d
call fcn.18000cd30
mov qword [rbp - 0x31], r15
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x18003c260
mov rdx, qword [rbx]
lea r8, [0x1800a81f4]
lea rcx, [rbp - 0x31]
call fcn.180067b80
mov r9, qword [rbp - 0x31]
test r9, r9
je 0x18003c296
mov edx, 1
lea r8d, [rdx + 0xf]
lea rcx, [rbp - 9]
call fcn.1800683d0
mov rcx, qword [rbp - 0x31]
call fcn.180067c5c
jmp 0x18003c2b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rbx + 0x18], 8
jb 0x18003c2a6
mov rbx, qword [rbx]
mov r8d, eax
mov rdx, rbx
lea rcx, str._mtpmon::mtpCheckUploaded__open_file_failed:__s___d
call fcn.18000cd30
call fcn.18000ce00
mov r15d, edi
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x18003c2fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003c2f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003c326
call fcn.180055890
mov eax, r15d
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1800555d0
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180067178
int3