Function at 0x102e38b
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.01014810
lea ecx, [ebp - 0xc]
call fcn.01014810
lea ecx, [ebp - 0x18]
call fcn.01014810
push ebx
push ebx
lea ecx, [ebp - 0xc]
call fcn.01015552
mov esi, eax
cmp esi, ebx
jge 0x102e404
mov eax, dword [section..data]
cmp eax, section..data
je 0x102e633
test byte [eax + 0x1c], 1
je 0x102e633
push esi
push 0x1006378
push 0x24
jmp 0x102e4be
push 0x10064b0
lea ecx, [ebp - 0xc]
call fcn.01014dd1
mov esi, eax
cmp esi, ebx
jge 0x102e43e
mov eax, dword [section..data]
cmp eax, section..data
je 0x102e633
test byte [eax + 0x1c], 1
je 0x102e633
push esi
push 0x1006378
push 0x25
jmp 0x102e4be
lea ecx, [ebp - 0xc]
call fcn.01015d45
push eax
lea eax, [ebp - 0x24]
push 0x100649c
push eax
call fcn.010157db
mov esi, eax
add esp, 0xc
cmp esi, ebx
jge 0x102e482
mov eax, dword [section..data]
cmp eax, section..data
je 0x102e633
test byte [eax + 0x1c], 1
je 0x102e633
push esi
push 0x1006378
push 0x26
jmp 0x102e4be
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0x1006440
push eax
call fcn.010157db
mov esi, eax
add esp, 0xc
cmp esi, ebx
jge 0x102e4ce
mov eax, dword [section..data]
cmp eax, section..data
je 0x102e633
test byte [eax + 0x1c], 1
je 0x102e633
push esi
push 0x1006378
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
jmp 0x102e633
lea ecx, [ebp - 0x18]
call fcn.01015d45
push eax
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp + 8], eax
cmp eax, ebx
jne 0x102e532
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x102e4fe
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x102e625
test byte [eax + 0x1c], 1
je 0x102e625
push esi
push 0x1006378
push 0x28
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
jmp 0x102e625
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.0101478b
push eax
lea ecx, [ebp - 0xc]
call fcn.01015d45
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x102e59d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x102e577
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x102e625
test byte [eax + 0x1c], 1
je 0x102e625
push esi
push 0x1006378
push 0x29
jmp 0x102e522
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 0x102e5db
mov eax, dword [section..data]
cmp eax, section..data
je 0x102e5db
test byte [eax + 0x1c], 2
je 0x102e5db
push 0x1006378
push 0x2a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
cmp dword [ebp - 0x34], 0
je 0x102e621
push ebx
push dword [ebp - 0x34]
call esi
cmp eax, edi
jne 0x102e621
mov eax, dword [section..data]
cmp eax, section..data
je 0x102e60f
test byte [eax + 0x1c], 1
je 0x102e60f
push 0x1006378
push 0x2b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
push 0
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, 0x80004005
jmp 0x102e623
xor esi, esi
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x102e633
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x34], ebx
je 0x102e644
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x30], ebx
je 0x102e655
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x18]
call fcn.01014822
lea ecx, [ebp - 0xc]
call fcn.01014822
lea ecx, [ebp - 0x24]
call fcn.01014822
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4