Function at 0x5ac410
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6560f9
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x6cd05c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
or edi, 0xffffffff
test eax, eax
je 0x5ac64f
mov eax, dword [0x6e89c4]
add eax, 0xfffffff0
push eax
call fcn.00403600
lea esi, [eax + 0x10]
mov dword [ebp - 0x228], esi
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x224]
push 0x6971bc
push eax
call fcn.004043c0
push 0x6971b0
push eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
push eax
call fcn.004044b0
add esp, 0x1c
mov byte [ebp - 4], 4
mov eax, edi
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x5ac4f5
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5ac4f1
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x5ac4f1
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x5ac4f5
mov ecx, edx
call ebx
push dword [esi - 0xc]
lea ecx, [ebp - 0x21c]
push esi
call fcn.00404ee0
push 0x6971c8
lea ecx, [ebp - 0x21c]
call fcn.00404610
push 0x6971cc
lea ecx, [ebp - 0x21c]
call fcn.00404610
mov eax, dword [0x6e89c8]
lea ecx, [ebp - 0x21c]
push dword [eax - 0xc]
push eax
call fcn.00404ee0
push 0x6971d4
lea ecx, [ebp - 0x21c]
call fcn.00404610
push 0x38
lea eax, [ebp - 0x260]
mov dword [ebp - 0x264], 0x3c
push 0
push eax
call fcn.00586ff0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x258], 0x6971d8
mov dword [ebp - 0x254], eax
add esp, 0xc
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x264]
mov dword [ebp - 0x248], 1
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x21c]
mov eax, edi
setne bl
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x5ac60d
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov dword [ebp - 0x220], edx
mov edx, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5ac605
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x220], esi
mov esi, dword [ebp - 0x228]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x5ac5fb
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x5ac60d
mov ecx, edx
call dword [ebp - 0x220]
jmp 0x5ac60d
mov ecx, edx
call dword [ebp - 0x220]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x5ac651
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5ac64b
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x5ac64b
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x5ac651
call edx
jmp 0x5ac651
mov bl, 1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x5ac698
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5ac696
mov eax, dword [ecx + 4]
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
cmp ecx, vtable.ATL::CWin32Heap.0
jne 0x5ac694
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x5ac698
mov ecx, eax
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00583e60
mov esp, ebp
pop ebp
ret 4