Function at 0x10c7126
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.010b98c3
cmp eax, ebx
mov dword [ebp - 0x240], eax
jl 0x10c771a
mov eax, dword [ebp - 0x258]
mov eax, dword [eax + 0x10]
dec eax
je 0x10c758d
dec eax
je 0x10c73e2
dec eax
je 0x10c725d
dec eax
je 0x10c71be
dec eax
je 0x10c71a5
mov dword [ebp - 0x240], 0x80004005
jmp 0x10c771a
test byte [esi + 0x88], 2
je 0x10c771a
mov ecx, esi
call fcn.010c651f
jmp 0x10c771a
mov eax, dword [ebp - 0x250]
cmp eax, ebx
je 0x10c71fc
cmp word [eax], bx
je 0x10c71fc
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 0x10c7213
push 0xff
push 0x101d7d0
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.01060869
cmp eax, 0x20
jbe 0x10c7239
push 4
mov ecx, esi
mov dword [ebp - 0x240], ebx
call fcn.010c6847
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x10c7249
call edi
jmp 0x10c7255
call edi
and eax, 0xffff
or eax, 0x80070000
push eax
push 2
jmp 0x10c7713
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.010644d9
lea eax, [ebp - 0x244]
push eax
call fcn.010b77fc
test eax, eax
jl 0x10c73d5
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x264]
call fcn.01064572
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
jl 0x10c73d5
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 0x10c7323
cmp dword [ebp - 0x254], ebx
je 0x10c73d5
push dword [ebp - 0x254]
call fcn.0105f04e
mov edi, eax
cmp edi, ebx
pop ecx
je 0x10c731e
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 0x10c7323
mov eax, 0x80004005
cmp eax, ebx
jl 0x10c73ca
test byte [esi + 0x88], 1
je 0x10c735e
lea eax, [ebp - 0x14]
push eax
call fcn.010b77bc
test eax, eax
jne 0x10c7356
push ebx
push 1
push edi
push dword [ebp - 0x244]
mov ecx, esi
call fcn.010c4f08
test eax, eax
jl 0x10c73ca
mov dword [ebp - 0x240], ebx
jmp 0x10c73ca
lea eax, [ebp - 0x24c]
push eax
push 0x101b060
push 1
push ebx
push 0x101b070
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10c73b4
push dword [ebp - 0x250]
lea eax, [ebp - 0x14]
push dword [ebp - 0x24c]
push eax
call fcn.010b8ac2
test eax, eax
jl 0x10c73b4
push dword [ebp - 0x24c]
mov ecx, esi
push ebx
push edi
push dword [ebp - 0x244]
call fcn.010c4f08
test eax, eax
jl 0x10c73b4
mov dword [ebp - 0x240], ebx
mov eax, dword [ebp - 0x24c]
cmp eax, ebx
je 0x10c73ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x24c], ebx
cmp edi, ebx
je 0x10c73d5
push edi
call fcn.0105eff6
pop ecx
push dword [ebp - 0x240]
push 8
jmp 0x10c7493
lea eax, [ebp - 0x244]
push eax
push 0x10042e0
push 1
push ebx
push 0x10042d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10c771a
test byte [esi + 0x88], 1
push dword [esi + 0x10]
lea ecx, [ebp - 0x264]
je 0x10c74aa
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x238], bx
call fcn.010644d9
lea ecx, [ebp - 0x264]
call fcn.01064572
push ebx
lea edx, [ebp - 0x23c]
push edx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax]
push 0x10c4e0b
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x10c748b
cmp dword [ebp - 0x23c], ebx
je 0x10c748b
lea eax, [ebp - 0x34]
push eax
call fcn.010b77dc
test eax, eax
jne 0x10c7485
push ebx
push ebx
push 1
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x244]
mov ecx, esi
call fcn.010c59ad
test eax, eax
jl 0x10c748b
mov dword [ebp - 0x240], ebx
push dword [ebp - 0x240]
push 9
mov ecx, esi
call fcn.010c61ee
lea ecx, [ebp - 0x264]
call fcn.01064519
jmp 0x10c771a
mov dword [ebp - 0x248], 0x100
call fcn.010644d9
push dword [ebp - 0x250]
lea ecx, [ebp - 0x10]
call fcn.010644d9
lea ecx, [ebp - 0x264]
call fcn.01064572
test eax, eax
je 0x10c7574
lea ecx, [ebp - 0x10]
call fcn.010645a9
test eax, eax
je 0x10c7574
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x264]
call fcn.01064572
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
jl 0x10c7574
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.010645a9
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea ecx, [ebp - 0x10]
call fcn.010645a9
push eax
push 0x10042c0
push 0x10042f0
push dword [ebp - 0x244]
call dword [edi + 0x10]
test eax, eax
jne 0x10c7574
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.010c59ad
test eax, eax
jl 0x10c7574
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.01064519
jmp 0x10c749a
mov ecx, esi
call fcn.010c62c2
cmp edi, ebx
je 0x10c75aa
push 0x101d4c8
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10c75bc
push 0x101d518
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10c75ea
push dword [esi + 0x28]
mov ecx, edi
call fcn.010bfa38
mov edi, eax
cmp edi, ebx
je 0x10c76c4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push ebx
mov ecx, edi
mov dword [esi + 0xac], eax
call fcn.010caf9a
jmp 0x10c769a
cmp dword [esi + 0xc8], ebx
je 0x10c76c4
mov eax, dword [ebp - 0x258]
mov eax, dword [eax + 0xc]
cmp eax, ebx
mov dword [ebp - 0x248], eax
je 0x10c76c4
cmp word [eax], bx
je 0x10c76c4
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 0x10c7640
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0xb4]
cmp eax, ebx
je 0x10c7651
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 0x10c76ba
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 0x10c76ba
mov edi, dword [esi + 0xc]
call fcn.010b96ef
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 0x10c76c4
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 0x10c76e2
push dword [ebp - 0x240]
push 6
jmp 0x10c7713
push 0x101d4c8
push dword [esi + 0x10]
call edi
test eax, eax
jne 0x10c76fa
push dword [ebp - 0x240]
push 1
jmp 0x10c7713
push 0x101d518
push dword [esi + 0x10]
call edi
test eax, eax
push dword [ebp - 0x240]
jne 0x10c7711
push ebx
jmp 0x10c7713
push 0xa
mov ecx, esi
call fcn.010c61ee
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x240]
pop edi
pop esi
pop ebx
call fcn.0105eca9
leave
ret 4