Function at 0x100cac80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1024edf8
push eax
mov dword fs:[0], esp
sub esp, 0xa8
mov eax, dword [0x103214a0]
test al, 1
jne 0x100cace8
or eax, 1
mov dword [0x103214a0], eax
mov dword [ebp - 4], 0
mov dword [0x103214a4], 0
mov dword [0x103214a8], 0
call fcn.1003f600
push 0x10254a10
mov dword [0x103214a4], eax
call fcn.1006eb53
add esp, 4
mov dword [ebp - 4], 0xffffffff
push esi
push edi
push dword [ebp + 0x10]
call fcn.1003f330
mov edi, dword [eax + 4]
mov esi, dword [eax]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x100cad10
lea ecx, [edi + 4]
mov eax, 1
lock xadd dword [ecx], eax
mov dword [ebp - 4], 1
or esi, 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x100caee6
push 0xc
call fcn.1006e6a7
mov dword [ebp - 0x20], eax
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov dword [eax], vtable.WM::GMFileMapping.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.1003fb40
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov dword [eax], edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
test edx, edx
je 0x100cadad
lea eax, [edx + 4]
mov ecx, esi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100cadad
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov ecx, esi
lea eax, [edx + 8]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100cadad
mov esi, dword [edx]
mov ecx, edx
mov eax, dword [esi + 8]
cmp eax, fcn.1001eaf0
jne 0x100cb020
push 1
call dword [esi]
mov eax, dword [ebp - 0x20]
push eax
push eax
lea eax, [ebp - 0x1c]
push eax
call sym.WMCommon.dll_public:_void___thiscall_WM::GMFuncTaskListSingleton::destructor_void_
mov byte [ebp - 4], 1
mov esi, edi
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x18], esi
test esi, esi
je 0x100cae1e
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100cae1e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100cae1e
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 8]
cmp eax, fcn.1001eaf0
jne 0x100cb027
push 1
call dword [edx]
mov eax, dword [ebp + 0x10]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x100cae2b
mov ecx, dword [eax]
push ecx
push 0x800
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, dword [ebp - 0x20]
mov dword [esi + 4], eax
test eax, eax
je 0x100caf9c
mov eax, dword [esi + 8]
test eax, eax
je 0x100cae62
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 8], 0
push 0x800
push 0
push 0
push 0xf001f
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
test eax, eax
je 0x100caf9c
push dword [ebp + 0x10]
call fcn.1003f330
test edi, edi
je 0x100cae9c
lea ecx, [edi + 4]
mov edx, 1
lock xadd dword [ecx], edx
mov dword [eax], esi
mov esi, dword [eax + 4]
mov dword [eax + 4], edi
test esi, esi
je 0x100caee3
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100caee3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100caee3
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 8]
cmp eax, fcn.1001eaf0
jne 0x100cb02e
push 1
call dword [edx]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x100caef4
mov eax, dword [eax]
push 0x400
push eax
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
push 0x44
lea eax, [ebp - 0x9c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push dword [ebp + 8]
or dword [ebp - 0x70], 0x81
lea ecx, [ebp - 0xb4]
mov eax, 5
mov dword [ebp - 0x9c], 0x44
xorps xmm0, xmm0
mov word [ebp - 0x6c], ax
mov edx, 0x10255ff8
movups xmmword [ebp - 0x40], xmm0
call fcn.10028d10
push 0x10255ff8
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.10028dd0
add esp, 0x20
lea ecx, [ebp - 0xb4]
call fcn.1001a5a0
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x9c]
push ecx
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100cafa3
xor al, al
mov byte [ebp - 0xd], al
jmp 0x100cafb7
xor dl, dl
mov byte [ebp - 0xd], dl
jmp 0x100cafc2
push dword [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x3c]
call esi
mov byte [ebp - 0xd], 1
lea ecx, [ebp - 0x58]
call fcn.1001a5a0
mov dl, byte [ebp - 0xd]
test edi, edi
je 0x100cb00e
or esi, 0xffffffff
lea eax, [edi + 4]
mov ecx, esi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100cb00e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
lock xadd dword [eax], esi
cmp esi, 1
jne 0x100caffb
mov edx, dword [edi]
mov ecx, edi
mov eax, dword [edx + 8]
cmp eax, fcn.1001eaf0
jne 0x100cb035
push esi
call dword [edx]
mov al, byte [ebp - 0xd]
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
pop edi
mov al, dl
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call eax
jmp 0x100cadad
call eax
jmp 0x100cae1e
call eax
jmp 0x100caee3
call eax
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret