Function at 0x100d71b
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
xor ebx, ebx
push 0x40
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], ebx
call sub.msvcrt.dll_memset
mov dword [ebp - 0x34], ebx
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
lea ecx, [ebp - 0x24]
stosd dword es:[edi], eax
call fcn.0101292a
lea ecx, [ebp - 0xc]
call fcn.0101292a
lea ecx, [ebp - 0x18]
call fcn.0101292a
push ebx
push ebx
lea ecx, [ebp - 0xc]
call fcn.01013455
mov esi, eax
cmp esi, ebx
jge 0x100d794
mov eax, dword [0x101d014]
cmp eax, 0x101d014
je 0x100d9c3
test byte [eax + 0x1c], 1
je 0x100d9c3
push esi
push 0x1002450
push 0x24
jmp 0x100d84e
push 0x1002594
lea ecx, [ebp - 0xc]
call fcn.01012e45
mov esi, eax
cmp esi, ebx
jge 0x100d7ce
mov eax, dword [0x101d014]
cmp eax, 0x101d014
je 0x100d9c3
test byte [eax + 0x1c], 1
je 0x100d9c3
push esi
push 0x1002450
push 0x25
jmp 0x100d84e
lea ecx, [ebp - 0xc]
call fcn.01012949
push eax
lea eax, [ebp - 0x24]
push 0x1002580
push eax
call fcn.010136de
mov esi, eax
add esp, 0xc
cmp esi, ebx
jge 0x100d812
mov eax, dword [0x101d014]
cmp eax, 0x101d014
je 0x100d9c3
test byte [eax + 0x1c], 1
je 0x100d9c3
push esi
push 0x1002450
push 0x26
jmp 0x100d84e
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0x1002518
push eax
call fcn.010136de
mov esi, eax
add esp, 0xc
cmp esi, ebx
jge 0x100d85e
mov eax, dword [0x101d014]
cmp eax, 0x101d014
je 0x100d9c3
test byte [eax + 0x1c], 1
je 0x100d9c3
push esi
push 0x1002450
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100dc70
jmp 0x100d9c3
lea ecx, [ebp - 0x18]
call fcn.01012949
push eax
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp + 8], eax
cmp eax, ebx
jne 0x100d8c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x100d88e
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [0x101d014]
cmp eax, 0x101d014
je 0x100d9b5
test byte [eax + 0x1c], 1
je 0x100d9b5
push esi
push 0x1002450
push 0x28
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100dc70
jmp 0x100d9b5
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x78], 0x44
call fcn.010128a5
push eax
lea ecx, [ebp - 0xc]
call fcn.01012949
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100d92d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x100d907
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [0x101d014]
cmp eax, 0x101d014
je 0x100d9b5
test byte [eax + 0x1c], 1
je 0x100d9b5
push esi
push 0x1002450
push 0x29
jmp 0x100d8b2
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, 0x4e20
push ebx
push dword [ebp + 8]
call esi
mov edi, 0x102
cmp eax, edi
jne 0x100d96b
mov eax, dword [0x101d014]
cmp eax, 0x101d014
je 0x100d96b
test byte [eax + 0x1c], 2
je 0x100d96b
push 0x1002450
push 0x2a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010043b6
cmp dword [ebp - 0x34], 0
je 0x100d9b1
push ebx
push dword [ebp - 0x34]
call esi
cmp eax, edi
jne 0x100d9b1
mov eax, dword [0x101d014]
cmp eax, 0x101d014
je 0x100d99f
test byte [eax + 0x1c], 1
je 0x100d99f
push 0x1002450
push 0x2b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010043b6
push 0
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, 0x80004005
jmp 0x100d9b3
xor esi, esi
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x100d9c3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x34], ebx
je 0x100d9d4
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x30], ebx
je 0x100d9e5
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x18]
call fcn.0101293c
lea ecx, [ebp - 0xc]
call fcn.0101293c
lea ecx, [ebp - 0x24]
call fcn.0101293c
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4