Function at 0x401d60
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x7b44
call fcn.005043d0
mov eax, dword [0x56f360]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xff
lea eax, [ebp - 0x107]
push 0
push eax
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0x7b1c], str.Accept:_text_html_application_xhtmlxml_application_xml_q0.9___q0.8
mov dword [ebp - 0x7b18], 0x550cb8
mov dword [ebp - 0x7b14], 0
mov byte [ebp - 0x108], 0
call fcn.00500fb0
push 0x1ff
lea ecx, [ebp - 0x307]
push 0
push ecx
mov byte [ebp - 0x308], 0
call fcn.00500fb0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
push str._________________________
push str._s_I64d
lea ecx, [ebp - 0x108]
push 0x100
push ecx
call fcn.004fdb20
lea edx, [ebp - 0x108]
push edx
push str.Content_Type:_multipart_form_data__boundary
push str._s_s_r_n
lea eax, [ebp - 0x308]
push 0x200
push eax
call fcn.004fdb20
mov eax, esi
add esp, 0x44
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401e20
sub eax, edx
mov edi, eax
lea ecx, [edi + 0xa]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edi
push esi
push eax
mov dword [ebp - 0x7b10], eax
call fcn.00503a10
mov eax, dword [0x586404]
mov ecx, dword [0x5863f8]
add esp, 0xc
xor esi, esi
push esi
push 0x4400040
lea edx, [ebp - 0x7b1c]
push edx
push eax
push str.HTTP_1.0
push ebx
push str.POST
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [0x5863fc], eax
cmp eax, esi
jne 0x401e9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x586400], eax
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 8
mov ebx, 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 ebx
test eax, eax
je 0x401e7e
lea eax, [ebp - 0x308]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401ec3
sub eax, edx
push 0x10000000
push eax
mov eax, dword [0x5863fc]
lea edx, [ebp - 0x308]
push edx
push eax
call ebx
test eax, eax
je 0x401e7e
push 0x7800
lea ecx, [ebp - 0x7b08]
push esi
push ecx
call fcn.00500fb0
push edi
push str.Content_Length:__d_r_n
lea edx, [ebp - 0x7b08]
push 0x7800
push edx
call fcn.004fdb20
lea eax, [ebp - 0x7b08]
add esp, 0x1c
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401f20
mov ecx, dword [0x5863fc]
push 0x10000000
sub eax, edx
push eax
lea eax, [ebp - 0x7b08]
push eax
push ecx
call ebx
test eax, eax
je 0x401e7e
xor eax, eax
push esi
push 8
push esi
mov dword [ebp - 0x7b40], eax
lea edx, [ebp - 0x7b44]
mov dword [ebp - 0x7b3c], eax
mov dword [ebp - 0x7b38], eax
mov dword [ebp - 0x7b34], eax
mov dword [ebp - 0x7b30], eax
mov dword [ebp - 0x7b2c], eax
mov dword [ebp - 0x7b28], eax
mov dword [ebp - 0x7b24], eax
mov dword [ebp - 0x7b20], eax
mov eax, dword [0x5863fc]
push edx
push eax
mov dword [ebp - 0x7b44], 0x28
mov dword [ebp - 0x7b40], esi
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x401fc2
call ebx
mov dword [0x586400], eax
cmp eax, 0x2f88
jne 0x401e89
mov edx, dword [0x5863fc]
lea ecx, [ebp - 0x7b0c]
push ecx
push edi
mov edi, dword [ebp - 0x7b10]
push edi
push edx
mov dword [ebp - 0x7b0c], esi
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x401ffa
call ebx
mov dword [0x586400], eax
cmp eax, 0x2f88
jne 0x401e89
mov eax, dword [0x5863fc]
push esi
push 8
push esi
push eax
call dword [sym.imp.WININET.dll_HttpEndRequestA]
test eax, eax
jne 0x402020
call ebx
mov dword [0x586400], eax
cmp eax, 0x2f88
jne 0x401e89
cmp edi, esi
je 0x40202b
push edi
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 8