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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b8
mov eax, dword [0x516c24]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x104
lea eax, [ebp - 0x410]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x6c
call fcn.00416868
add esp, 4
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
je 0x40ee81
push 0
push 0
push 0
mov ecx, dword [ebp - 0x43c]
call fcn.00407390
mov dword [ebp - 0x440], eax
jmp 0x40ee8b
mov dword [ebp - 0x440], 0
mov ecx, dword [ebp - 0x440]
mov dword [ebp - 0x488], ecx
mov edx, dword [ebp - 0x488]
mov dword [0x517b78], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [ebp - 0x48c], eax
lea eax, [ebp - 0x48c]
push eax
mov ecx, dword [0x517b78]
add ecx, 0x3c
call fcn.00410240
push 0x2c
call fcn.00416868
add esp, 4
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0
je 0x40eef0
mov ecx, dword [ebp - 0x444]
call fcn.00407a60
mov dword [ebp - 0x448], eax
jmp 0x40eefa
mov dword [ebp - 0x448], 0
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0x490], ecx
mov edx, dword [ebp - 0x490]
mov dword [0x517b74], edx
push 0
mov ecx, dword [0x517b74]
call fcn.00407d00
movzx eax, al
test eax, eax
jne 0x40ef48
lea ecx, [ebp - 0x410]
push ecx
push 0x43a860
mov edx, dword [0x517b78]
push edx
call fcn.00406cc0
add esp, 0xc
xor eax, eax
jmp 0x40f87a
mov eax, dword [0x517b74]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.00421c1d
add esp, 4
mov edx, dword [0x517b78]
mov dword [edx + 0x48], eax
mov eax, dword [0x517b74]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.00421c1d
add esp, 4
mov edx, dword [0x517b78]
mov dword [edx + 0x4c], eax
mov eax, dword [0x517b74]
mov ecx, dword [eax + 0x1c]
push ecx
call fcn.00421c1d
add esp, 4
mov edx, dword [0x517b78]
mov dword [edx + 0x50], eax
mov ecx, dword [0x517b78]
call fcn.00406460
push 0x43a884
mov eax, dword [0x517b78]
push eax
call fcn.00406cc0
add esp, 8
lea ecx, [ebp - 0x460]
push ecx
lea edx, [ebp - 0x4a8]
push edx
lea eax, [ebp - 0x494]
push eax
push 0x43a894
mov ecx, dword [0x517b74]
call fcn.00407fb0
movzx ecx, al
test ecx, ecx
je 0x40f043
lea edx, [ebp - 0x464]
push edx
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x494]
push ecx
push 0x43a8a0
mov ecx, dword [0x517b74]
call fcn.00407fb0
movzx edx, al
test edx, edx
je 0x40f043
mov eax, dword [ebp - 0x460]
push eax
push 0x43a8ac
mov ecx, dword [0x517b78]
push ecx
call fcn.00406cc0
add esp, 0xc
mov edx, dword [ebp - 0x464]
push edx
push 0x43a8c0
mov eax, dword [0x517b78]
push eax
call fcn.00406cc0
add esp, 0xc
jmp 0x40f057
push 0x43a8d4
mov ecx, dword [0x517b78]
push ecx
call fcn.00406cc0
add esp, 8
call fcn.00410600
test eax, eax
je 0x40f3ec
push str.Log:isSystem64BitWow___True_n
mov edx, dword [0x517b78]
push edx
call fcn.00406cc0
add esp, 8
mov eax, dword [0x517b74]
mov ecx, dword [eax + 0x10]
push ecx
push 0x43a924
push 0
push 0
call fcn.00407960
add esp, 0x10
mov dword [ebp - 0x468], eax
mov edx, dword [ebp - 0x468]
add edx, 1
push edx
call fcn.004168a6
add esp, 4
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0x46c]
mov dword [ebp - 0x424], eax
mov ecx, dword [0x517b74]
mov edx, dword [ecx + 0x10]
push edx
push str.GlobalCYMULATE_HIDER__s
mov eax, dword [ebp - 0x424]
push eax
call fcn.00407a20
add esp, 0xc
call fcn.0040f890
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
je 0x40f151
mov dword [ebp - 0x4a0], 0xc
mov ecx, dword [ebp - 0x428]
mov dword [ebp - 0x49c], ecx
mov dword [ebp - 0x498], 0
mov edx, dword [ebp - 0x424]
push edx
push str.Log:CreateMutexA_:__s_n
mov eax, dword [0x517b78]
push eax
call fcn.00406cc0
add esp, 0xc
mov ecx, dword [ebp - 0x424]
push ecx
push 1
lea edx, [ebp - 0x4a0]
push edx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x454], eax
mov eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x454], 0
je 0x40f3b7
push 0x104
push 0
lea ecx, [ebp - 0x108]
push ecx
call fcn.00419380
add esp, 0xc
push str.Log:Save_64_bit_hider_from_resources_to_disk_and_Copy_EDR_resources_into_it.._n
mov edx, dword [0x517b78]
push edx
call fcn.00406cc0
add esp, 8
lea eax, [ebp - 0x108]
push eax
call fcn.00410620
add esp, 4
test eax, eax
jne 0x40f1db
lea ecx, [ebp - 0x108]
push ecx
push str.Log:Failed_building__s__exiting__n
mov edx, dword [0x517b78]
push edx
call fcn.00406cc0
add esp, 0xc
push 0x43a9ec
mov eax, dword [0x517b78]
push eax
call fcn.00406cc0
add esp, 8
mov ecx, dword [0x517b78]
call fcn.00406670
xor eax, eax
jmp 0x40f87a
push 0
lea ecx, [ebp - 0x108]
push ecx
mov ecx, dword [0x517b74]
call fcn.00408080
movzx edx, al
test edx, edx
je 0x40f3a8
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x43a654
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00422198
add esp, 8
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
je 0x40f25e
mov edx, dword [ebp - 0x42c]
push edx
lea eax, [ebp - 0x30c]
push eax
call fcn.004220a0
add esp, 8
push 0x43a9f8
push 0
call fcn.00422198
add esp, 8
mov dword [ebp - 0x42c], eax
jmp 0x40f228
lea ecx, [ebp - 0x30c]
push ecx
mov edx, dword [ebp - 0x424]
push edx
push str._s__s
call fcn.00401c10
add esp, 0xc
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x470]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.00410910
add esp, 8
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0xffffffff
jne 0x40f2d0
push str.Log:Failed_to_start_x64Hider._n
mov edx, dword [0x517b78]
push edx
call fcn.00406cc0
add esp, 8
push 0x43aa24
mov eax, dword [0x517b78]
push eax
call fcn.00406cc0
add esp, 8
jmp 0x40f3a8
mov ecx, dword [ebp - 0x420]
push ecx
lea edx, [ebp - 0x108]
push edx
push str.Log:_s_Executed_____lu__n
mov eax, dword [0x517b78]
push eax
call fcn.00406cc0
add esp, 0x10
mov ecx, dword [ebp - 0x420]
push ecx
push 0
push 0x101000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
je 0x40f3a8
mov edx, 1
test edx, edx
je 0x40f3a8
push 0x7d0
mov eax, dword [ebp - 0x44c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0xffffffff
jne 0x40f37d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x420]
push ecx
push str.Log:Failed_while_waiting_for_X64_process___lu___Error___lu_n
mov edx, dword [0x517b78]
push edx
call fcn.00406cc0
add esp, 0x10
push 0x43aa8c
mov eax, dword [0x517b78]
push eax
call fcn.00406cc0
add esp, 8
jmp 0x40f3a8
cmp dword [ebp - 0x450], 0
jne 0x40f3a3
mov ecx, dword [ebp - 0x420]
push ecx
push str.Log:X64_process___lu__finished._n
mov edx, dword [0x517b78]
push edx
call fcn.00406cc0
add esp, 0xc
jmp 0x40f3a8
jmp 0x40f318
mov eax, dword [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40f3e5
mov ecx, dword [ebp - 0x424]
push ecx
push str.Log:Failed_to_create_mutex.___s__n
mov edx, dword [0x517b78]
push edx
call fcn.00406cc0
add esp, 0xc
push 0x43aae0
mov eax, dword [0x517b78]
push eax
call fcn.00406cc0
add esp, 8
xor eax, eax
jmp 0x40f87a
mov dword [ebp - 0x458], 0
lea ecx, [ebp - 0x458]
push ecx
lea edx, [ebp - 0x4b0]
push edx
lea eax, [ebp - 0x4b4]
push eax
push 0x43aaec
mov ecx, dword [0x517b74]
call fcn.00407fb0
movzx ecx, al
test ecx, ecx
jne 0x40f44b
push 0x43ab00
mov edx, dword [0x517b78]
push edx
call fcn.00406cc0
add esp, 8
push 0x43ab88
call fcn.00401b80
add esp, 4
mov dword [ebp - 0x418], eax
jmp 0x40f465
mov eax, dword [ebp - 0x458]
push eax
push 0x43abec
call fcn.00401b80
add esp, 8
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x45c], 0
lea ecx, [ebp - 0x45c]
push ecx
lea edx, [ebp - 0x4a4]
push edx
lea eax, [ebp - 0x4b8]
push eax
push 0x43abf4
mov ecx, dword [0x517b74]
call fcn.00407fb0
movzx ecx, al
test ecx, ecx
jne 0x40f4d6
push 0x43ac00
mov edx, dword [0x517b78]
push edx
call fcn.00406cc0
add esp, 8
push 0x43ac2c
mov eax, dword [0x517b78]
push eax
call fcn.00406cc0
add esp, 8
mov ecx, dword [0x517b78]
call fcn.00406670
xor eax, eax
jmp 0x40f87a
mov ecx, dword [ebp - 0x45c]
push ecx
push 0x43ac38
call fcn.00401b80
add esp, 8
mov dword [ebp - 0x438], eax
mov edx, dword [ebp - 0x418]
push edx
push 0x43ac40
mov eax, dword [0x517b78]
push eax
call fcn.00406cc0
add esp, 0xc
mov ecx, dword [ebp - 0x438]
push ecx
push 0x43ac60
mov edx, dword [0x517b78]
push edx
call fcn.00406cc0
add esp, 0xc
push 0x104
call fcn.004168a6
add esp, 4
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x41c], eax
push 0x104
push 0
mov ecx, dword [ebp - 0x41c]
push ecx
call fcn.00419380
add esp, 0xc
mov edx, dword [ebp - 0x41c]
push edx
call fcn.00410710
add esp, 4
test eax, eax
je 0x40f7cb
mov eax, dword [ebp - 0x438]
push eax
mov ecx, dword [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
call fcn.004137f0
add esp, 0xc
test eax, eax
je 0x40f783
push 0
push 0
mov eax, dword [ebp - 0x418]
push eax
push 0
push 1
push 0x43ac78
mov ecx, dword [0x517b78]
call fcn.00406f90
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push 0
push 1
push 0x43ac88
mov ecx, dword [0x517b78]
call fcn.00406f90
push 0
push 0
push 0
push 0x4126c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x517b88], eax
mov byte [ebp - 0x411], 0
push 0x43acb0
mov ecx, dword [0x517b78]
push ecx
call fcn.00406cc0
add esp, 8
call fcn.0040f8e0
mov byte [ebp - 0x411], al
movzx edx, byte [ebp - 0x411]
push edx
push 0x43acd8
mov eax, dword [0x517b78]
push eax
call fcn.00406cc0
add esp, 0xc
movzx ecx, byte [ebp - 0x411]
test ecx, ecx
je 0x40f76e
push 0
mov edx, dword [ebp - 0x41c]
push edx
call fcn.00410910
add esp, 8
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0xffffffff
je 0x40f726
mov eax, dword [ebp - 0x434]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
push 0x43ad08
call fcn.00401c10
add esp, 0xc
mov dword [ebp - 0x430], eax
push 0
push 0
mov edx, dword [ebp - 0x430]
push edx
push 0
push 1
push 0x43ad14
mov ecx, dword [0x517b78]
call fcn.00406e60
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x478], eax
push 1
mov ecx, dword [ebp - 0x478]
push ecx
call fcn.00416898
add esp, 8
mov dword [ebp - 0x430], 0
push 0
push 0
mov edx, dword [ebp - 0x434]
push edx
push 0x410460
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x517b84], eax
push 0x43ad24
mov eax, dword [0x517b78]
push eax
call fcn.00406cc0
add esp, 8
push 0xffffffffffffffff
mov ecx, dword [0x517b88]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x43ad4c
mov edx, dword [0x517b78]
push edx
call fcn.00406cc0
add esp, 8
jmp 0x40f76c
push 0x43ad68
mov eax, dword [0x517b78]
push eax
call fcn.00406cc0
add esp, 8
push 0
push 0
mov ecx, dword [ebp - 0x41c]
push ecx
push 0
push 0
push 0x43ad84
mov ecx, dword [0x517b78]
call fcn.00406e60
push 0x43ad94
mov edx, dword [0x517b78]
push edx
call fcn.00406cc0
add esp, 8
jmp 0x40f781
push 0x43ada0
mov eax, dword [0x517b78]
push eax
call fcn.00406cc0
add esp, 8
jmp 0x40f7c9
push 0
push 0
mov ecx, dword [ebp - 0x418]
push ecx
push 0
push 0
push 0x43add0
mov ecx, dword [0x517b78]
call fcn.00406f90
push 0x43ade0
mov edx, dword [0x517b78]
push edx
call fcn.00406cc0
add esp, 8
push 0x43ae18
mov eax, dword [0x517b78]
push eax
call fcn.00406cc0
add esp, 8
jmp 0x40f811
push 0
push 0
mov ecx, dword [ebp - 0x418]
push ecx
push 0
push 0
push 0x43ae24
mov ecx, dword [0x517b78]
call fcn.00406f90
push 0x43ae34
mov edx, dword [0x517b78]
push edx
call fcn.00406cc0
add esp, 8
push 0x43ae64
mov eax, dword [0x517b78]
push eax
call fcn.00406cc0
add esp, 8
mov ecx, dword [ebp - 0x418]
mov dword [ebp - 0x47c], ecx
push 2
mov edx, dword [ebp - 0x47c]
push edx
call fcn.00416898
add esp, 8
mov eax, dword [ebp - 0x438]
mov dword [ebp - 0x480], eax
push 2
mov ecx, dword [ebp - 0x480]
push ecx
call fcn.00416898
add esp, 8
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x484], edx
push 1
mov eax, dword [ebp - 0x484]
push eax
call fcn.00416898
add esp, 8
call fcn.00410560
mov ecx, dword [0x517b78]
call fcn.00406670
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416d02
mov esp, ebp
pop ebp
ret 0x10