Function at 0x40a750
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c7e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x437a60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [esi + 0x1268], edi
call fcn.00407670
test eax, eax
je 0x40a7b1
mov dword [esi + 0x1ab4], 4
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x439ad4]
mov edx, dword [eax + 0xc]
mov ecx, 0x439ad4
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edi
mov byte [ebp - 4], 1
cmp ebx, edi
jne 0x40a7d8
xor eax, eax
jmp 0x40a7e9
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a7e0
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x14]
call fcn.00409370
push 0x27
push str.Content_Type:_text_xml__charsetutf_8_r_n
lea ecx, [ebp - 0x14]
call fcn.00409370
mov eax, dword [esi + 0x122c]
mov ecx, dword [esi + 0x1278]
xor edx, edx
cmp eax, 3
mov eax, dword [esi + 0x1abc]
setne dl
push edi
mov dword [ebp - 4], edi
dec edx
and edx, 0x800000
or edx, 0x400200
push edx
push 0x437798
push edi
push str.HTTP_1.0
push ecx
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [esi + 0x1ac0], eax
cmp eax, edi
je 0x40a96d
mov edx, dword [esi + 0x125c]
mov ecx, dword [edx - 0xc]
cmp ecx, edi
je 0x40a886
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push ecx
push edx
push 0x2b
push eax
call edi
mov eax, dword [esi + 0x1260]
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, dword [esi + 0x1ac0]
push eax
push 0x2c
push ecx
call edi
xor edi, edi
mov eax, dword [esi + 0x124c]
mov ecx, dword [eax - 0xc]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx - 0xc]
push ecx
push eax
push edx
mov edx, dword [esi + 0x1ac0]
push ebx
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x40a965
mov eax, dword [esi + 0x1ac0]
mov ecx, esi
mov dword [esi + 0x1254], eax
call fcn.00406560
cmp eax, 0x1f4
je 0x40a8e6
lea ecx, [ebp - 0x14]
call fcn.00407850
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esi + 0x1ab4], 7
mov dword [ebp - 0x18], edi
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
mov byte [ebp - 4], 3
call edx
test eax, eax
jl 0x40a950
mov dword [ebp + 8], edi
lea eax, [ebp + 8]
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00406540
mov edi, dword [ebp + 8]
test eax, eax
jl 0x40a93e
mov ecx, dword [ebp - 0x18]
push ecx
push edi
lea ecx, [esi + 0x1ac4]
call fcn.00408b20
test eax, eax
jge 0x40a93e
mov dword [esi + 0x1ab4], 8
mov byte [ebp - 4], 3
test edi, edi
je 0x40a94e
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
xor edi, edi
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0
cmp eax, edi
je 0x40a986
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x40a986
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40a980
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0x14]
mov dword [esi + 0x1ab4], 5
mov dword [esi + 0x1268], eax
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 0x40a9a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4