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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
push esi
mov esi, ecx
mov eax, dword [esi + 4]
sub eax, dword [esi]
jne 0x42c92f
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x42cea0
cmp byte [ecx], 0
je 0x42cea0
cmp dword [esi + 0x1c], 0
jne 0x42c955
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x20], 0x10
lea eax, [esi + 0xc]
jb 0x42c960
mov eax, dword [eax]
push ebx
push eax
push ecx
lea eax, [ebp - 0x124]
push str._s_api_v2_projects__s_reports
push eax
call fcn.0040e0c0
mov eax, dword [ebp - 0x124]
lea ebx, [ebp - 0x120]
push dword [0x48a0c0]
test eax, eax
mov dword [ebp - 0x18], 0
push esi
cmovne ebx, eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], 0
push eax
call fcn.0042bd70
mov eax, dword [ebp - 0x14]
add esp, 0x1c
sub eax, dword [ebp - 0x18]
mov dword [ebp + 8], eax
cmp eax, 0x7fffffff
jbe 0x42c9c7
mov ebx, 9
jmp 0x42ce83
xor eax, eax
mov dword [ebp - 0xf8], 0
mov word [ebp - 0x78], ax
xorps xmm0, xmm0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push ebx
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x44], xmm0
mov dword [ebp - 0x5c], 0x3c
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x24], 1
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x42cb34
push dword [ebp - 0x54]
lea ecx, [ebp - 0x108]
push dword [ebp - 0x58]
call fcn.0040ed00
push dword [ebp - 0x48]
lea ecx, [ebp - 0xf0]
push dword [ebp - 0x4c]
call fcn.0040ed00
push dword [ebp - 0x3c]
lea ecx, [ebp - 0xd8]
push dword [ebp - 0x40]
call fcn.0040ed00
push dword [ebp - 0x34]
lea ecx, [ebp - 0xc0]
push dword [ebp - 0x38]
call fcn.0040ed00
push dword [ebp - 0x2c]
lea ecx, [ebp - 0xa8]
push dword [ebp - 0x30]
call fcn.0040ed00
push dword [ebp - 0x24]
lea ecx, [ebp - 0x90]
push dword [ebp - 0x28]
call fcn.0040ed00
mov ax, word [ebp - 0x44]
mov word [ebp - 0x78], ax
push edi
push 0
push 0
push 0
push 0
push str.UnityCrashHandler
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x42cb6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_open_the_Internet_with_code__d_n
call fcn.00401c40
add esp, 8
lea ebx, [edi + 8]
jmp 0x42ce70
cmp dword [ebp - 0xb0], 0
jne 0x42cb77
xor ecx, ecx
jmp 0x42cb8b
cmp dword [ebp - 0xac], 0x10
lea ecx, [ebp - 0xc0]
cmovae ecx, dword [ebp - 0xc0]
cmp dword [ebp - 0xc8], 0
jne 0x42cb98
xor edx, edx
jmp 0x42cbac
cmp dword [ebp - 0xc4], 0x10
lea edx, [ebp - 0xd8]
cmovae edx, dword [ebp - 0xd8]
cmp dword [ebp - 0xdc], 0x10
lea eax, [ebp - 0xf0]
push 0
cmovae eax, dword [ebp - 0xf0]
push 0
push 3
push ecx
push edx
push dword [ebp - 0x78]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
jne 0x42cbf9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.Failed_to_open_internet_session_to_server__s__code__d__n
call fcn.00401c40
add esp, 0xc
lea ebx, [esi + 8]
jmp 0x42ce69
cmp dword [ebp - 0xf4], 0x10
lea eax, [ebp - 0x108]
push 5
cmovae eax, dword [ebp - 0x108]
push str.https
push dword [ebp - 0xf8]
push eax
call fcn.00415250
add esp, 0x10
test al, al
jne 0x42cc53
cmp dword [ebp - 0xf4], 0x10
lea eax, [ebp - 0x108]
cmovae eax, dword [ebp - 0x108]
push eax
push str.Invalid_URL_scheme__s__expected_https_._n
call fcn.00401c40
add esp, 8
mov ebx, 8
jmp 0x42ce69
cmp dword [ebp - 0x94], 0x10
lea eax, [ebp - 0xa8]
push 0
cmovae eax, dword [ebp - 0xa8]
push 0x4880200
push 0
push 0
push str.HTTP_1.1
push eax
push str.POST
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
jne 0x42cca7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.Failed_to_open_HTTP_request_to_server__s__code__d__n
call fcn.00401c40
add esp, 0xc
lea ebx, [esi + 8]
jmp 0x42ce5f
push 1
push 3
lea ecx, [ebp - 0x1d4]
call fcn.00427230
lea eax, [ebp - 0x1c4]
push str.Content_Type:_multipart_form_data__boundary
push eax
call fcn.004250f0
add esp, 8
push 0x46c460
push dword [0x48a0c0]
push eax
call fcn.004250f0
add esp, 8
push eax
call fcn.004250f0
lea eax, [ebp - 0x1c4]
push str.Content_Length:
push eax
call fcn.004250f0
add esp, 0x10
mov ecx, eax
push 0x46c460
push dword [ebp + 8]
call fcn.00427cf0
push eax
call fcn.004250f0
mov ecx, dword [ebp - 0x180]
add esp, 8
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
test cl, 2
jne 0x42cd52
mov eax, dword [ebp - 0x19c]
mov edx, dword [eax]
test edx, edx
je 0x42cd52
mov eax, dword [ebp - 0x1ac]
cmp edx, dword [ebp - 0x184]
cmovb edx, dword [ebp - 0x184]
mov ecx, dword [eax]
sub edx, ecx
jmp 0x42cd75
test cl, 4
jne 0x42cd7f
mov eax, dword [ebp - 0x1a0]
mov edx, dword [eax]
test edx, edx
je 0x42cd7f
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax]
sub edx, ecx
mov eax, dword [ebp - 0x190]
add edx, dword [eax]
push edx
push ecx
lea ecx, [ebp - 0x74]
call fcn.0040ed00
push dword [ebp + 8]
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0x74]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x74]
push dword [ebp - 0x64]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x42cdb9
mov dword [ebp - 8], str.Failed_to_upload__u_bytes_to_server__s__code__d__n
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
jmp 0x42ce3f
lea eax, [ebp - 0xc]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 0
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x42ce01
mov dword [ebp - 8], str.Upload_of__u_bytes_to_server__s_completed__but_received_no_response__Win32_code__d__n
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
jmp 0x42ce3f
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x42ce23
cmp eax, 0x2f76
je 0x42ce23
push dword [ebp - 4]
push ebx
push dword [ebp + 8]
push str.Warning:_Upload_of__u_bytes_to_server__s_completed__but_received_multiple_status_codes___first_code:__u__n
call fcn.00401c40
add esp, 0x10
mov ecx, dword [ebp - 4]
lea eax, [ecx - 0xc8]
cmp eax, 0x63
ja 0x42ce35
xor ebx, ebx
jmp 0x42ce4c
push ecx
push ebx
push dword [ebp + 8]
push str.Upload_of__u_bytes_to_server__s_completed__the_server_responded_with_code__u_n
call fcn.00401c40
add esp, 0x10
mov ebx, 8
lea ecx, [ebp - 0x74]
call fcn.0040df90
lea ecx, [ebp - 0x1d4]
call fcn.00428070
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [ebp - 0x20]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x108]
call fcn.00427b10
pop edi
lea ecx, [ebp - 0x18]
call fcn.004169f0
lea ecx, [ebp - 0x124]
call fcn.00401a80
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, 7
pop esi
mov esp, ebp
pop ebp
ret 4