Function at 0x10054f90
Capabilities:
Check mutex on windows
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e33a6
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x1013dd8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x100e9a9c
lea ecx, [ebp - 0xe8]
call fcn.10012560
mov dword [ebp - 4], 0
mov byte [ebp - 0x50], 0
push 0x3f
push 0
lea eax, [ebp - 0x4f]
push eax
call fcn.100a57f0
add esp, 0xc
mov dword [ebp - 0x128], 0x40
mov byte [ebp - 0xd0], 0
push 0x7f
push 0
lea ecx, [ebp - 0xcf]
push ecx
call fcn.100a57f0
add esp, 0xc
mov edx, 0x4321
mov word [ebp - 0x124], dx
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 4
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
test eax, eax
jne 0x10055040
push 0x3f
push str.standard
lea edx, [ebp - 0x50]
push edx
call fcn.100ae0c0
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
call fcn.100a9980
add esp, 4
push eax
lea ecx, [ebp - 0x50]
push ecx
push str._s_._d
push 0x7f
lea edx, [ebp - 0xd0]
push edx
call fcn.1004db60
add esp, 0x14
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x120], 0
jmp 0x10055088
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
cmp ecx, dword [ebp - 0x12c]
jge 0x10055100
mov edx, dword [ebp - 0x120]
and edx, reloc.WS2_32.dll_accept
jns 0x100550a9
dec edx
or edx, 0xfffffffe
inc edx
test edx, edx
jne 0x100550c4
movzx eax, word [ebp - 0x124]
shr eax, 8
and eax, 0xff
mov byte [ebp - 0x119], al
jmp 0x100550d7
movzx ecx, word [ebp - 0x124]
and ecx, 0xff
mov byte [ebp - 0x119], cl
movzx edx, byte [ebp - 0x119]
mov eax, dword [ebp - 0x120]
movsx ecx, byte [ebp + eax - 0xd0]
xor ecx, edx
mov edx, dword [ebp - 0x120]
mov byte [ebp + edx - 0xd0], cl
jmp 0x10055079
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x100]
call fcn.10012560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x100]
push ecx
push 1
lea edx, [ebp - 0x118]
push edx
call fcn.1005daa0
add esp, 0xc
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0xe8]
call fcn.1001a8d0
lea ecx, [ebp - 0x118]
call fcn.10012470
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x100]
call fcn.10012470
lea ecx, [ebp - 0xe8]
call fcn.10012400
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x100551bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CREATE_SINGLETON_MUTEXT_FAILED_0x_08X
call fcn.1005b550
add esp, 8
mov byte [ebp - 0x11a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.10012470
mov al, byte [ebp - 0x11a]
jmp 0x10055216
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100551f7
push str.CREATE_SINGLETON_MUTEXT_ALREADY_EXISTED
call fcn.1005b550
add esp, 4
mov byte [ebp - 0x11b], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.10012470
mov al, byte [ebp - 0x11b]
jmp 0x10055216
mov byte [ebp - 0x11c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.10012470
mov al, byte [ebp - 0x11c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10065961
mov esp, ebp
pop ebp
ret