Function at 0x402050
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x7c44
call fcn.005043d0
mov eax, dword [0x56f360]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0xff
lea eax, [ebp - 0x107]
push ebx
push eax
mov edi, ecx
mov dword [ebp - 0x7c18], 0x550cb8
mov dword [ebp - 0x7c14], ebx
mov byte [ebp - 0x108], bl
call fcn.00500fb0
push 0x1ff
lea ecx, [ebp - 0x407]
push ebx
push ecx
mov byte [ebp - 0x408], bl
call fcn.00500fb0
push 0xff
lea edx, [ebp - 0x207]
push ebx
push edx
mov byte [ebp - 0x208], bl
call fcn.00500fb0
add esp, 0x24
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
push esi
push str._________________________
push str._s_d
lea eax, [ebp - 0x108]
push 0x100
push eax
call fcn.004fdb20
lea ecx, [ebp - 0x108]
push ecx
push str.Content_Type:_multipart_form_data__boundary
push str._s_s_r_n
lea edx, [ebp - 0x408]
push 0x200
push edx
call fcn.004fdb20
push esi
push str._________________________
push str._s_d
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.004fdb20
add esp, 0x3c
lea edx, [ebp - 0x208]
lea ecx, [ebp - 0x7c0c]
mov dword [ebp - 0x7c0c], ebx
call fcn.00402520
mov edx, dword [0x586404]
push ebx
push 0x4400040
lea ecx, [ebp - 0x7c18]
push ecx
push edx
push str.HTTP_1.0
push edi
mov esi, eax
mov eax, dword [0x5863f8]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [0x5863fc], eax
cmp eax, ebx
jne 0x4021aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x586400], eax
mov eax, dword [ebp - 0x7c0c]
cmp eax, ebx
je 0x402197
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fd9f8
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push SysReAllocString
push 0xae
push str.Accept:_image_gif__image_x_xbitmap__image_jpeg__image_pjpeg__application_x_shockwave_flash__application_vnd.ms_excel__application_vnd.ms_powerpoint__application_msword____r_n
push eax
call edi
test eax, eax
je 0x40217b
lea eax, [ebp - 0x408]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4021d0
push 0x10000000
sub eax, edx
mov edx, dword [0x5863fc]
push eax
lea ecx, [ebp - 0x408]
push ecx
push edx
call edi
test eax, eax
je 0x40217b
push 0x7800
lea eax, [ebp - 0x7c08]
push ebx
push eax
call fcn.00500fb0
push esi
push str.Content_Length:__d_r_n
lea ecx, [ebp - 0x7c08]
push 0x7800
push ecx
call fcn.004fdb20
lea eax, [ebp - 0x7c08]
add esp, 0x1c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402228
sub eax, edx
push 0x10000000
push eax
mov eax, dword [0x5863fc]
lea edx, [ebp - 0x7c08]
push edx
push eax
call edi
test eax, eax
je 0x40217b
mov edx, dword [0x5863fc]
push ebx
xor eax, eax
push 8
push ebx
lea ecx, [ebp - 0x7c40]
push ecx
mov dword [ebp - 0x7c3c], eax
push edx
mov dword [ebp - 0x7c38], eax
mov dword [ebp - 0x7c34], eax
mov dword [ebp - 0x7c30], eax
mov dword [ebp - 0x7c2c], eax
mov dword [ebp - 0x7c28], eax
mov dword [ebp - 0x7c24], eax
mov dword [ebp - 0x7c20], eax
mov dword [ebp - 0x7c1c], eax
mov dword [ebp - 0x7c40], 0x28
mov dword [ebp - 0x7c3c], ebx
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4022ca
call edi
mov dword [0x586400], eax
cmp eax, 0x2f88
jne 0x402186
mov ecx, dword [0x5863fc]
lea eax, [ebp - 0x7c10]
push eax
push esi
mov esi, dword [ebp - 0x7c0c]
push esi
push ecx
mov dword [ebp - 0x7c10], ebx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x40231c
call edi
mov dword [0x586400], eax
cmp eax, 0x2f88
je 0x40231c
cmp esi, ebx
je 0x402309
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fd9f8
mov esp, ebp
pop ebp
ret
mov edx, dword [0x5863fc]
push ebx
push 8
push ebx
push edx
call dword [sym.imp.WININET.dll_HttpEndRequestA]
test eax, eax
jne 0x40233f
call edi
mov dword [0x586400], eax
cmp eax, 0x2f88
jne 0x4022fe
cmp esi, ebx
je 0x40234a
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004fd9f8
mov esp, ebp
pop ebp
ret