Function at 0x42003d
Capabilities:
Connect to http server
Create http request
Send data
Send http request
Send http request with host header

Disassembly:
push ebp
sub esp, 0x5c
lea ebp, [esp - 4]
mov eax, dword [0x4b4970]
xor eax, ebp
mov dword [ebp + 0x5c], eax
push 0x28
mov eax, 0x489547
call fcn.00454dca
mov eax, dword [ebp + 0x68]
mov esi, dword [ebp + 0x78]
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebp + 0x20], eax
mov eax, dword [ebp + 0x74]
push 0x4b6d04
lea ecx, [ebp + 0x28]
mov dword [ebp + 0x34], eax
call fcn.0041acdf
mov eax, dword [esi + 0x18]
push esi
push dword [eax]
xor ebx, ebx
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], ebx
call fcn.0043d314
jmp 0x4200c2
lea ecx, [ebp + 0x18]
call fcn.00427cf4
mov edi, dword [eax + 4]
lea ecx, [ebp + 0x18]
call fcn.00427cf4
mov eax, dword [eax]
push edi
push eax
lea eax, [ebp + 0x28]
push str.____MULTI_PARTS_FORM_DATA_BOUNDARY_r_nContent_Disposition:_form_data__name__s___r_n_r_n_s_r_n
push eax
call fcn.0041f8db
add esp, 0x10
lea ecx, [ebp + 0x18]
call fcn.0042f71d
push esi
push dword [esi + 0x18]
lea ecx, [ebp + 0x10]
call fcn.0043d314
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp + 0x18]
call fcn.0041f58d
test al, al
je 0x420092
push dword [esi + 0x28]
lea eax, [ebp + 0x28]
push str.____MULTI_PARTS_FORM_DATA_BOUNDARY_r_nContent_Disposition:_form_data__name_userfile___filename__s___r_nContent_Type:_application_x_gzip_r_n_r_n
push eax
call fcn.0041f8db
add esp, 0xc
push str._r_n____MULTI_PARTS_FORM_DATA_BOUNDARY___r_n
lea ecx, [ebp + 0xc]
call fcn.0041b9b2
push ebx
lea ecx, [ebp + 0x40]
mov dword [ebp + 0x58], 0xf
call fcn.00403fe0
mov eax, dword [ebp + 0x28]
push dword [eax - 0xc]
lea ecx, [ebp + 0x40]
push eax
mov byte [ebp - 4], 2
call fcn.0040b940
push dword [esi + 0x24]
lea ecx, [ebp + 0x40]
push dword [esi + 0x20]
call fcn.0040b940
mov eax, dword [ebp + 0xc]
push dword [eax - 0xc]
lea ecx, [ebp + 0x40]
push eax
call fcn.0040b940
push ebx
push ebx
push ebx
push ebx
push str.report
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, ebx
jne 0x4201aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x420168
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push ebx
push 1
lea ecx, [ebp + 0x40]
call fcn.00404000
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0041a963
mov ecx, dword [ebp + 0x28]
add ecx, 0xfffffff0
call fcn.0041a963
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5c]
xor ecx, ebp
call fcn.0045466b
add ebp, 0x60
leave
ret
mov ecx, edi
lea eax, [ebp + 0x30]
call fcn.00436ac5
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea eax, [ebp + 0x2c]
push eax
push 2
push edi
mov byte [ebp - 4], 3
mov dword [ebp + 0x2c], 0x1388
call esi
push 4
lea eax, [ebp + 0x2c]
push eax
push 5
push edi
call esi
push 4
lea eax, [ebp + 0x2c]
push eax
push 5
push edi
call esi
push 4
lea eax, [ebp + 0x2c]
push eax
push 6
push edi
call esi
push 4
lea eax, [ebp + 0x2c]
push eax
push 6
push edi
call esi
push dword [ebp + 0x3c]
lea ecx, [ebp + 0x3c]
call fcn.0041b714
mov eax, dword [eax]
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp + 0x70]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [ebp + 0x3c]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0041a963
cmp esi, ebx
jne 0x42024e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42023f
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea eax, [ebp + 0x30]
call fcn.0041f575
jmp 0x42016a
mov ecx, esi
lea eax, [ebp + 0x24]
call fcn.00436ac5
push dword [ebp + 0x34]
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 4
mov dword [ebp], 0x494bb8
mov dword [ebp + 4], ebx
call fcn.0041b714
mov eax, dword [eax]
push ebx
push 0x4400040
lea ecx, [ebp]
push ecx
push ebx
push str.HTTP_1.0
push eax
push 0x494ba4
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ecx, dword [ebp + 0x14]
mov esi, eax
add ecx, 0xfffffff0
mov dword [ebp + 0x38], esi
call fcn.0041a963
cmp esi, ebx
jne 0x4202c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x4202b8
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea eax, [ebp + 0x24]
call fcn.0041f575
jmp 0x420241
mov ecx, esi
lea eax, [ebp + 0x34]
call fcn.00436ac5
push dword [ebp + 0x20]
lea eax, [ebp + 0x20]
push str.Host:__S_r_n
push eax
mov byte [ebp - 4], 5
call fcn.0041f857
add esp, 0xc
mov edi, 0xa0000000
push edi
push 0xffffffffffffffff
push dword [eax]
push esi
mov esi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
call esi
mov ecx, dword [ebp + 0x20]
add ecx, 0xfffffff0
call fcn.0041a963
push edi
push 0xffffffffffffffff
push str.Accept:___r_n
push dword [ebp + 0x38]
call esi
push edi
push 0xffffffffffffffff
push str.Content_Type:_multipart_form_data__boundary__MULTI_PARTS_FORM_DATA_BOUNDARY_r_n
push dword [ebp + 0x38]
call esi
push dword [ebp + 0x54]
lea eax, [ebp + 0x1c]
push str.Content_Length:__d_r_n
push eax
call fcn.0041f857
add esp, 0xc
push edi
push 0xffffffffffffffff
push dword [eax]
push dword [ebp + 0x38]
call esi
mov ecx, dword [ebp + 0x1c]
add ecx, 0xfffffff0
call fcn.0041a963
push 0xa
pop ecx
xor eax, eax
push ebx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x54]
push ebx
mov dword [ebp - 0x18], eax
push ebx
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x38]
mov dword [ebp - 0x34], 0x28
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x420398
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x420389
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea eax, [ebp + 0x34]
call fcn.0041f575
jmp 0x4202ba
mov ecx, dword [ebp + 0x38]
lea eax, [ebp + 0x3c]
call fcn.00436ac5
cmp dword [ebp + 0x58], 0x10
mov eax, dword [ebp + 0x44]
mov dword [ebp + 8], ebx
jae 0x4203b2
lea eax, [ebp + 0x44]
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 0x54]
push eax
push dword [ebp + 0x38]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x4203e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x4203db
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea eax, [ebp + 0x3c]
call fcn.0041f57e
jmp 0x42038b
lea eax, [ebp + 0x3c]
call fcn.0041f57e
lea eax, [ebp + 0x34]
call fcn.0041f575
lea eax, [ebp + 0x24]
call fcn.0041f575
lea eax, [ebp + 0x30]
call fcn.0041f575
xor esi, esi
jmp 0x42016a