Function at 0x662150be
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66236eff
mov eax, dword fs:[0]
push eax
sub esp, 0x9b0
mov eax, dword [0x66274018]
xor eax, esp
mov dword [esp + 0x9a8], eax
push ebx
push esi
push edi
mov eax, dword [0x66274018]
xor eax, esp
push eax
lea eax, [esp + 0x9c0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea eax, [esp + 0x398]
push eax
mov dword [esp + 0x5c], ecx
mov esi, edx
call fcn.66226d09
lea eax, [esp + 0x394]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x66215a2b
xor ebx, ebx
cmp byte [ebp + 0xc], bl
mov dword [esp + 0x44], ebx
je 0x6621513e
mov dword [esp + 0x44], 1
push dword [ebp + 0x10]
lea eax, [esp + 0x398]
push eax
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call fcn.6621617b
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov dword [esp + 0x9c8], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x9c8], 3
mov edi, dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCIPtrBase::Empty_void_]
lea ecx, [esp + 0x24]
call edi
lea eax, [esp + 0x24]
push eax
push 0x6624a398
push 0x17
push ebx
push 0x6624a3d8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x662151ac
mov byte [esp + 0x9c8], bl
lea ecx, [esp + 0x24]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCAnyIPtr::destructor_void_]
jmp 0x662154f5
mov dword [esp + 0x20], ebx
mov byte [esp + 0x9c8], 8
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.6621ce11
mov byte [esp + 0x9c8], 9
cmp dword [eax], ebx
setl byte [esp + 0x13]
mov byte [esp + 0x9c8], 8
lea ecx, [esp + 0x5c]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCError::destructor_void_]
cmp byte [esp + 0x13], bl
je 0x66215206
mov byte [esp + 0x9c8], 3
lea eax, [esp + 0x20]
push eax
call fcn.661c7d37
jmp 0x66215196
mov dword [esp + 0x28], ebx
mov byte [esp + 0x9c8], 0xe
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x66215238
lea ecx, [esp + 0x28]
call edi
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push 0x6624a3a8
push esi
call dword [eax]
cmp eax, ebx
sete al
cmp al, bl
jne 0x66215263
mov byte [esp + 0x9c8], 8
mov esi, dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCAnyIPtr::destructor_void_]
lea ecx, [esp + 0x28]
call esi
mov byte [esp + 0x9c8], 3
lea eax, [esp + 0x20]
push eax
call fcn.661c7d37
jmp 0x662154e8
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.6621cdd8
mov byte [esp + 0x9c8], 0x13
cmp dword [eax], ebx
setl byte [esp + 0x13]
mov byte [esp + 0x9c8], 0xe
lea ecx, [esp + 0x5c]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCError::destructor_void_]
cmp byte [esp + 0x13], bl
je 0x662152c8
mov byte [esp + 0x9c8], 8
mov esi, dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCAnyIPtr::destructor_void_]
lea ecx, [esp + 0x28]
call esi
mov byte [esp + 0x9c8], 3
lea eax, [esp + 0x20]
push eax
call fcn.661c7d37
jmp 0x662154e8
cmp dword [esp + 0x58], ebx
mov dword [esp + 0x18], ebx
jle 0x662154c2
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x9c8], 0x1a
push dword [esp + 0x18]
lea esi, [esp + 0x90]
call fcn.661c81af
mov byte [esp + 0x9c8], 0x1b
mov ebx, dword [esp + 0x28]
lea ecx, [esp + 0x1c]
push ecx
sub esp, 0x10
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x70]
push eax
movsd dword es:[edi], dword [esi]
call fcn.6621cd3d
mov byte [esp + 0x9c8], 0x1c
xor ebx, ebx
cmp dword [eax], ebx
setl byte [esp + 0x13]
mov byte [esp + 0x9c8], 0x1b
mov edi, dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCError::destructor_void_]
lea ecx, [esp + 0x5c]
call edi
mov byte [esp + 0x9c8], 0x1a
cmp word [esp + 0x8c], bx
je 0x6621535c
lea ecx, [esp + 0x8c]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCVariant::_Release_void_]
cmp byte [esp + 0x13], bl
jne 0x6621549c
cmp dword [esp + 0x1c], ebx
je 0x6621549c
mov dword [esp + 0x14], ebx
mov byte [esp + 0x9c8], 0x1f
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x6621548a
lea ecx, [esp + 0x14]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCIPtrBase::Empty_void_]
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push 0x6624a278
push esi
call dword [eax]
cmp eax, ebx
sete al
cmp al, bl
je 0x6621548a
lea eax, [esp + 0xfc]
push eax
call fcn.661c89f3
mov byte [esp + 0x9c8], 0x20
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0xfc]
push eax
call fcn.662279d6
test dword [esp + 0x128], 0x20000000
je 0x66215475
mov eax, dword [esp + 0x390]
cmp eax, ebx
je 0x66215475
cmp word [eax], bx
je 0x66215475
test dword [esp + 0x128], 0x10000000
je 0x66215475
push eax
lea eax, [esp + 0x5a0]
push eax
call fcn.66226d09
lea eax, [esp + 0x394]
push eax
lea ecx, [esp + 0x5a0]
call fcn.661c102d
test eax, eax
jne 0x66215475
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.6621cd01
mov byte [esp + 0x9c8], 0x21
cmp dword [eax], ebx
setl byte [esp + 0x13]
mov byte [esp + 0x9c8], 0x20
lea ecx, [esp + 0x78]
call edi
cmp byte [esp + 0x13], bl
jne 0x66215475
mov esi, dword [esp + 0x48]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x66215757
mov byte [esp + 0x9c8], 0x1f
lea eax, [esp + 0xfc]
push eax
call fcn.661c9d9c
mov byte [esp + 0x9c8], 0x1a
lea eax, [esp + 0x14]
push eax
call fcn.661c7d37
mov byte [esp + 0x9c8], 0xe
lea eax, [esp + 0x1c]
push eax
call fcn.661c7d37
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
xor ebx, ebx
cmp eax, dword [esp + 0x58]
jl 0x662152d6
mov byte [esp + 0x9c8], 8
mov esi, dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCAnyIPtr::destructor_void_]
lea ecx, [esp + 0x28]
call esi
mov byte [esp + 0x9c8], 3
lea eax, [esp + 0x20]
push eax
call fcn.661c7d37
mov byte [esp + 0x9c8], bl
lea ecx, [esp + 0x24]
call esi
mov esi, 0x105
push esi
lea eax, [esp + 0x7a8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
mov edi, eax
cmp edi, ebx
jne 0x66215519
push 0x2e746f6e
call fcn.661c806f
cmp edi, esi
jbe 0x6621552c
push 0x80004005
push 0x2e6b3474
call fcn.661c8172
mov dword [esp + 0x34], ebx
mov byte [esp + 0x9c8], 0x30
mov edi, dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCStr::Set_wchar_t_const__]
lea eax, [esp + 0x7a4]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
call edi
mov byte [esp + 0x9c8], 0x31
push dword [esp + 0x18]
mov esi, dword [sym.imp.GrooveUtil.DLL_public:_long_int___cdecl_GCStr::Format_wchar_t_const__]
lea eax, [esp + 0x38]
push str._sExplorer.exe
push eax
call esi
add esp, 0xc
mov byte [esp + 0x9c8], 0x30
cmp dword [esp + 0x18], ebx
je 0x66215589
lea ecx, [esp + 0x18]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_]
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x9c8], 0x32
lea eax, [esp + 0x394]
push eax
push dword [esp + 0x38]
lea eax, [esp + 0x44]
push str.__s___s
push eax
call esi
add esp, 0x10
lea eax, [esp + 0x48]
push eax
call fcn.662284d0
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov byte [esp + 0x9c8], 0x33
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x9c8], 0x34
push eax
lea esi, [esp + 0x54]
call fcn.661c7d20
mov byte [esp + 0x9c8], 0x35
push ebx
lea eax, [esp + 0x50]
call fcn.6620fe28
mov byte [esp + 0x9c8], 0x36
mov dword [esp + 0x40], ebx
mov byte [esp + 0x9c8], 0x39
lea ecx, [esp + 0x40]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCIPtrBase::Empty_void_]
lea eax, [esp + 0x40]
push eax
push 0x662408d0
push 0x17
push ebx
push 0x66247dc8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
lea eax, [esp + 0x394]
push eax
lea ecx, [esp + 0x30]
setge byte [esp + 0x17]
mov dword [esp + 0x30], ebx
call edi
mov byte [esp + 0x9c8], 0x3a
push dword [esp + 0x54]
push dword [esp + 0x30]
call fcn.66215a51
push dword [esp + 0x44]
push dword [esp + 0x30]
call fcn.66215c2a
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.66215dc9
cmp byte [esp + 0x13], bl
je 0x66215685
push dword [esp + 0x38]
push dword [esp + 0x30]
call fcn.66215fa2
push 0x44
pop esi
push esi
lea eax, [esp + 0xb8]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x10
lea eax, [esp + 0xa8]
push ebx
push eax
mov dword [esp + 0xc0], esi
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xb8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esp + 0x5c]
push dword [esp + 0x58]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x662156eb
push 0x80004005
push 0x2e6b3474
call fcn.661c8172
mov dword [esp + 0x20], ebx
push ebx
mov ebx, dword [esp + 0xac]
lea esi, [esp + 0x24]
call fcn.661c8022
mov byte [esp + 0x9c8], 0x3b
mov ebx, dword [esp + 0xa4]
and dword [esp + 0x18], 0
push 1
lea esi, [esp + 0x1c]
call fcn.661c8022
mov byte [esp + 0x9c8], 0x3c
xor ebx, ebx
cmp byte [esp + 0x13], bl
je 0x6621595d
cmp dword [esp + 0x4c], ebx
jne 0x66215743
push ebx
lea eax, [esp + 0x50]
call fcn.6620fe28
push 0x1770
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x66215968
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x6621576b
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindowAsync]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [esp + 0x54]
lea esi, [esp + 0x90]
call fcn.661c8153
mov byte [esp + 0x9c8], 0x22
mov ebx, dword [esp + 0x14]
sub esp, 0x10
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x66240174
lea eax, [esp + 0x8c]
push eax
movsd dword es:[edi], dword [esi]
call fcn.6621cc6c
mov byte [esp + 0x9c8], 0x22
lea ecx, [esp + 0x78]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCError::destructor_void_]
mov byte [esp + 0x9c8], 0x20
xor esi, esi
cmp word [esp + 0x8c], si
je 0x662157de
lea ecx, [esp + 0x8c]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCVariant::_Release_void_]
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x70], esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
cmp word [esp + 0x5c], si
je 0x662157fe
lea ecx, [esp + 0x5c]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCVariant::_Release_void_]
mov eax, dword [esp + 0x44]
mov word [esp + 0x5c], 0x13
mov dword [esp + 0x64], eax
mov byte [esp + 0x9c8], 0x24
mov ebx, dword [esp + 0x14]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x6c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x662401b4
lea eax, [esp + 0x8c]
push eax
movsd dword es:[edi], dword [esi]
call fcn.6621cc6c
mov byte [esp + 0x9c8], 0x24
lea ecx, [esp + 0x78]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCError::destructor_void_]
mov byte [esp + 0x9c8], 0x20
cmp word [esp + 0x5c], 0
je 0x66215864
lea ecx, [esp + 0x5c]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCVariant::_Release_void_]
push dword [esp + 0x30]
lea esi, [esp + 0x90]
call fcn.661c8153
mov byte [esp + 0x9c8], 0x26
mov ebx, dword [esp + 0x14]
sub esp, 0x10
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x662401ec
lea eax, [esp + 0x8c]
push eax
movsd dword es:[edi], dword [esi]
call fcn.6621cc6c
mov byte [esp + 0x9c8], 0x26
lea ecx, [esp + 0x78]
call dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCError::destructor_void_]
mov byte [esp + 0x9c8], 0x20
xor ebx, ebx
cmp word [esp + 0x8c], bx
je 0x662158d0
lea ecx, [esp + 0x8c]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCVariant::_Release_void_]
mov byte [esp + 0x9c8], 0x1f
lea eax, [esp + 0xfc]
push eax
call fcn.661c9d9c
mov byte [esp + 0x9c8], 0x1a
lea eax, [esp + 0x14]
push eax
call fcn.661c7d37
mov byte [esp + 0x9c8], 0xe
lea eax, [esp + 0x1c]
push eax
call fcn.661c7d37
mov byte [esp + 0x9c8], 8
mov esi, dword [sym.imp.GrooveUtil.DLL_public:_void___thiscall_GCAnyIPtr::destructor_void_]
lea ecx, [esp + 0x28]
call esi
mov byte [esp + 0x9c8], 3
lea eax, [esp + 0x20]
push eax
call fcn.661c7d37
mov byte [esp + 0x9c8], bl
lea ecx, [esp + 0x24]
call esi
or dword [esp + 0x9c8], 0xffffffff
cmp dword [esp + 0x30], ebx
je 0x66215a2b
lea ecx, [esp + 0x30]
call dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_]
jmp 0x66215a2b
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x9c8], 0x3b
cmp dword [esp + 0x18], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x66215986
push dword [esp + 0x18]
call esi
mov dword [esp + 0x18], ebx
mov byte [esp + 0x9c8], 0x3a
cmp dword [esp + 0x20], ebx
je 0x6621599e
push dword [esp + 0x20]
call esi
mov dword [esp + 0x20], ebx
mov byte [esp + 0x9c8], 0x39
cmp dword [esp + 0x2c], ebx
mov esi, dword [sym.imp.GrooveUtil.DLL_private:_void___thiscall_GCStr::_Release_void_]
je 0x662159b8
lea ecx, [esp + 0x2c]
call esi
mov byte [esp + 0x9c8], 0x36
lea eax, [esp + 0x40]
push eax
call fcn.661c7d37
mov byte [esp + 0x9c8], 0x33
lea eax, [esp + 0x4c]
push eax
call fcn.661eb026
mov byte [esp + 0x9c8], 0x32
cmp dword [esp + 0x38], ebx
je 0x662159f0
lea ecx, [esp + 0x38]
call esi
mov byte [esp + 0x9c8], 0x30
cmp dword [esp + 0x3c], ebx
je 0x66215a04
lea ecx, [esp + 0x3c]
call esi
mov byte [esp + 0x9c8], bl
cmp dword [esp + 0x34], ebx
je 0x66215a17
lea ecx, [esp + 0x34]
call esi
or dword [esp + 0x9c8], 0xffffffff
cmp dword [esp + 0x30], ebx
je 0x66215a2b
lea ecx, [esp + 0x30]
call esi
mov ecx, dword [esp + 0x9c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x9a8]
xor ecx, esp
call fcn.66229806
mov esp, ebp
pop ebp
ret 0xc