Function at 0x1000cf49
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push 0x4e0
mov eax, 0x100f0694
call fcn.100cca34
mov edi, dword [ebp + 8]
push edi
call fcn.1000d600
test eax, eax
jne 0x1000d15c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4cc], eax
mov eax, 0x1845
mov dword [ebp - 0x8c], 0x182e
mov word [ebp - 0x88], ax
lea ecx, [eax + 6]
add eax, 0x17
mov word [ebp - 0x86], cx
mov word [ebp - 0x84], ax
lea eax, [ecx - 0xb]
mov word [ebp - 0x82], ax
add eax, 0xffffffdd
mov word [ebp - 0x80], cx
add ecx, 0xfffffff7
mov word [ebp - 0x7e], cx
mov word [ebp - 0x7c], ax
mov eax, 0x181c
mov word [ebp - 0x7a], ax
add eax, 0xffffffe4
mov word [ebp - 0x78], ax
mov eax, 0x184a
mov word [ebp - 0x76], ax
xor eax, eax
mov word [ebp - 0x74], cx
mov word [ebp - 0x72], cx
lea ecx, [ebp - 0x8c]
mov word [ebp - 0x70], ax
mov ax, word [ebp - 0x88]
call fcn.100110c7
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x24], 0x66
mov esi, eax
mov ecx, dword [ebp - 0x24]
xor ecx, 0x43
mov byte [ebp - 0x20], cl
mov ecx, dword [ebp - 0x24]
inc cl
xor ecx, 0x72
mov byte [ebp - 0x1f], cl
mov eax, dword [ebp - 0x24]
add al, 2
xor eax, 0x65
mov byte [ebp - 0x1e], al
mov eax, dword [ebp - 0x24]
add al, 3
xor eax, 0x61
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x24]
add al, 4
xor eax, 0x74
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x24]
add al, 5
xor eax, 0x65
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x24]
add al, 6
xor eax, 0x54
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 0x24]
add al, 7
xor eax, 0x68
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x24]
add al, 8
xor eax, 0x72
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x24]
add al, 9
xor eax, 0x65
mov byte [ebp - 0x17], al
mov eax, dword [ebp - 0x24]
add al, 0xa
xor eax, 0x61
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 0x24]
add al, 0xb
xor eax, 0x64
xor ebx, ebx
mov byte [ebp - 0x15], al
mov al, byte [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x14], bl
call fcn.10010e10
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [edi + 0x14]
mov esi, eax
test cl, 8
je 0x1000d0b8
call fcn.1000cb28
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x4c8], eax
jmp 0x1000d0be
mov dword [ebp - 0x4c8], ebx
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x4b4], eax
mov eax, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x4b0], eax
mov eax, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x4b8], eax
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x4bc], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x4ac], esi
mov esi, 0x1000cc74
push 0x400
mov dword [ebp - 0x4a8], eax
lea eax, [ebp - 0x4a4]
push esi
push eax
mov dword [ebp - 0x4c0], ebx
mov dword [ebp - 0x4c4], ecx
call fcn.100cfb50
add esp, 0xc
lea eax, [ebp - 0x4c8]
push ebx
push ebx
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1000d149
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x4cc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1000d2d4
call fcn.10006200
test eax, eax
je 0x1000d155
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
mov dword [ebp - 4], ebx
mov eax, 0x83
mov word [ebp - 0x6c], ax
push 0x41
pop eax
mov word [ebp - 0x6a], ax
push 0x3f
pop eax
mov word [ebp - 0x68], ax
push 0x4b
pop eax
push 0x3a
mov word [ebp - 0x66], ax
pop ecx
push 0x3d
pop edx
push 0x35
pop edi
mov word [ebp - 0x64], cx
mov word [ebp - 0x62], ax
mov word [ebp - 0x60], dx
push 0x39
mov word [ebp - 0x5e], cx
mov word [ebp - 0x5c], dx
mov word [ebp - 0x5a], di
mov word [ebp - 0x58], ax
pop eax
push 0x4c
mov word [ebp - 0x56], ax
pop esi
push 0x41
pop eax
push 0x3c
pop ecx
push 0x4a
mov word [ebp - 0x54], si
mov word [ebp - 0x52], ax
pop eax
mov word [ebp - 0x50], di
push 0x3b
mov word [ebp - 0x4e], cx
mov word [ebp - 0x4c], dx
mov word [ebp - 0x4a], ax
pop edx
push 0x41
pop eax
mov word [ebp - 0x48], dx
push 0x3f
mov word [ebp - 0x46], di
mov word [ebp - 0x44], ax
pop eax
mov word [ebp - 0x42], ax
push 0x3a
pop eax
mov word [ebp - 0x40], ax
push 0x41
pop eax
mov word [ebp - 0x3e], ax
push 0x2d
pop eax
mov word [ebp - 0x3c], di
mov word [ebp - 0x3a], cx
push 0x38
mov word [ebp - 0x38], si
mov word [ebp - 0x36], ax
pop eax
mov word [ebp - 0x34], ax
push 0x40
pop eax
mov word [ebp - 0x32], ax
push 0x60
pop eax
mov word [ebp - 0x30], ax
mov word [ebp - 0x2e], dx
push 0x3f
pop eax
mov word [ebp - 0x2c], ax
add eax, 0x46
mov word [ebp - 0x2a], ax
xor eax, eax
mov word [ebp - 0x28], ax
mov ax, word [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.1000cb9b
pop ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.10011031
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10004b9e
add esp, 0xc
lea esi, [ebp - 0xa4]
cmp dword [ebp - 0x90], 8
lea ecx, [ebp - 0x4ec]
cmovae esi, dword [ebp - 0xa4]
call fcn.1000b96a
push esi
push ebx
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov dword [0x101122a0], eax
setne bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.1000b2cc
mov eax, ebx
call fcn.100cc9de
ret 4