Function at 0x406410
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4596c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
mov eax, dword [0x46946c]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
call fcn.00403e70
test eax, eax
je 0x406460
mov dword [esi + 0x1ab0], 4
mov eax, 0x80004005
jmp 0x406732
mov eax, dword [0x469890]
mov ecx, 0x469890
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
jne 0x406487
xor eax, eax
jmp 0x406499
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406490
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x220]
call fcn.00405320
push 0x27
push str.Content_Type:_text_xml__charsetutf_8_r_n
lea ecx, [ebp - 0x220]
call fcn.00405320
cmp dword [esi + 0x1abc], 3
jne 0x40658b
mov ecx, dword [esi + 0x1ab4]
cmp dword [ecx - 0xc], ebx
je 0x40658b
mov edx, dword [esi + 0x1ab8]
xor eax, eax
mov byte [ebp - 0x118], 0
mov ecx, 0x40
lea edi, [ebp - 0x117]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
stosb byte es:[edi], al
mov eax, dword [esi + 0x1ab4]
push eax
lea ecx, [ebp - 0x118]
push str._s:_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x118]
add esp, 0x10
mov dword [ebp - 0x224], 0x104
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406523
sub eax, edx
push ebx
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x21c]
push ecx
push eax
lea edx, [ebp - 0x118]
push edx
call fcn.00401e10
mov eax, dword [ebp - 0x224]
add esp, 0x14
push str.Proxy_Authorization:_Basic
lea ecx, [ebp - 0x220]
mov byte [ebp + eax - 0x21c], 0
call fcn.00406030
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00406030
push 0x45bb28
lea ecx, [ebp - 0x220]
call fcn.00406030
lea edx, [esi + 0x1268]
test edx, edx
mov dword [ebp - 4], ebx
je 0x4065a0
lea ecx, [esi + 0x1274]
jmp 0x4065a2
xor ecx, ecx
mov eax, dword [esi + 0x122c]
mov ecx, dword [ecx]
xor edx, edx
cmp eax, 3
mov eax, dword [esi + 0x1ac4]
setne dl
push ebx
dec edx
and edx, 0x800000
or edx, 0x400200
push edx
push 0x469110
push ebx
push str.HTTP_1.0
push ecx
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, ebx
mov ebx, dword [ebp - 0x220]
mov dword [esi + 0x1ac8], eax
je 0x4066ea
mov ecx, dword [esi + 0x124c]
mov edx, dword [ecx - 0xc]
mov edi, dword [ebx - 0xc]
push edx
push ecx
push edi
push ebx
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x4066e2
mov eax, dword [esi + 0x1ac8]
mov ecx, esi
mov dword [esi + 0x1254], eax
call fcn.00402d10
cmp eax, 0x1f4
je 0x406654
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40664d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x406732
xor edi, edi
mov dword [esi + 0x1ab0], 7
mov dword [ebp - 0x224], edi
mov eax, dword [esi]
lea ecx, [ebp - 0x224]
push ecx
mov ecx, esi
mov byte [ebp - 4], 3
call dword [eax]
test eax, eax
jl 0x4066cc
mov dword [ebp - 0x228], edi
lea edx, [ebp - 0x228]
push edx
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00402cf0
test eax, eax
mov edi, dword [ebp - 0x228]
jl 0x4066be
mov eax, dword [ebp - 0x224]
push eax
push edi
lea ecx, [esi + 0x1acc]
call fcn.00404fc0
test eax, eax
jge 0x4066be
mov dword [esi + 0x1ab0], 8
test edi, edi
mov byte [ebp - 4], 3
je 0x4066cc
mov ecx, dword [edi]
push edi
call dword [ecx + 8]
mov eax, dword [ebp - 0x224]
test eax, eax
mov byte [ebp - 4], 0
je 0x4066f4
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x4066f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4066f4
mov dword [esi + 0x1ab0], 5
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406715
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 0x80004005
jmp 0x406732
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458c53
mov esp, ebp
pop ebp
ret 4