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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push edi
mov al, 0x6f
mov al, 0xff
mov al, 0xf5
mov al, 0xf5
mov al, 0x38
mov al, 0x70
mov al, 0x6f
mov al, 0x49
mov al, 0xc0
mov al, 0x89
mov al, 0x47
mov al, 0x72
mov al, 0x70
mov al, 0x4e
mov al, 0xc0
mov al, 0x86
mov al, 0x4a
mov al, 0x72
mov al, 0x71
mov al, 0xb7
mov al, 2
mov byte [ebp - 0x48], 0
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x47]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0xc8], 0
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0xc7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 8], 0x7f
mov al, 0x6f
mov al, 0xff
mov al, 0xf5
mov al, 0xf5
mov al, 0x38
mov al, 0x70
mov al, 0x6f
mov al, 0x49
mov al, 0xc0
mov al, 0x89
mov al, 0x47
mov al, 0x72
mov al, 0x70
mov al, 0x4e
mov al, 0xc0
mov al, 0x86
mov al, 0x4a
mov al, 0x72
mov al, 0x71
mov al, 0xb7
mov al, 2
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov al, 0x6f
mov al, 0xff
mov al, 0xf5
mov al, 0xf5
mov al, 0x38
mov al, 0x70
mov al, 0x6f
mov al, 0x49
mov al, 0xc0
mov al, 0x89
mov al, 0x47
mov al, 0x72
mov al, 0x70
mov al, 0x4e
mov al, 0xc0
mov al, 0x86
mov al, 0x4a
mov al, 0x72
mov al, 0x71
mov al, 0xb7
mov al, 2
lea edx, [ebp - 0xc8]
push edx
movzx eax, byte [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.004051e0
add esp, 0xc
mov al, 0x6f
mov al, 0xff
mov al, 0xf5
mov al, 0xf5
mov al, 0x38
mov al, 0x70
mov al, 0x6f
mov al, 0x49
mov al, 0xc0
mov al, 0x89
mov al, 0x47
mov al, 0x72
mov al, 0x70
mov al, 0x4e
mov al, 0xc0
mov al, 0x86
mov al, 0x4a
mov al, 0x72
mov al, 0x71
mov al, 0xb7
mov al, 2
mov al, 0x6f
mov al, 0xff
mov al, 0xf5
mov al, 0xf5
mov al, 0x38
mov al, 0x70
mov al, 0x6f
mov al, 0x49
mov al, 0xc0
mov al, 0x89
mov al, 0x47
mov al, 0x72
mov al, 0x70
mov al, 0x4e
mov al, 0xc0
mov al, 0x86
mov al, 0x4a
mov al, 0x72
mov al, 0x71
mov al, 0xb7
mov al, 2
lea edx, [ebp - 0x48]
push edx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [ebp - 4], eax
mov al, 0x6f
mov al, 0xff
mov al, 0xf5
mov al, 0xf5
mov al, 0x38
mov al, 0x70
mov al, 0x6f
mov al, 0x49
mov al, 0xc0
mov al, 0x89
mov al, 0x47
mov al, 0x72
mov al, 0x70
mov al, 0x4e
mov al, 0xc0
mov al, 0x86
mov al, 0x4a
mov al, 0x72
mov al, 0x71
mov al, 0xb7
mov al, 2
cmp dword [ebp - 4], 0
je 0x4057eb
mov al, 0x6f
mov al, 0xff
mov al, 0xf5
mov al, 0xf5
mov al, 0x38
mov al, 0x70
mov al, 0x6f
mov al, 0x49
mov al, 0xc0
mov al, 0x89
mov al, 0x47
mov al, 0x72
mov al, 0x70
mov al, 0x4e
mov al, 0xc0
mov al, 0x86
mov al, 0x4a
mov al, 0x72
mov al, 0x71
mov al, 0xb7
mov al, 2
jmp 0x405926
mov al, 0x6f
mov al, 0xff
mov al, 0xf5
mov al, 0xf5
mov al, 0x38
mov al, 0x70
mov al, 0x6f
mov al, 0x49
mov al, 0xc0
mov al, 0x89
mov al, 0x47
mov al, 0x72
mov al, 0x70
mov al, 0x4e
mov al, 0xc0
mov al, 0x86
mov al, 0x4a
mov al, 0x72
mov al, 0x71
mov al, 0xb7
mov al, 2
lea eax, [ebp - 0x48]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 4], eax
mov al, 0x6f
mov al, 0xff
mov al, 0xf5
mov al, 0xf5
mov al, 0x38
mov al, 0x70
mov al, 0x6f
mov al, 0x49
mov al, 0xc0
mov al, 0x89
mov al, 0x47
mov al, 0x72
mov al, 0x70
mov al, 0x4e
mov al, 0xc0
mov al, 0x86
mov al, 0x4a
mov al, 0x72
mov al, 0x71
mov al, 0xb7
mov al, 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x405873
cmp dword [ebp - 0x118], 0xb7
je 0x40589f
jmp 0x4058cb
mov al, 0x6f
mov al, 0xff
mov al, 0xf5
mov al, 0xf5
mov al, 0x38
mov al, 0x70
mov al, 0x6f
mov al, 0x49
mov al, 0xc0
mov al, 0x89
mov al, 0x47
mov al, 0x72
mov al, 0x70
mov al, 0x4e
mov al, 0xc0
mov al, 0x86
mov al, 0x4a
mov al, 0x72
mov al, 0x71
mov al, 0xb7
mov al, 2
jmp 0x4058f7
mov al, 0x6f
mov al, 0xff
mov al, 0xf5
mov al, 0xf5
mov al, 0x38
mov al, 0x70
mov al, 0x6f
mov al, 0x49
mov al, 0xc0
mov al, 0x89
mov al, 0x47
mov al, 0x72
mov al, 0x70
mov al, 0x4e
mov al, 0xc0
mov al, 0x86
mov al, 0x4a
mov al, 0x72
mov al, 0x71
mov al, 0xb7
mov al, 2
jmp 0x405926
mov al, 0x6f
mov al, 0xff
mov al, 0xf5
mov al, 0xf5
mov al, 0x38
mov al, 0x70
mov al, 0x6f
mov al, 0x49
mov al, 0xc0
mov al, 0x89
mov al, 0x47
mov al, 0x72
mov al, 0x70
mov al, 0x4e
mov al, 0xc0
mov al, 0x86
mov al, 0x4a
mov al, 0x72
mov al, 0x71
mov al, 0xb7
mov al, 2
jmp 0x405926
mov al, 0x6f
mov al, 0xff
mov al, 0xf5
mov al, 0xf5
mov al, 0x38
mov al, 0x70
mov al, 0x6f
mov al, 0x49
mov al, 0xc0
mov al, 0x89
mov al, 0x47
mov al, 0x72
mov al, 0x70
mov al, 0x4e
mov al, 0xc0
mov al, 0x86
mov al, 0x4a
mov al, 0x72
mov al, 0x71
mov al, 0xb7
mov al, 2
mov eax, dword [ebp - 4]
jmp 0x405986
mov al, 0x6f
mov al, 0xff
mov al, 0xf5
mov al, 0xf5
mov al, 0x38
mov al, 0x70
mov al, 0x6f
mov al, 0x49
mov al, 0xc0
mov al, 0x89
mov al, 0x47
mov al, 0x72
mov al, 0x70
mov al, 0x4e
mov al, 0xc0
mov al, 0x86
mov al, 0x4a
mov al, 0x72
mov al, 0x71
mov al, 0xb7
mov al, 2
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 0x6f
mov al, 0xff
mov al, 0xf5
mov al, 0xf5
mov al, 0x38
mov al, 0x70
mov al, 0x6f
mov al, 0x49
mov al, 0xc0
mov al, 0x89
mov al, 0x47
mov al, 0x72
mov al, 0x70
mov al, 0x4e
mov al, 0xc0
mov al, 0x86
mov al, 0x4a
mov al, 0x72
mov al, 0x71
mov al, 0xb7
mov al, 2
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret