Function at 0x14004c1c0
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push r13
push r14
push r15
lea rbp, [r11 - 0x208]
sub rsp, 0x2d8
mov rax, qword [0x140091208]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rax, qword [rbp + 0x230]
mov rbx, r9
mov r15, r8
mov qword [rsp + 0x70], rax
xor eax, eax
mov qword [rsp + 0x40], rdx
mov rsi, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x30], rax
mov r13d, eax
mov qword [rsp + 0x38], rax
mov r14d, eax
mov qword [rsp + 0x50], rax
mov qword [rdx], rax
test r8, r8
je 0x14004ca00
mov qword [r11 - 0x38], rdi
mov qword [r11 - 0x40], r12
call fcn.140018ae0
mov rcx, rsi
mov edi, eax
call fcn.140018ae0
lea rcx, str._________________________08x_08x
mov r8d, edi
mov edx, eax
call sym.apple.exe_curl_maprintf
mov r12, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x14004c26b
lea eax, [r14 + 0x1b]
jmp 0x14004c9f0
lea r9, str.Content_Type:_multipart_form_data
test rbx, rbx
lea r8, str._s__boundary_s_r_n
cmovne r9, rbx
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.14004bc00
mov edi, eax
test eax, eax
je 0x14004c2a7
mov rcx, r12
call qword [case.0x1400292fb.0]
mov eax, edi
jmp 0x14004c9f0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
test r13, r13
je 0x14004c2d6
lea r8, [0x1400721e0]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14004bc00
mov ebx, eax
test eax, eax
jne 0x14004c9ac
lea r8, str.___s_r_n
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov r9, r12
call fcn.14004bc00
mov ebx, eax
test eax, eax
jne 0x14004c9ac
lea r8, str.Content_Disposition:_form_data__name_
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14004bc00
mov ebx, eax
test eax, eax
jne 0x14004c9ac
movsxd rdi, dword [r15 + 0x10]
mov r12, qword [r15 + 8]
test rdi, rdi
js 0x14004c99d
mov rsi, qword [rsp + 0x38]
test rsi, rsi
js 0x14004c99d
lea ecx, [rax + 0x20]
call qword [section..data]
mov rbx, rax
test rax, rax
je 0x14004c991
mov qword [rax], 0
test rdi, rdi
jne 0x14004c36b
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r12
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx - 1]
lea rcx, [rdi + 1]
call qword [section..data]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x14004c988
mov r8, rdi
mov rdx, r12
mov rcx, rax
call fcn.140052090
mov rax, qword [rbx + 0x10]
xor r12d, r12d
mov qword [rbx + 0x18], rdi
mov byte [rdi + rax], 0
mov rax, qword [rsp + 0x30]
mov dword [rbx + 8], r12d
mov qword [rsp + 0x30], rbx
test rax, rax
je 0x14004c3b5
mov qword [rax], rbx
lea r8, [0x140081ab0]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
add rsi, rdi
mov qword [rsp + 0x38], rsi
call fcn.14004bc00
mov ebx, eax
test eax, eax
jne 0x14004c996
cmp qword [r15 + 0x48], r12
je 0x14004c44a
mov rcx, r14
call qword [case.0x1400292fb.0]
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
call fcn.140018ae0
mov rcx, rsi
mov edi, eax
call fcn.140018ae0
lea rcx, str._________________________08x_08x
mov edx, eax
mov r8d, edi
call sym.apple.exe_curl_maprintf
mov r14, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14004c991
lea r8, str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov r9, rax
call fcn.14004bc00
mov ebx, eax
test eax, eax
jne 0x14004c996
jmp 0x14004c44f
mov rsi, qword [rsp + 0x60]
mov r13, r15
mov qword [rsp + 0x58], r15
cmp qword [r15 + 0x48], 0
je 0x14004c499
lea r8, str._r_n___s_r_nContent_Disposition:_attachment
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov r9, r14
call fcn.14004bc00
mov ebx, eax
test eax, eax
jne 0x14004c996
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov rcx, r13
call fcn.14004be80
mov ebx, eax
test eax, eax
jmp 0x14004c4c2
mov eax, dword [r15 + 0x50]
test al, 0x51
je 0x14004c4c8
cmp qword [r15 + 0x58], 0
jne 0x14004c4ac
test al, 1
je 0x14004c4c0
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.14004be80
mov ebx, eax
test ebx, ebx
jne 0x14004c996
mov r9, qword [r13 + 0x38]
test r9, r9
je 0x14004c4f1
lea r8, str._r_nContent_Type:__s
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14004bc00
mov ebx, eax
test eax, eax
jne 0x14004c996
mov rdi, qword [r13 + 0x40]
test rdi, rdi
je 0x14004c52e
nop word [rax + rax]
mov r9, qword [rdi]
lea r8, str._r_n_s
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14004bc00
mov ebx, eax
test eax, eax
jne 0x14004c996
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x14004c500
jmp 0x14004c536
test ebx, ebx
jne 0x14004c996
lea r8, str._r_n_r_n
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14004bc00
mov ebx, eax
test eax, eax
jne 0x14004c996
mov eax, dword [r15 + 0x50]
test al, 1
jne 0x14004c6e7
test al, 2
jne 0x14004c6e7
test al, 0x10
je 0x14004c658
movsxd rdi, dword [r15 + 0x30]
mov rsi, qword [r15 + 0x28]
mov r13, qword [rsp + 0x38]
test rdi, rdi
js 0x14004c7db
test r13, r13
js 0x14004c7db
mov ecx, 0x20
call qword [section..data]
mov rbx, rax
test rax, rax
je 0x14004c5da
mov qword [rax], r12
test rdi, rdi
jne 0x14004c5be
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx - 1]
lea rcx, [rdi + 1]
call qword [section..data]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x14004c618
mov rcx, rbx
call qword [case.0x1400292fb.0]
mov ebx, 0x1b
mov r12, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14004c8ea
test ebx, ebx
jne 0x14004c996
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x50]
mov r13, rax
xor r12d, r12d
jmp 0x14004c457
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.140052090
mov qword [rbx + 0x18], rdi
mov rax, qword [rbx + 0x10]
mov byte [rdi + rax], 0
mov rax, qword [rsp + 0x30]
mov dword [rbx + 8], 1
mov qword [rsp + 0x30], rbx
test rax, rax
je 0x14004c64b
mov qword [rax], rbx
add r13, rdi
mov qword [rsp + 0x38], r13
mov ebx, r12d
jmp 0x14004c5df
test al, 0x40
je 0x14004c6c9
test al, al
jns 0x14004c666
mov rdi, qword [r15 + 0x68]
jmp 0x14004c66a
movsxd rdi, dword [r15 + 0x20]
mov rbx, qword [r15 + 0x60]
mov r13, qword [rsp + 0x38]
test rdi, rdi
js 0x14004c7db
test r13, r13
js 0x14004c7db
mov ecx, 0x20
call qword [section..data]
test rax, rax
je 0x14004c5da
mov rcx, qword [rsp + 0x30]
mov qword [rax], r12
mov qword [rax + 0x10], rbx
mov dword [rax + 8], 2
mov qword [rsp + 0x30], rax
test rcx, rcx
je 0x14004c6b9
mov qword [rcx], rax
add r13, rdi
mov ebx, r12d
mov qword [rsp + 0x38], r13
jmp 0x14004c5df
test al, al
jns 0x14004c6da
mov rdi, qword [r15 + 0x68]
mov rsi, qword [r15 + 0x18]
jmp 0x14004c57a
movsxd rdi, dword [r15 + 0x20]
mov rsi, qword [r15 + 0x18]
jmp 0x14004c57a
mov rdx, qword [r13 + 0x18]
lea rcx, [0x140081f70]
call sym.apple.exe_curl_strequal
test eax, eax
je 0x14004c702
call fcn.1400552c8
jmp 0x14004c712
mov rcx, qword [r13 + 0x18]
lea rdx, [0x140080e24]
call fcn.140054288
mov r14, rax
test rax, rax
je 0x14004c8b6
call fcn.1400552c8
cmp r14, rax
je 0x14004c7e5
mov rcx, r14
call fcn.14005482c
mov rbx, qword [r13 + 0x18]
mov r13, qword [rsp + 0x38]
test r13, r13
js 0x14004c7db
mov ecx, 0x20
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x14004c5da
mov qword [rax], r12
mov qword [rax + 0x10], rbx
mov dword [rax + 8], 3
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rdi
test rax, rax
je 0x14004c77d
mov qword [rax], rdi
mov rdx, qword [rdi + 0x10]
lea rcx, [0x140081f70]
call sym.apple.exe_curl_strequal
test eax, eax
jne 0x14004c653
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x78]
call fcn.140056c68
test eax, eax
jne 0x14004c7d2
movzx eax, word [rsp + 0x7e]
mov ecx, 0xf000
and ax, cx
mov ecx, 0x4000
cmp ax, cx
je 0x14004c7d2
movsxd rax, dword [rbp - 0x74]
mov ebx, r12d
add r13, rax
mov qword [rsp + 0x38], r13
jmp 0x14004c5df
mov rcx, rdi
call qword [case.0x1400292fb.0]
mov ebx, 0x2b
jmp 0x14004c5df
lea rcx, [rbp - 0x50]
mov r9, r14
mov edx, 1
mov r8d, 0x200
call fcn.140054574
mov r13, qword [rsp + 0x38]
mov r12, rax
test rax, rax
je 0x14004c5df
mov rsi, qword [rsp + 0x30]
xor ebx, ebx
test r12, r12
js 0x14004c7db
test r13, r13
js 0x14004c7db
mov ecx, 0x20
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x14004c5da
lea rcx, [r12 + 1]
mov qword [rax], rbx
call qword [section..data]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x14004c8ae
lea rdx, [rbp - 0x50]
mov r8, r12
mov rcx, rax
call fcn.140052090
mov rax, qword [rdi + 0x10]
mov qword [rdi + 0x18], r12
mov byte [r12 + rax], bl
mov qword [rsp + 0x30], rdi
mov dword [rdi + 8], 1
test rsi, rsi
je 0x14004c87b
mov qword [rsi], rdi
lea rcx, [rbp - 0x50]
add r13, r12
mov r9, r14
mov edx, 1
mov r8d, 0x200
mov rsi, rdi
mov qword [rsp + 0x38], r13
call fcn.140054574
mov r12, rax
test rax, rax
jne 0x14004c814
jmp 0x14004c5df
mov rcx, rdi
jmp 0x14004c5d4
test rsi, rsi
je 0x14004c8ce
mov r8, qword [r13 + 0x18]
lea rdx, str.couldnt_open_file___s_
mov rcx, rsi
call fcn.1400231d0
mov r12, qword [rsp + 0x40]
mov r13, qword [rsp + 0x38]
mov ebx, 0x1a
mov qword [r12], 0
jmp 0x14004c5e4
test ebx, ebx
jne 0x14004c996
cmp qword [r15 + 0x48], 0
mov r14, qword [rsp + 0x50]
je 0x14004c922
lea r8, str._r_n___s__
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov r9, r14
call fcn.14004bc00
mov ebx, eax
test eax, eax
jne 0x14004c996
mov r13, qword [rsp + 0x38]
mov r15, qword [r15]
test r15, r15
je 0x14004c934
mov r12, qword [rsp + 0x48]
jmp 0x14004c2b1
test ebx, ebx
jne 0x14004c996
mov rdi, qword [rsp + 0x48]
lea r8, str._r_n___s___r_n
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
mov r9, rdi
call fcn.14004bc00
mov ebx, eax
test eax, eax
jne 0x14004c9a9
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x38]
mov qword [rcx], rax
mov rcx, r14
call qword [case.0x1400292fb.0]
mov rcx, rdi
call qword [case.0x1400292fb.0]
mov rdx, qword [rsp + 0x68]
xor eax, eax
mov qword [r12], rdx
jmp 0x14004c9f0
mov rcx, rbx
call qword [case.0x1400292fb.0]
mov ebx, 0x1b
mov r12, qword [rsp + 0x48]
jmp 0x14004c9ac
mov r12, qword [rsp + 0x48]
mov ebx, 0x2b
jmp 0x14004c9ac
mov r12, rdi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x14004c9da
cmp dword [rsi + 8], 1
mov rdi, qword [rsi]
jg 0x14004c9c9
mov rcx, qword [rsi + 0x10]
call qword [case.0x1400292fb.0]
mov rcx, rsi
call qword [case.0x1400292fb.0]
mov rsi, rdi
test rdi, rdi
jne 0x14004c9b6
mov rcx, qword [rsp + 0x50]
call qword [case.0x1400292fb.0]
mov rcx, r12
call qword [case.0x1400292fb.0]
mov eax, ebx
mov rdi, qword [rsp + 0x2d0]
mov r12, qword [rsp + 0x2c8]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140051c70
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret