Function at 0x14001a8f0
Capabilities:
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push rbp
push r15
lea rbp, [rsp - 0x208]
sub rsp, 0x308
mov rax, qword [rcx + 8]
mov r15, rdx
cmp rax, qword [rcx]
jne 0x14001a91f
mov eax, 2
add rsp, 0x308
pop r15
pop rbp
ret
test r15, r15
je 0x14001af43
cmp byte [rdx], 0
je 0x14001af43
mov r8, qword [0x140078080]
mov rdx, rcx
mov qword [rsp + 0x2f0], r12
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x2e0], r14
xor r14d, r14d
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
call fcn.140018da0
mov r12, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x80]
mov rax, r12
sub rax, rcx
cmp rax, 0x7fffffff
jbe 0x14001a984
mov r14d, 9
jmp 0x14001af1c
mov qword [rsp + 0x2f8], rdi
mov qword [rsp + 0x2e8], r13
movdqa xmm0, xmmword [0x14005a0a0]
xor edx, edx
sub r12d, ecx
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmm0
mov byte [rbp - 0x60], r14b
lea rcx, [rbp + 0x70]
movdqa xmmword [rbp - 0x30], xmm0
lea r8d, [rdx + 0x68]
mov byte [rbp - 0x40], r14b
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], r14b
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], 0xf
mov byte [rbp], r14b
movdqa xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], r14b
movdqa xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], r14b
mov word [rbp + 0x60], r14w
call fcn.140038450
lea r9, [rbp + 0x70]
mov dword [rbp + 0x70], 0x68
xor r8d, r8d
mov dword [rbp + 0x80], 1
xor edx, edx
mov dword [rbp + 0x90], 1
mov rcx, r15
mov dword [rbp + 0xa0], 1
mov dword [rbp + 0xb0], 1
mov dword [rbp + 0xc0], 1
mov dword [rbp + 0xd0], 1
call qword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x14001aaea
mov r8d, dword [rbp + 0x80]
lea rcx, [rbp - 0x60]
mov rdx, qword [rbp + 0x78]
call fcn.14000b320
mov r8d, dword [rbp + 0x90]
lea rcx, [rbp - 0x40]
mov rdx, qword [rbp + 0x88]
call fcn.14000b320
mov r8d, dword [rbp + 0xa0]
lea rcx, [rbp - 0x20]
mov rdx, qword [rbp + 0x98]
call fcn.14000b320
mov r8d, dword [rbp + 0xb0]
lea rcx, [rbp]
mov rdx, qword [rbp + 0xa8]
call fcn.14000b320
mov r8d, dword [rbp + 0xc0]
lea rcx, [rbp + 0x20]
mov rdx, qword [rbp + 0xb8]
call fcn.14000b320
mov r8d, dword [rbp + 0xd0]
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0xc8]
call fcn.14000b320
movzx eax, word [rbp + 0x94]
mov word [rbp + 0x60], ax
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rcx, str.UnityCrashHandler
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
test rax, rax
jne 0x14001ab29
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_open_the_Internet_with_code__d_n
call fcn.140001e00
lea r14d, [rdi + 8]
jmp 0x14001aecd
mov qword [rsp + 0x300], rsi
cmp qword [rbp + 0x10], r14
jne 0x14001ab3c
mov rax, r14
jmp 0x14001ab4a
cmp qword [rbp + 0x18], 0x10
lea rax, [rbp]
cmovae rax, qword [rbp]
cmp qword [rbp - 0x10], r14
jne 0x14001ab55
mov r9, r14
jmp 0x14001ab63
cmp qword [rbp - 8], 0x10
lea r9, [rbp - 0x20]
cmovae r9, qword [rbp - 0x20]
cmp qword [rbp - 0x28], 0x10
lea rdx, [rbp - 0x40]
movzx r8d, word [rbp + 0x60]
mov rcx, rdi
cmovae rdx, qword [rbp - 0x40]
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rax
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rsi, rax
test rax, rax
jne 0x14001abbb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, r15
lea rcx, str.Failed_to_open_internet_session_to_server__s__code__d__n
mov r8d, eax
call fcn.140001e00
jmp 0x14001aeb6
mov r9, qword [rbp - 0x48]
lea rcx, [rbp - 0x60]
mov r8, qword [rbp - 0x60]
cmp r9, 0x10
cmovae rcx, r8
cmp qword [rbp - 0x50], 5
jne 0x14001ae9e
mov eax, dword [rcx]
cmp eax, dword [str.https]
jne 0x14001ae9e
movzx eax, byte [rcx + 4]
cmp al, byte [0x140058638]
jne 0x14001ae9e
mov qword [rsp + 0x328], rbx
cmp qword [rbp + 0x38], 0x10
lea r8, [rbp + 0x20]
mov qword [rsp + 0x38], r14
lea r9, str.HTTP_1.1
cmovae r8, qword [rbp + 0x20]
lea rdx, str.POST
mov dword [rsp + 0x30], 0x4880200
mov rcx, rsi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rbx, rax
test rax, rax
jne 0x14001ac65
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, r15
lea rcx, str.Failed_to_open_HTTP_request_to_server__s__code__d__n
mov r8d, eax
call fcn.140001e00
lea r14d, [rbx + 8]
jmp 0x14001ae8b
mov edx, 3
lea rcx, [rbp + 0xe0]
lea r8d, [rdx - 2]
call fcn.140011310
lea rdx, str.Content_Type:_multipart_form_data__boundary
lea rcx, [rbp + 0xf0]
call fcn.14000b6e0
mov rdx, qword [0x140078080]
mov rcx, rax
call fcn.14000b6e0
mov rcx, rax
lea rdx, [0x140056770]
call fcn.14000b6e0
lea rdx, str.Content_Length:
lea rcx, [rbp + 0xf0]
call fcn.14000b6e0
mov rcx, rax
mov edx, r12d
call fcn.140012a00
mov rcx, rax
lea rdx, [0x140056770]
call fcn.14000b6e0
mov rdx, qword [rbp + 0x168]
test dl, 2
jne 0x14001ad37
mov rax, qword [rbp + 0x138]
mov rcx, qword [rax]
test rcx, rcx
je 0x14001ad37
mov r8, qword [rbp + 0x160]
mov rax, qword [rbp + 0x118]
cmp r8, rcx
cmovb r8, rcx
mov rdx, qword [rax]
sub r8, rdx
movdqa xmm0, xmmword [0x14005a0a0]
lea rcx, [rsp + 0x40]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], r14b
call fcn.14000b320
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x70], xmm1
jmp 0x14001ad79
test dl, 4
jne 0x14001ad67
mov rax, qword [rbp + 0x130]
mov rcx, qword [rax]
test rcx, rcx
je 0x14001ad67
mov rax, qword [rbp + 0x110]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x148]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14001ad0e
movdqa xmm1, xmmword [0x14005a0a0]
movups xmmword [rsp + 0x70], xmm1
mov byte [rsp + 0x40], r14b
movups xmm0, xmmword [rsp + 0x40]
cmp qword [rsp + 0x78], 0x10
lea rdx, [rsp + 0x60]
mov r9, qword [rbp - 0x80]
mov rcx, rbx
mov r8d, dword [rsp + 0x70]
movups xmmword [rsp + 0x60], xmm0
cmovae rdx, qword [rsp + 0x60]
mov dword [rsp + 0x20], r12d
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x14001adc7
lea r14, str.Failed_to_upload__u_bytes_to_server__s__code__d__n
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov rcx, r14
jmp 0x14001ae64
lea rax, [rbp + 0x230]
mov dword [rbp + 0x220], r14d
lea r9, [rbp + 0x238]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x220]
mov dword [rbp + 0x238], 4
mov edx, 0x20000013
mov dword [rbp + 0x230], r14d
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x14001ae20
lea r14, 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 r9d, eax
mov rcx, r14
jmp 0x14001ae64
mov eax, dword [rbp + 0x230]
test eax, eax
je 0x14001ae4a
cmp eax, 0x2f76
je 0x14001ae4a
mov r9d, dword [rbp + 0x220]
lea rcx, str.Warning:_Upload_of__u_bytes_to_server__s_completed__but_received_multiple_status_codes___first_code:__u__n
mov r8, r15
mov edx, r12d
call fcn.140001e00
mov r9d, dword [rbp + 0x220]
lea eax, [r9 - 0xc8]
cmp eax, 0x63
jbe 0x14001ae75
lea rcx, str.Upload_of__u_bytes_to_server__s_completed__the_server_responded_with_code__u_n
mov r8, r15
mov edx, r12d
call fcn.140001e00
mov r14d, 8
lea rcx, [rsp + 0x60]
call fcn.140007870
lea rcx, [rbp + 0xe0]
call fcn.140012c90
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rbx, qword [rsp + 0x328]
jmp 0x14001aebc
cmp r9, 0x10
lea rdx, [rbp - 0x60]
lea rcx, str.Invalid_URL_scheme__s__expected_https_._n
cmovae rdx, r8
call fcn.140001e00
mov r14d, 8
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rsi, qword [rsp + 0x300]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, [rbp + 0x40]
call fcn.140007870
lea rcx, [rbp + 0x20]
call fcn.140007870
lea rcx, [rbp]
call fcn.140007870
lea rcx, [rbp - 0x20]
call fcn.140007870
lea rcx, [rbp - 0x40]
call fcn.140007870
lea rcx, [rbp - 0x60]
call fcn.140007870
mov r13, qword [rsp + 0x2e8]
mov rdi, qword [rsp + 0x2f8]
lea rcx, [rbp - 0x80]
call fcn.1400246c0
mov r12, qword [rsp + 0x2f0]
mov eax, r14d
mov r14, qword [rsp + 0x2e0]
add rsp, 0x308
pop r15
pop rbp
ret
mov eax, 7
add rsp, 0x308
pop r15
pop rbp
ret