Function at 0x102fd59
Capabilities:
Create process on windows

Disassembly:
push 0x60
push 0x1030020
call fcn.010015a0
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x70], ebx
push 0x40
push ebx
lea eax, [ebp - 0x6c]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x2c], ebx
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 0xc]
push esi
mov edi, dword [ebp + 8]
push edi
call fcn.0102fbd9
test eax, eax
jne 0x102fde0
push 0x57
pop ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x102ffb7
test dword [eax + 0x1c], 0x20000
je 0x102ffb7
cmp byte [eax + 0x19], 2
jb 0x102ffb7
push ecx
push 0x1025f6c
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001f65
jmp 0x102ffb7
cmp dword [esi], ebx
je 0x102fe4e
cmp dword [esi + 0xc], ebx
je 0x102fdf3
mov ecx, dword [edi + 0xc]
call fcn.01002917
jmp 0x102fdf8
mov eax, dword [0x104082c]
push eax
mov ecx, dword [edi + 8]
call fcn.0102ba1f
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x102fe3b
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x102ffb7
test dword [eax + 0x1c], 0x20000
je 0x102ffb7
cmp byte [eax + 0x19], 2
jb 0x102ffb7
push dword [ebp - 0x1c]
push 0x1025f6c
push 0x12
jmp 0x102fdd0
push ebx
push ebx
push 1
mov ecx, dword [edi + 8]
call fcn.01002c8e
mov dword [ebp - 0x68], 0x102fff4
mov dword [ebp - 0x70], 0x44
xor eax, eax
inc eax
mov dword [ebp - 0x44], eax
push 2
pop ecx
mov word [ebp - 0x40], cx
mov dword [ebp - 0x44], 0x80000000
cmp dword [esi + 0xc], ebx
je 0x102fe8d
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
push 0xc44
push dword [esi + 8]
push ebx
mov ecx, dword [edi + 0xc]
call fcn.010083c1
mov dword [ebp - 0x1c], eax
jmp 0x102ff09
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.0102f6c9
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x102fed4
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x102ffb7
test dword [eax + 0x1c], 0x20000
je 0x102ffb7
cmp byte [eax + 0x19], 2
jb 0x102ffb7
push dword [ebp - 0x1c]
push 0x1025f6c
push 0x13
jmp 0x102fdd0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push 0xc44
push ebx
push ebx
push ebx
push dword [esi + 8]
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x102ff00
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
push dword [ebp + 0xc]
call dword [sym.imp.ntdll.dll_NtClose]
cmp dword [ebp - 0x1c], ebx
je 0x102ff44
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x102ffb7
test dword [eax + 0x1c], 0x20000
je 0x102ffb7
cmp byte [eax + 0x19], 2
jb 0x102ffb7
push dword [ebp - 0x1c]
push 0x1025f6c
push 0x14
jmp 0x102fdd0
push dword [ebp + 0x10]
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.0102e4b0
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x102ff82
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x102ffb7
test dword [eax + 0x1c], 0x20000
je 0x102ffb7
cmp byte [eax + 0x19], 2
jb 0x102ffb7
push dword [ebp - 0x1c]
push 0x1025f6c
push 0x15
jmp 0x102fdd0
mov eax, dword [0x1040184]
cmp eax, 0x1040184
je 0x102ffb7
test dword [eax + 0x1c], 0x20000
je 0x102ffb7
cmp byte [eax + 0x19], 4
jb 0x102ffb7
push dword [esi]
push dword [esi + 0xc]
push dword [esi + 8]
push 0x1025f6c
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0103924a
mov dword [ebp - 4], 0xfffffffe
call fcn.0102ffd5
mov eax, dword [ebp - 0x1c]
call fcn.01001580
ret 0xc