Function at 0x1001d478
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, 0x10135a65
call fcn.101018b2
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
jne 0x1001d498
or eax, 0xffffffff
call fcn.1010198a
ret 4
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
call fcn.1000584b
mov edi, 0x10155e28
push edi
push 0x10155e24
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.1001ceed
push edi
push 0x10153cd0
lea ecx, [ebp - 0x14]
call fcn.1001ceed
push str._BARXLOG_MUTEX
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100058db
push dword [eax]
mov ecx, 0x1019ee80
push ebx
mov byte [ebp - 4], 1
call fcn.1001018e
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.100015d9
cmp dword [ebp - 0x1c], ebx
jne 0x1001d51a
or ebx, 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100015d9
mov eax, ebx
jmp 0x1001d490
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x1001d714
push dword [esi]
call fcn.100dd2fb
test eax, eax
pop ecx
je 0x1001d714
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.10103ee5
test eax, eax
pop ecx
pop ecx
jne 0x1001d695
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x1001d57a
cmp dword [ebp - 0x3c], eax
jbe 0x1001d57a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1001d695
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x1001d58a
cmp dword [ebp - 0x3c], eax
jbe 0x1001d695
push dword [ebp - 0x3c]
call fcn.10100af4
mov edi, eax
cmp edi, ebx
pop ecx
mov dword [ebp - 0x28], edi
je 0x1001d695
push dword [ebp - 0x3c]
push ebx
push edi
call fcn.101027c0
mov eax, dword [esi]
push 0x10155e2c
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], ebx
call fcn.101035c0
add esp, 0x18
test eax, eax
jne 0x1001d68c
cmp dword [ebp - 0x18], ebx
je 0x1001d68c
push dword [ebp - 0x18]
push 1
push dword [ebp - 0x3c]
push edi
call fcn.101034cc
add esp, 0x10
cmp eax, 1
jne 0x1001d661
push dword [ebp - 0x3c]
call fcn.100f8551
mov dword [ebp - 0x20], eax
add eax, 0xc
push eax
call fcn.10100af4
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
je 0x1001d661
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x10]
add eax, 0xc
push eax
push ebx
push edi
call fcn.101027c0
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.100f8536
add esp, 0x1c
test eax, eax
jne 0x1001d651
mov eax, dword [ebp - 0x20]
add eax, 0xc
mov dword [ebp - 0x24], eax
jmp 0x1001d65e
push esi
call fcn.10101095
pop ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
mov esi, dword [ebp + 8]
push dword [ebp - 0x18]
call fcn.10103005
cmp dword [esi + 0x10], ebx
pop ecx
je 0x1001d68c
cmp dword [ebp - 0x10], ebx
je 0x1001d68c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1001d68c
push dword [ebp - 0x10]
call fcn.10101095
pop ecx
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x28]
call fcn.10101095
pop ecx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [ebp - 0x10], ebx
je 0x1001d714
push ebx
push ebx
push ebx
push ebx
push str.BaiduToolbar
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 0x10155dcc
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.10101095
pop ecx
mov ecx, esi
call fcn.1001ce36
push esi
call fcn.10100bb6
pop ecx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1001d50b