Function at 0x10026986
Capabilities:
Check mutex on windows
Connect to http server
Create http request
Delete file
Read and send data from client to server
Read file on windows
Send data
Send http request

Disassembly:
push 0x44
mov eax, 0x1017bd9b
call fcn.10145d80
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
jne 0x100269a6
or eax, 0xffffffff
call fcn.10145e58
ret 4
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
call fcn.10007ade
mov edi, 0x101a2cac
push edi
push 0x1019fce4
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.10011220
push edi
push 0x101a05b8
lea ecx, [ebp - 0x14]
call fcn.10011220
push str._BARXLOG_MUTEX
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10007b6e
push dword [eax]
mov ecx, 0x101f8c68
push ebx
mov byte [ebp - 4], 1
call fcn.10016a0b
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], bl
call fcn.10003b75
cmp dword [ebp - 0x1c], ebx
jne 0x10026a28
or ebx, 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003b75
mov eax, ebx
jmp 0x1002699e
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x10026c22
push dword [esi]
call fcn.1011c944
test eax, eax
pop ecx
je 0x10026c22
push 8
pop ecx
xor eax, eax
mov dword [ebp - 0x50], ebx
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.10148cc9
test eax, eax
pop ecx
pop ecx
jne 0x10026ba3
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x10026a88
cmp dword [ebp - 0x3c], eax
jbe 0x10026a88
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10026ba3
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x10026a98
cmp dword [ebp - 0x3c], eax
jbe 0x10026ba3
push dword [ebp - 0x3c]
call fcn.10144fc2
mov edi, eax
cmp edi, ebx
pop ecx
mov dword [ebp - 0x28], edi
je 0x10026ba3
push dword [ebp - 0x3c]
push ebx
push edi
call fcn.10146c80
mov eax, dword [esi]
push 0x101a2cb0
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], ebx
call fcn.10147b95
add esp, 0x18
test eax, eax
jne 0x10026b9a
cmp dword [ebp - 0x18], ebx
je 0x10026b9a
push dword [ebp - 0x18]
push 1
push dword [ebp - 0x3c]
push edi
call fcn.10147aa1
add esp, 0x10
cmp eax, 1
jne 0x10026b6f
push dword [ebp - 0x3c]
call fcn.1013c5c9
mov dword [ebp - 0x20], eax
add eax, 0xc
push eax
call fcn.10144fc2
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
je 0x10026b6f
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x10]
add eax, 0xc
push eax
push ebx
push edi
call fcn.10146c80
mov esi, str.BarData
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x10]
mov byte [esi + 7], 1
mov eax, dword [ebp - 0x3c]
mov dword [esi + 8], eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x20]
push dword [ebp - 0x28]
push eax
lea eax, [esi + 0xc]
push eax
call fcn.1013c5ae
add esp, 0x1c
test eax, eax
jne 0x10026b5f
mov eax, dword [ebp - 0x20]
add eax, 0xc
mov dword [ebp - 0x24], eax
jmp 0x10026b6c
push esi
call fcn.10145563
pop ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
mov esi, dword [ebp + 8]
push dword [ebp - 0x18]
call fcn.101475da
cmp dword [esi + 0x10], ebx
pop ecx
je 0x10026b9a
cmp dword [ebp - 0x10], ebx
je 0x10026b9a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10026b9a
push dword [ebp - 0x10]
call fcn.10145563
pop ecx
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x28]
call fcn.10145563
pop ecx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [ebp - 0x10], ebx
je 0x10026c22
push ebx
push ebx
push ebx
push ebx
push 0x101a2c60
call dword [sym.imp.WININET.dll_InternetOpenW]
movzx ecx, word [esi + 0xc]
push ebx
push ebx
push 3
push ebx
push ebx
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 4]
push ecx
push eax
push dword [ebp - 0x28]
call dword [sym.imp.WININET.dll_InternetConnectW]
push ebx
push ebx
push ebx
push ebx
mov dword [ebp + 8], eax
mov eax, dword [esi + 8]
push ebx
push eax
push str.POST
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push dword [ebp - 0x24]
mov edi, eax
push dword [ebp - 0x10]
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push dword [ebp + 8]
call edi
push dword [ebp - 0x28]
call edi
push dword [ebp - 0x10]
call fcn.10145563
pop ecx
mov ecx, esi
call fcn.10025c00
push esi
call fcn.10145084
pop ecx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10026a19