Function at 0x4ba350
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2d32
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0x58]
call fcn.0043b2f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0043b2f0
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0x5ba8fc
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x58]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x90], esp
mov eax, dword [ebp + 8]
push eax
call fcn.00405d60
mov dword [ebp - 0xa0], eax
call fcn.004b8ab0
add esp, 0x28
mov byte [ebp - 0xa1], al
movzx ecx, byte [ebp - 0xa1]
test ecx, ecx
jne 0x4ba422
mov dword [ebp - 0x94], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00405ea0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00405ea0
mov eax, dword [ebp - 0x94]
jmp 0x4ba630
push 0
push 0
push 0
push 0
push 0x5ba904
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, dword [ebp - 0x9c]
mov dword [edx + 0xec], eax
mov eax, dword [ebp - 0x9c]
cmp dword [eax + 0xec], 0
jne 0x4ba455
jmp 0x4ba5f1
xor ecx, ecx
mov word [ebp - 0x8c], cx
mov edx, dword [ebp - 0x9c]
cmp dword [edx + 0xfc], 0
je 0x4ba497
push 4
mov eax, dword [ebp - 0x9c]
add eax, 0xfc
push eax
push 5
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ecx + 0xec]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0x9c]
cmp dword [eax + 0x100], 0
je 0x4ba4d1
push 4
mov ecx, dword [ebp - 0x9c]
add ecx, 0x100
push ecx
push 6
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0xec]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov word [ebp - 0x8c], ax
mov ecx, dword [ebp - 0x9c]
cmp dword [ecx + 0x104], 0
je 0x4ba50b
push 4
mov edx, dword [ebp - 0x9c]
add edx, 0x104
push edx
push 2
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax + 0xec]
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov word [ebp - 0x8c], ax
push 1
push 0
push 3
push 0
push 0
movzx edx, word [ebp - 0x14]
push edx
lea ecx, [ebp - 0x58]
call fcn.00405ee0
push eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax + 0xec]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edx, dword [ebp - 0x9c]
mov dword [edx + 0xf0], eax
mov eax, dword [ebp - 0x9c]
cmp dword [eax + 0xf0], 0
jne 0x4ba556
jmp 0x4ba5f1
push 1
push 0
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.00405ee0
push eax
push 0x5ba914
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0xf0]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ecx, dword [ebp - 0x9c]
mov dword [ecx + 0xf4], eax
mov edx, dword [ebp - 0x9c]
cmp dword [edx + 0xf4], 0
jne 0x4ba5a0
jmp 0x4ba5f1
mov ecx, 0xb
mov esi, str.Content_Type:_text_xml
lea edi, [ebp - 0x88]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.00496a0e
add esp, 4
push eax
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ecx + 0xf4]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [ebp - 0x10], eax
xor eax, eax
jne 0x4ba3b3
mov ecx, dword [ebp - 0x9c]
call fcn.004ba260
xor ecx, ecx
cmp dword [ebp - 0x10], 0
setne cl
lea ecx, [ecx + ecx - 1]
mov dword [ebp - 0x98], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00405ea0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00405ea0
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret 0xc