Function at 0x140035bb0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x1a8]
sub rsp, 0x2a8
mov rax, qword [rcx + 8]
mov rbx, rcx
cmp rax, qword [rcx]
jne 0x140035bdd
mov eax, 2
add rsp, 0x2a8
pop rbx
pop rbp
ret
test rdx, rdx
je 0x140036243
cmp byte [rdx], 0
je 0x140036243
cmp qword [rcx + 0x28], 0
jne 0x140035c05
mov eax, 0xa
add rsp, 0x2a8
pop rbx
pop rbp
ret
cmp qword [rcx + 0x30], 0x10
lea r9, [rcx + 0x18]
mov qword [rsp + 0x290], r13
mov qword [rsp + 0x288], r14
mov qword [rsp + 0x280], r15
jb 0x140035c2b
mov r9, qword [r9]
mov qword [rsp + 0x2c8], rsi
lea rcx, [rbp + 0x150]
mov r8, rdx
mov qword [rsp + 0x2a0], rdi
lea rdx, str._s_api_v2_projects__s_reports
mov qword [rsp + 0x298], r12
call fcn.14000fe70
mov rax, qword [rbp + 0x150]
lea r14, [rbp + 0x158]
mov r8, qword [0x1400ab570]
lea rcx, [rsp + 0x60]
test rax, rax
xorps xmm0, xmm0
mov rdx, rbx
cmovne r14, rax
xor r13d, r13d
mov qword [rsp + 0x70], r13
movdqu xmmword [rsp + 0x60], xmm0
call fcn.140034ba0
mov r15, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, r15
sub rax, rcx
cmp rax, 0x7fffffff
jbe 0x140035cb4
lea r14d, [r13 + 9]
jmp 0x1400361b9
sub r15d, ecx
mov rdx, r14
lea rcx, [rbp + 0x80]
mov r12d, r15d
call fcn.14002fde0
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
lea rcx, str.UnityCrashHandler
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
jne 0x140035d08
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_open_the_Internet_with_code__d_n
call fcn.140002850
lea r14d, [rsi + 8]
jmp 0x14003619f
cmp qword [rbp + 0xf0], r13
jne 0x140035d16
mov rax, r13
jmp 0x140035d2d
cmp qword [rbp + 0xf8], 0x10
lea rax, [rbp + 0xe0]
cmovae rax, qword [rbp + 0xe0]
cmp qword [rbp + 0xd0], r13
jne 0x140035d3b
mov r9, r13
jmp 0x140035d52
cmp qword [rbp + 0xd8], 0x10
lea r9, [rbp + 0xc0]
cmovae r9, qword [rbp + 0xc0]
cmp qword [rbp + 0xb8], 0x10
lea rdx, [rbp + 0xa0]
movzx r8d, word [rbp + 0x140]
mov rcx, rsi
cmovae rdx, qword [rbp + 0xa0]
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rax
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rdi, rax
test rax, rax
jne 0x140035db6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, r14
lea rcx, str.Failed_to_open_internet_session_to_server__s__code__d__n
mov r8d, eax
call fcn.140002850
jmp 0x140036190
mov r8, qword [rbp + 0x98]
lea rax, [rbp + 0x80]
mov rcx, qword [rbp + 0x80]
cmp r8, 0x10
cmovae rax, rcx
cmp qword [rbp + 0x90], 5
jne 0x140036175
cmp dword [rax], 0x70747468
jne 0x140036175
cmp byte [rax + 4], 0x73
jne 0x140036175
cmp qword [rbp + 0x118], 0x10
lea r8, [rbp + 0x100]
mov qword [rsp + 0x38], r13
lea r9, str.HTTP_1.1
cmovae r8, qword [rbp + 0x100]
lea rdx, str.POST
mov dword [rsp + 0x30], 0x4880200
mov rcx, rdi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rbx, rax
test rax, rax
jne 0x140035e6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, r14
lea rcx, str.Failed_to_open_HTTP_request_to_server__s__code__d__n
mov r8d, eax
call fcn.140002850
mov rcx, rbx
lea r14d, [rbx + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140036196
lea rax, [0x140087610]
xor r8d, r8d
mov qword [rbp - 0x80], rax
lea rdx, [rbp - 0x68]
lea rax, [0x140087618]
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x80]
lea rax, [0x140086700]
mov qword [rbp + 0x18], rax
call fcn.14002f7a0
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [0x140087608]
mov qword [rbp + rcx - 0x80], rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [0x140087518]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x7c], edx
mov ecx, 0x10
mov qword [rbp - 0x68], rax
call fcn.1400028b0
mov r13, rax
test rax, rax
je 0x140035eef
mov cl, 1
call fcn.14003f74c
mov qword [r13 + 8], rax
jmp 0x140035ef2
xor r13d, r13d
lea rax, [rbp - 0x60]
mov qword [rbp - 8], r13
mov qword [rbp - 0x50], rax
lea rdx, str.Content_Type:_multipart_form_data__boundary
xor r13d, r13d
lea rax, [rbp - 0x58]
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x70]
lea rax, [rbp - 0x40]
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x1c]
mov qword [rbp - 0x10], rax
lea rax, [0x140087590]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x40], r13
mov qword [rbp], r13
mov dword [rbp + 8], r13d
call fcn.14002d660
mov rdx, qword [0x1400ab570]
mov rcx, rax
call fcn.14002d660
mov rcx, rax
lea rdx, [0x140083860]
call fcn.14002d660
lea rdx, str.Content_Length:
lea rcx, [rbp - 0x70]
call fcn.14002d660
mov edx, r15d
mov rcx, rax
call fcn.140030a40
mov rcx, rax
lea rdx, [0x140083860]
call fcn.14002d660
mov ecx, dword [rbp + 8]
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], r13b
test cl, 2
jne 0x140035fe4
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
test r8, r8
je 0x140035fe4
cmp r8, qword [rbp]
mov rax, qword [rbp - 0x48]
cmovb r8, qword [rbp]
mov rdx, qword [rax]
sub r8, rdx
jmp 0x140036009
test cl, 4
jne 0x140036013
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
test rcx, rcx
je 0x140036013
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x18]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
lea rcx, [rsp + 0x40]
call fcn.140010890
cmp qword [rsp + 0x58], 0x10
lea rdx, [rsp + 0x40]
mov r9, qword [rsp + 0x60]
mov rcx, rbx
cmovae rdx, qword [rsp + 0x40]
mov r8d, dword [rsp + 0x50]
mov dword [rsp + 0x20], r15d
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x14003605b
lea r15, str.Failed_to_upload__u_bytes_to_server__s__code__d__n
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, r12d
mov rcx, r15
mov r9d, eax
jmp 0x140036103
lea rax, [rbp + 0x1d0]
mov dword [rbp + 0x1c0], r13d
lea r9, [rbp + 0x1d8]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x1c0]
mov dword [rbp + 0x1d8], 4
mov edx, 0x20000013
mov dword [rbp + 0x1d0], r13d
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x1400360b7
lea r15, str.Upload_of__u_bytes_to_server__s_completed__but_received_no_response__Win32_code__d__n
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, r12d
mov rcx, r15
mov r9d, eax
jmp 0x140036103
mov eax, dword [rbp + 0x1d0]
test eax, eax
je 0x1400360e1
cmp eax, 0x2f76
je 0x1400360e1
mov r9d, dword [rbp + 0x1c0]
lea rcx, str.Warning:_Upload_of__u_bytes_to_server__s_completed__but_received_multiple_status_codes___first_code:__u__n
mov r8, r14
mov edx, r15d
call fcn.140002850
mov r9d, dword [rbp + 0x1c0]
lea eax, [r9 - 0xc8]
cmp eax, 0x63
ja 0x1400360f9
mov r14d, r13d
jmp 0x140036111
mov edx, r15d
lea rcx, str.Upload_of__u_bytes_to_server__s_completed__the_server_responded_with_code__u_n
mov r8, r14
call fcn.140002850
mov r14d, 8
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14003614e
mov rcx, qword [rsp + 0x40]
inc rdx
cmp rdx, 0x1000
jb 0x140036149
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140036252
mov rcx, r8
call fcn.14003e23c
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], r13b
call fcn.140030c00
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140036196
cmp r8, 0x10
lea rdx, [rbp + 0x80]
cmovae rdx, rcx
lea rcx, str.Invalid_URL_scheme__s__expected_https_._n
call fcn.140002850
mov r14d, 8
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, [rbp + 0x80]
call fcn.140030840
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400361fa
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400361e7
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140036252
mov rcx, r8
call fcn.14003e23c
xorps xmm0, xmm0
mov qword [rsp + 0x70], r13
movdqu xmmword [rsp + 0x60], xmm0
lea rcx, [rbp + 0x150]
call fcn.140002610
mov rdi, qword [rsp + 0x2a0]
mov eax, r14d
mov r14, qword [rsp + 0x288]
mov r12, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x2c8]
mov r13, qword [rsp + 0x290]
mov r15, qword [rsp + 0x280]
add rsp, 0x2a8
pop rbx
pop rbp
ret
mov eax, 7
add rsp, 0x2a8
pop rbx
pop rbp
ret
call fcn.14004bd18
int3