Function at 0x104114d
Capabilities:
Connect to http server
Send data
Send http request
Send http request with host header

Disassembly:
mov eax, 0x1083aa4
call fcn.0105c800
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push dword [ebp + 0xc]
xor edi, edi
lea ecx, [esi + 0x44]
mov dword [ebp - 0x14], edi
call fcn.01008a50
mov eax, dword [ebp + 0x14]
push dword [ebp + 0xc]
mov dword [esi + 0x48], eax
mov al, byte [ebp + 0x1c]
mov ecx, esi
mov byte [esi + 0x8d], al
mov dword [ebp - 4], edi
call fcn.01040dfd
test al, al
je 0x10411fd
mov dword [ebp - 0x1c], str.Accept:__
mov dword [ebp - 0x18], edi
call fcn.010420f5
push dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [esi + 0x40]
mov ecx, ebx
push eax
call fcn.01041deb
mov eax, dword [str.https]
mov ecx, dword [esi + 0x38]
push eax
push ecx
call fcn.0105d410
pop ecx
mov edx, dword [ebx + 4]
neg eax
pop ecx
mov ecx, dword [esi + 0x40]
push esi
sbb eax, eax
push edi
and ax, 0xfe95
push 3
add eax, 0x1bb
push edi
push edi
push eax
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, ebx
mov dword [esi + 0x10], eax
call fcn.01042148
cmp dword [esi + 0x10], edi
jne 0x1041211
call dword [sym.imp.KERNEL32.dll_GetLastError]
or dword [ebp - 0x14], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x20
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0xffffffffffffff9b
push 0x109a4ec
lea ecx, [ebp + 0x1c]
mov dword [esi + 0xc], eax
call fcn.010087b8
push dword [ebp + 8]
mov eax, dword [eax]
push eax
call fcn.0105d410
pop ecx
test eax, eax
pop ecx
jne 0x1041247
cmp dword [ebp + 0x10], edi
je 0x1041247
mov bl, 1
jmp 0x1041249
xor bl, bl
lea ecx, [ebp + 0x1c]
call fcn.01001190
test bl, bl
je 0x1041293
mov ebx, 0x109d2cc
mov eax, ebx
test eax, eax
je 0x1041269
push ebx
call fcn.0105c0e0
pop ecx
jmp 0x104126b
xor eax, eax
push ebx
lea ecx, [esi + 0x3c]
push eax
call fcn.01008a89
cmp dword [ebp + 0x10], edi
je 0x1041285
push dword [ebp + 0x10]
call fcn.0105c0e0
pop ecx
jmp 0x1041287
xor eax, eax
push dword [ebp + 0x10]
lea ecx, [esi + 0x3c]
push eax
call fcn.01008a89
mov eax, dword [str.https]
mov ecx, dword [esi + 0x38]
push eax
push ecx
mov ebx, 0x84400000
call fcn.0105d410
pop ecx
test eax, eax
pop ecx
jne 0x10412b2
mov ebx, 0x84c0f000
mov eax, dword [esi + 0x3c]
push esi
lea ecx, [ebp - 0x1c]
push ebx
push ecx
push edi
push 0x109d2c0
push eax
push dword [ebp + 8]
push dword [esi + 0x10]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, edi
mov dword [esi + 0x14], eax
je 0x10411f3
mov eax, dword [esi + 0x80]
mov dword [esi + 0x84], edi
cmp dword [eax - 8], edi
je 0x10413b5
mov ebx, str.Host:
mov eax, ebx
test eax, eax
je 0x1041302
push ebx
call fcn.0105c0e0
pop ecx
jmp 0x1041304
xor eax, eax
push ebx
push eax
lea ecx, [esi + 0x78]
call fcn.01008a89
mov eax, dword [esi + 0x40]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esi + 0x78]
call fcn.01008a89
mov ebx, 0x1098aec
mov eax, ebx
test eax, eax
je 0x1041332
push ebx
call fcn.0105c0e0
pop ecx
jmp 0x1041334
xor eax, eax
push ebx
push eax
lea ecx, [esi + 0x78]
call fcn.01008a89
mov edi, str.Content_Type:_text_xml__charset_UTF_8__r_n
mov eax, edi
test eax, eax
je 0x1041352
push edi
call fcn.0105c0e0
pop ecx
jmp 0x1041354
xor eax, eax
push edi
push eax
lea ecx, [esi + 0x78]
call fcn.01008a89
mov eax, dword [esi + 0x80]
mov edi, 0x109d280
mov eax, dword [eax - 8]
mov dword [ebp + 0x1c], eax
mov eax, edi
test eax, eax
je 0x104137e
push edi
call fcn.0105c0e0
pop ecx
jmp 0x1041380
xor eax, eax
push edi
push eax
lea ecx, [esi + 0x78]
call fcn.01008a89
push dword [ebp + 0x1c]
lea ecx, [esi + 0x78]
call fcn.0100920b
mov edi, eax
mov eax, ebx
test eax, eax
je 0x10413a6
push ebx
call fcn.0105c0e0
pop ecx
jmp 0x10413a8
xor eax, eax
push ebx
push eax
mov ecx, edi
call fcn.01008a89
xor edi, edi
jmp 0x10413f7
push 0xffffffffffffff9b
push str.POST
lea ecx, [ebp + 0xc]
call fcn.010087b8
push dword [ebp + 8]
mov eax, dword [eax]
push eax
call fcn.0105d410
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp + 0xc]
inc bl
call fcn.01001190
test bl, bl
je 0x10413f2
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [esi + 0x78]
call fcn.01008a50
mov ebx, 0x1098aec
cmp dword [ebp + 0x20], edi
je 0x10414e4
cmp dword [ebp + 0x18], edi
je 0x104153a
xor eax, eax
cmp dword [ebp + 0x24], eax
je 0x104145e
mov edi, str.If_Range:__
lea ebx, [esi + 0x78]
mov ecx, edi
test ecx, ecx
je 0x1041425
push edi
call fcn.0105c0e0
pop ecx
push edi
push eax
mov ecx, ebx
call fcn.01008a89
push dword [ebp + 0x24]
push dword [ebp + 0x24]
call fcn.0105c0e0
pop ecx
push eax
mov ecx, ebx
call fcn.01008a89
mov edi, 0x1098b4c
mov eax, edi
test eax, eax
je 0x1041456
push edi
call fcn.0105c0e0
pop ecx
jmp 0x1041458
xor eax, eax
push edi
push eax
mov ecx, ebx
jmp 0x10414aa
mov edi, str.If_Range:
mov eax, edi
test eax, eax
je 0x1041472
push edi
call fcn.0105c0e0
pop ecx
jmp 0x1041474
xor eax, eax
push edi
push eax
lea ecx, [esi + 0x78]
call fcn.01008a89
push dword [ebp + 0x18]
push dword [ebp + 0x18]
call fcn.0105c0e0
pop ecx
lea edi, [esi + 0x78]
push eax
mov ecx, edi
call fcn.01008a89
mov eax, ebx
test eax, eax
je 0x10414a4
push ebx
call fcn.0105c0e0
pop ecx
jmp 0x10414a6
xor eax, eax
push ebx
push eax
mov ecx, edi
call fcn.01008a89
mov ebx, str.Range:_bytes
mov eax, ebx
test eax, eax
je 0x10414c3
push ebx
call fcn.0105c0e0
pop ecx
jmp 0x10414c5
xor eax, eax
push ebx
lea ebx, [esi + 0x78]
push eax
mov ecx, ebx
call fcn.01008a89
push dword [ebp + 0x20]
mov ecx, ebx
call fcn.0100920b
mov edi, eax
mov ebx, 0x109d220
jmp 0x1041520
cmp dword [ebp + 0x18], edi
je 0x104153a
mov edi, str.If_Modified_Since:
mov eax, edi
test eax, eax
je 0x10414fd
push edi
call fcn.0105c0e0
pop ecx
jmp 0x10414ff
xor eax, eax
push edi
push eax
lea ecx, [esi + 0x78]
call fcn.01008a89
push dword [ebp + 0x18]
push dword [ebp + 0x18]
call fcn.0105c0e0
pop ecx
lea edi, [esi + 0x78]
push eax
mov ecx, edi
call fcn.01008a89
mov eax, ebx
test eax, eax
je 0x104152f
push ebx
call fcn.0105c0e0
pop ecx
jmp 0x1041531
xor eax, eax
push ebx
push eax
mov ecx, edi
call fcn.01008a89
mov ecx, dword [esi + 0x80]
xor eax, eax
cmp dword [ecx - 8], eax
je 0x10415a3
mov ecx, dword [esi + 0x7c]
cmp dword [ecx - 8], eax
je 0x104159b
mov ebx, str.SOAPAction:__
lea edi, [esi + 0x78]
mov ecx, ebx
test ecx, ecx
je 0x1041564
push ebx
call fcn.0105c0e0
pop ecx
push ebx
push eax
mov ecx, edi
call fcn.01008a89
mov eax, dword [esi + 0x7c]
push eax
mov ecx, dword [eax - 8]
push ecx
mov ecx, edi
call fcn.01008a89
mov ebx, 0x1098b4c
mov eax, ebx
test eax, eax
je 0x1041590
push ebx
call fcn.0105c0e0
pop ecx
jmp 0x1041592
xor eax, eax
push ebx
push eax
mov ecx, edi
call fcn.01008a89
mov edi, dword [esi + 0x80]
jmp 0x10415a6
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x10415d8
mov eax, dword [esi + 0x18]
lea ebx, [esi + 0x18]
push 1
push 0xfa0
mov ecx, ebx
call dword [eax + 0x48]
push edi
call fcn.0105c0e0
pop ecx
mov dword [esi + 0x84], eax
mov eax, dword [ebx]
lea ecx, [esi + 0x84]
push ecx
push edi
mov ecx, ebx
call dword [eax + 0x28]
push dword [esi + 0x84]
mov eax, dword [esi + 0x78]
mov ebx, dword [sym.imp.WININET.dll_HttpSendRequestA]
push dword [esi + 0x20]
push dword [eax - 8]
push eax
push dword [esi + 0x14]
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x3e5
je 0x10411fd
push dword [esi + 0x84]
mov eax, dword [esi + 0x78]
push dword [esi + 0x20]
push dword [eax - 8]
push eax
push dword [esi + 0x14]
call ebx
call edi
cmp eax, 0x3e5
je 0x10411fd
mov dword [ebp - 0x14], 0x80004005
jmp 0x10411fd