Function at 0x10c707d
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x111121c]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [0x1114444]
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x258]
mov esi, ecx
push eax
push dword [esi + 0x10]
xor ebx, ebx
mov dword [ebp - 0x258], ebx
call fcn.010b981a
cmp eax, ebx
mov dword [ebp - 0x240], eax
jl 0x10c7671
mov eax, dword [ebp - 0x258]
mov eax, dword [eax + 0x10]
dec eax
je 0x10c74e4
dec eax
je 0x10c7339
dec eax
je 0x10c71b4
dec eax
je 0x10c7115
dec eax
je 0x10c70fc
mov dword [ebp - 0x240], 0x80004005
jmp 0x10c7671
test byte [esi + 0x88], 2
je 0x10c7671
mov ecx, esi
call fcn.010c6476
jmp 0x10c7671
mov eax, dword [ebp - 0x250]
cmp eax, ebx
je 0x10c7153
cmp word [eax], bx
je 0x10c7153
mov edi, dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push 0xff
push 0x101d444
lea eax, [ebp - 0x224]
push eax
call edi
push 0xf8
push dword [ebp - 0x250]
lea eax, [ebp - 0x216]
push eax
call edi
jmp 0x10c716a
push 0xff
push 0x101d7b4
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push 1
push ebx
push ebx
lea eax, [ebp - 0x224]
push eax
push ebx
push ebx
call fcn.010607c9
cmp eax, 0x20
jbe 0x10c7190
push 4
mov ecx, esi
mov dword [ebp - 0x240], ebx
call fcn.010c679e
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x10c71a0
call edi
jmp 0x10c71ac
call edi
and eax, 0xffff
or eax, 0x80070000
push eax
push 2
jmp 0x10c766a
push dword [esi + 0x10]
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x248], ebx
xor edi, edi
call fcn.01064439
lea eax, [ebp - 0x244]
push eax
call fcn.010b7753
test eax, eax
jl 0x10c732c
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x264]
call fcn.010644d2
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
jl 0x10c732c
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x248]
push edx
lea edx, [ebp - 0x254]
push edx
push ebx
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x10]
cmp eax, 0x80158100
jne 0x10c727a
cmp dword [ebp - 0x254], ebx
je 0x10c732c
push dword [ebp - 0x254]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
cmp edi, ebx
pop ecx
je 0x10c7275
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x248]
push edx
lea edx, [ebp - 0x254]
push edx
push edi
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x10]
jmp 0x10c727a
mov eax, 0x80004005
cmp eax, ebx
jl 0x10c7321
test byte [esi + 0x88], 1
je 0x10c72b5
lea eax, [ebp - 0x14]
push eax
call fcn.010b7713
test eax, eax
jne 0x10c72ad
push ebx
push 1
push edi
push dword [ebp - 0x244]
mov ecx, esi
call fcn.010c4e5f
test eax, eax
jl 0x10c7321
mov dword [ebp - 0x240], ebx
jmp 0x10c7321
lea eax, [ebp - 0x24c]
push eax
push 0x101b048
push 1
push ebx
push 0x101b058
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10c730b
push dword [ebp - 0x250]
lea eax, [ebp - 0x14]
push dword [ebp - 0x24c]
push eax
call fcn.010b8a19
test eax, eax
jl 0x10c730b
push dword [ebp - 0x24c]
mov ecx, esi
push ebx
push edi
push dword [ebp - 0x244]
call fcn.010c4e5f
test eax, eax
jl 0x10c730b
mov dword [ebp - 0x240], ebx
mov eax, dword [ebp - 0x24c]
cmp eax, ebx
je 0x10c7321
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x24c], ebx
cmp edi, ebx
je 0x10c732c
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 0x240]
push 8
jmp 0x10c73ea
lea eax, [ebp - 0x244]
push eax
push 0x10042d8
push 1
push ebx
push 0x10042c8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10c7671
test byte [esi + 0x88], 1
push dword [esi + 0x10]
lea ecx, [ebp - 0x264]
je 0x10c7401
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x238], bx
call fcn.01064439
lea ecx, [ebp - 0x264]
call fcn.010644d2
push ebx
lea edx, [ebp - 0x23c]
push edx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax]
push 0x10c4d62
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x10c73e2
cmp dword [ebp - 0x23c], ebx
je 0x10c73e2
lea eax, [ebp - 0x34]
push eax
call fcn.010b7733
test eax, eax
jne 0x10c73dc
push ebx
push ebx
push 1
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x244]
mov ecx, esi
call fcn.010c5904
test eax, eax
jl 0x10c73e2
mov dword [ebp - 0x240], ebx
push dword [ebp - 0x240]
push 9
mov ecx, esi
call fcn.010c6145
lea ecx, [ebp - 0x264]
call fcn.01064479
jmp 0x10c7671
mov dword [ebp - 0x248], 0x100
call fcn.01064439
push dword [ebp - 0x250]
lea ecx, [ebp - 0x10]
call fcn.01064439
lea ecx, [ebp - 0x264]
call fcn.010644d2
test eax, eax
je 0x10c74cb
lea ecx, [ebp - 0x10]
call fcn.01064509
test eax, eax
je 0x10c74cb
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x264]
call fcn.010644d2
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
jl 0x10c74cb
mov eax, dword [ebp - 0x244]
mov edi, dword [eax]
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x10]
call fcn.01064509
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea ecx, [ebp - 0x10]
call fcn.01064509
push eax
push 0x10042b8
push 0x10042e8
push dword [ebp - 0x244]
call dword [edi + 0x10]
test eax, eax
jne 0x10c74cb
push dword [ebp - 0x248]
lea eax, [ebp - 0x124]
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x244]
mov ecx, esi
call fcn.010c5904
test eax, eax
jl 0x10c74cb
mov dword [ebp - 0x240], ebx
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x10]
call fcn.01064479
jmp 0x10c73f1
mov ecx, esi
call fcn.010c6219
cmp edi, ebx
je 0x10c7501
push 0x101d4c8
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10c7513
push 0x101d518
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10c7541
push dword [esi + 0x28]
mov ecx, edi
call fcn.010bf98f
mov edi, eax
cmp edi, ebx
je 0x10c761b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push ebx
mov ecx, edi
mov dword [esi + 0xac], eax
call fcn.010caef1
jmp 0x10c75f1
cmp dword [esi + 0xc8], ebx
je 0x10c761b
mov eax, dword [ebp - 0x258]
mov eax, dword [eax + 0xc]
cmp eax, ebx
mov dword [ebp - 0x248], eax
je 0x10c761b
cmp word [eax], bx
je 0x10c761b
push 0x11
xor eax, eax
pop ecx
lea edi, [ebp - 0x2a8]
rep stosd dword es:[edi], eax
lea edi, [esi + 0xb0]
mov eax, dword [edi]
cmp eax, ebx
mov dword [ebp - 0x2a8], 0x44
je 0x10c7597
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0xb4]
cmp eax, ebx
je 0x10c75a8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esi + 0xb0]
push eax
lea eax, [ebp - 0x2a8]
push eax
push ebx
push ebx
push 4
push ebx
push ebx
push ebx
push dword [ebp - 0x248]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10c7611
mov eax, dword [esi + 0xb8]
push dword [esi + 0xb4]
mov dword [esi + 0xac], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x10c7611
mov edi, dword [esi + 0xc]
call fcn.010b9646
push eax
lea ecx, [esi + 0xc]
call dword [edi + 0x80]
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov dword [ebp - 0x240], ebx
jmp 0x10c761b
mov dword [ebp - 0x240], 0x80004005
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x101d478
push dword [esi + 0x10]
call edi
test eax, eax
jne 0x10c7639
push dword [ebp - 0x240]
push 6
jmp 0x10c766a
push 0x101d4c8
push dword [esi + 0x10]
call edi
test eax, eax
jne 0x10c7651
push dword [ebp - 0x240]
push 1
jmp 0x10c766a
push 0x101d518
push dword [esi + 0x10]
call edi
test eax, eax
push dword [ebp - 0x240]
jne 0x10c7668
push ebx
jmp 0x10c766a
push 0xa
mov ecx, esi
call fcn.010c6145
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x240]
pop edi
pop esi
pop ebx
call fcn.0105ec09
leave
ret 4