Function at 0x10077d5b
Capabilities:
Create process on windows
Resume thread
Terminate process

Disassembly:
push 0x104
mov eax, 0x1016899e
call fcn.10163edf
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0xa0], ebx
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], ebx
push eax
call fcn.10077b49
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x9c], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x84], ebx
call fcn.10080fbc
mov ebx, eax
test ebx, ebx
js 0x10077e12
mov edi, dword [ebp - 0x84]
push edi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101a27b8]
call esi
mov esi, dword [edi]
lea eax, [ebp - 0x8c]
push eax
push 0x1001ab7c
push edi
mov ecx, dword [esi]
call dword [0x101a27b8]
call dword [esi]
mov ebx, eax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101a27b8]
call esi
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x94]
jmp 0x10077e1a
xor eax, eax
mov dword [ebp - 0x8c], eax
test ebx, ebx
js 0x10078729
mov esi, dword [eax]
lea ecx, [ebp - 0x9c]
push ecx
push 0x1001ab6c
push eax
mov ecx, dword [esi]
call dword [0x101a27b8]
call dword [esi]
mov esi, eax
test esi, esi
jns 0x10077e6f
mov ecx, dword [0x101923c0]
cmp ecx, 0x101923c0
je 0x10077e69
test byte [ecx + 0x44], 1
je 0x10077e69
push esi
push dword [ecx + 0x3c]
mov edx, 0x1001c480
push dword [ecx + 0x38]
push 0x31
pop ecx
call fcn.100401e4
push esi
jmp 0x10078750
lea ecx, [ebp - 0x90]
mov eax, dword [ebp - 0x9c]
push ecx
mov esi, edi
lea ecx, [ebp - 0x68]
push ecx
sub esp, 0x10
mov ebx, dword [eax]
mov edi, esp
sub esp, 0x10
mov ecx, dword [ebx + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x70]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [0x101a27b8]
call dword [ebx + 0xc]
mov esi, eax
test esi, esi
jns 0x10077ed0
mov ecx, dword [0x101923c0]
cmp ecx, 0x101923c0
je 0x10077e69
test byte [ecx + 0x44], 1
je 0x10077e69
push esi
push dword [ecx + 0x3c]
mov edx, 0x1001c480
push dword [ecx + 0x38]
push 0x32
jmp 0x10077e63
xor ebx, ebx
mov dword [ebp - 0x24], 7
xor eax, eax
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x38], ax
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x90]
call fcn.1005c90c
push 0x44
pop esi
push esi
lea eax, [ebp - 0x110]
push ebx
push eax
call sub.msvcrt.dll_memset
xor eax, eax
mov dword [ebp - 0x110], esi
mov esi, dword [ebp - 0xa0]
inc eax
add esp, 0xc
mov word [ebp - 0xe0], ax
mov eax, 0x101a0d58
mov dword [ebp - 0x108], 0x1001c460
mov dword [ebp - 0xe4], 0x41
mov dword [ebp - 0xcc], eax
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x98], ebx
mov byte [ebp - 4], 8
lea edi, [ebp - 0xb0]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.ole32.dll_CoRevertToSelf]
test eax, eax
jns 0x10077f76
push eax
jmp 0x10078750
mov byte [ebp - 0x69], 1
push ebx
push ebx
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push eax
lea ecx, [ebp - 0x88]
call fcn.1003fe5c
mov ebx, dword [ebp - 0x88]
mov dword [ebp - 0x80], ebx
test ebx, ebx
jne 0x10077fef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x10077fb4
movzx esi, si
or esi, 0x80070000
mov eax, dword [0x101923c0]
cmp eax, 0x101923c0
je 0x10077fda
test byte [eax + 0x44], 1
je 0x10077fda
push esi
push dword [eax + 0x3c]
mov edx, 0x1001c480
push dword [eax + 0x38]
push 0x33
pop ecx
call fcn.100401e4
push esi
lea ecx, [ebp - 0x80]
call fcn.1003f8d8
push 0x10191580
mov eax, ecx
jmp 0x1007875f
and dword [ebp - 0x7c], 0
lea eax, [ebp - 0x7c]
push 0
push esi
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x1007803b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x10078019
movzx esi, si
or esi, 0x80070000
mov eax, dword [0x101923c0]
cmp eax, 0x101923c0
je 0x10077fda
test byte [eax + 0x44], 1
je 0x10077fda
push esi
push dword [eax + 0x3c]
mov edx, 0x1001c480
push dword [eax + 0x38]
push 0x34
jmp 0x10077fd4
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x58]
sub esp, 0x18
mov eax, esp
mov dword [eax], 0x10001e68
mov dword [eax + 0x10], eax
call fcn.10078b80
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x10078064
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0x110]
push ecx
push eax
push dword [ebp - 0x40]
xor eax, eax
push 0x434
push eax
push eax
push eax
push dword [ebp - 0x90]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x100780d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x100780a7
movzx esi, si
or esi, 0x80070000
mov eax, dword [0x101923c0]
cmp eax, 0x101923c0
je 0x10077e69
test byte [eax + 0x44], 1
je 0x10077e69
push esi
push dword [eax + 0x3c]
mov edx, 0x1001c480
push dword [eax + 0x38]
push 0x35
jmp 0x10077e63
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 9
call fcn.10078b19
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x84]
call fcn.1003fe5c
push dword [ebp - 0xac]
lea ecx, [ebp - 0x98]
call fcn.1003fe5c
mov edi, dword [ebp - 0x84]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov ebx, 0x101923c0
test eax, eax
jne 0x1007814c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x101923c0]
cmp eax, ebx
je 0x1007818e
test byte [eax + 0x44], 1
mov ebx, dword [ebp - 0x74]
je 0x10078191
push esi
push dword [ebx]
push dword [ebp - 0xa8]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x36
pop ecx
call fcn.100766b9
jmp 0x10078191
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x10078212
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x101923c0]
cmp eax, ebx
je 0x1007818e
test byte [eax + 0x44], 1
mov ebx, dword [ebp - 0x74]
je 0x10078191
push esi
push dword [ebx]
push dword [ebp - 0xa8]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x37
jmp 0x10078144
mov ebx, dword [ebp - 0x74]
test esi, esi
je 0x10078212
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x100781d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x101923c0]
cmp ecx, 0x101923c0
je 0x100781d8
test byte [ecx + 0x44], 1
je 0x100781d8
push eax
push dword [ebx]
push dword [ebp - 0xa8]
push dword [ecx + 0x3c]
push dword [ecx + 0x38]
push 0x38
pop ecx
call fcn.100766b9
mov ecx, dword [0x101923c0]
test esi, esi
jle 0x100781e7
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x10078212
cmp ecx, 0x101923c0
je 0x10077fda
test byte [ecx + 0x44], 1
je 0x10077fda
push esi
push dword [ecx + 0x3c]
mov edx, 0x1001c480
push dword [ecx + 0x38]
push 0x39
jmp 0x10077fd4
call dword [sym.imp.ole32.dll_CoImpersonateClient]
test eax, eax
jns 0x1007821e
int 0x2c
xor ebx, ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov esi, eax
mov dword [ebp - 0xb4], esi
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x10078280
push ebx
push 0x3e8
mov edx, 0x1388
mov ecx, esi
call fcn.1005ccf9
mov eax, dword [0x101923c0]
cmp eax, 0x101923c0
je 0x10078280
test byte [eax + 0x44], 8
je 0x10078280
push dword [ebp - 0x70]
mov ecx, dword [ebp - 0x74]
push dword [ecx]
push dword [ebp - 0xa8]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x3a
pop ecx
call fcn.10076848
mov eax, dword [0x101a0d88]
mov bl, 1
and dword [ebp - 0xc4], 0
push ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x69], bl
call fcn.1004e812
mov dword [ebp - 0xc8], eax
mov dword [eax], eax
mov dword [eax + 4], eax
xor esi, esi
mov dword [ebp - 0x78], esi
mov byte [ebp - 4], 0xd
mov eax, dword [0x101923c0]
mov edi, dword [ebp - 0x70]
cmp eax, 0x101923c0
je 0x100782e3
test byte [eax + 0x44], 4
je 0x100782e3
mov ecx, dword [ebp - 0x74]
push edi
push dword [ecx]
push dword [ebp - 0xa8]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x3b
pop ecx
call fcn.10076848
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1c]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x10078560
lea ecx, [eax - 1]
cmp ecx, 1
ja 0x1007859c
lea eax, [ebp - 0xc8]
push eax
push 0x10018c3c
push edi
call fcn.10077857
mov eax, dword [ebp - 0xc8]
mov edi, dword [eax]
cmp edi, eax
mov eax, dword [0x101923c0]
je 0x100784cd
test bl, bl
je 0x100784cd
mov edx, dword [edi + 8]
cmp esi, edx
je 0x10078357
lea ecx, [ebp - 0x78]
call fcn.1004fee4
mov esi, dword [ebp - 0x78]
mov ecx, eax
mov eax, dword [0x101923c0]
jmp 0x10078359
mov ecx, esi
test ecx, ecx
je 0x10078495
mov eax, dword [esi]
mov ebx, dword [eax + 0x14]
mov ecx, ebx
call dword [0x101a27b8]
mov ecx, esi
call ebx
mov ecx, dword [esi]
mov dword [ebp - 0xb8], eax
mov ebx, dword [ecx + 0x18]
mov ecx, ebx
call dword [0x101a27b8]
mov ecx, esi
call ebx
and dword [ebp - 0x7c], 0
mov ebx, eax
cmp dword [ebp - 0xa8], ebx
jne 0x100783c9
mov eax, dword [0x101923c0]
cmp eax, 0x101923c0
je 0x1007844f
test byte [eax + 0x44], 4
je 0x1007844f
push dword [ebp - 0x70]
push esi
push ebx
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x3d
pop ecx
call fcn.10076848
jmp 0x1007844a
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_IsProcessInJob]
test eax, eax
jne 0x1007841b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [0x101923c0]
cmp eax, 0x101923c0
je 0x10078490
test byte [eax + 0x44], 1
je 0x10078490
push ecx
push dword [ebp - 0x70]
push esi
push ebx
push dword [eax + 0x3c]
push dword [eax + 0x38]
call fcn.1007687b
mov bl, byte [ebp - 0x69]
jmp 0x100784ba
cmp dword [ebp - 0x7c], 0
je 0x10078469
mov eax, dword [0x101923c0]
cmp eax, 0x101923c0
je 0x1007844f
test byte [eax + 0x44], 4
je 0x1007844f
push ecx
push dword [ebp - 0xa8]
push dword [ebp - 0x70]
push esi
push ebx
push dword [eax + 0x3c]
push dword [eax + 0x38]
call fcn.100768b5
mov eax, dword [0x101923c0]
mov ecx, dword [ebp - 0x74]
cmp dword [ecx], esi
je 0x10078462
mov edx, esi
call fcn.1004fee4
mov eax, dword [0x101923c0]
xor bl, bl
mov byte [ebp - 0x69], bl
jmp 0x100784bf
mov eax, dword [0x101923c0]
cmp eax, 0x101923c0
je 0x10078490
test byte [eax + 0x44], 4
je 0x10078490
push dword [ebp - 0x70]
push esi
push ebx
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x40
pop ecx
call fcn.10076848
jmp 0x10078413
mov bl, byte [ebp - 0x69]
jmp 0x100784bf
cmp eax, 0x101923c0
je 0x100784bf
test byte [eax + 0x44], 1
je 0x100784bf
push dword [ebp - 0x70]
push esi
push dword [ebp - 0xa8]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x41
pop ecx
call fcn.10076848
mov eax, dword [0x101923c0]
mov edi, dword [edi]
cmp edi, dword [ebp - 0xc8]
jne 0x10078334
cmp dword [ebp - 0xbc], 2
jne 0x10078592
push 0x42b
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
test eax, eax
je 0x1007851b
mov eax, dword [0x101923c0]
cmp eax, 0x101923c0
je 0x1007858d
test byte [eax + 0x44], 1
je 0x1007858d
push dword [ebp - 0x70]
push 0
push dword [ebp - 0xa8]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x42
jmp 0x10078582
mov eax, dword [0x101923c0]
cmp eax, 0x101923c0
je 0x1007858d
test byte [eax + 0x44], 1
je 0x1007858d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1007853f
movzx eax, ax
or eax, 0x80070000
push eax
push dword [ebp - 0x70]
mov eax, dword [0x101923c0]
push 0
push dword [ebp - 0xa8]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x43
pop ecx
call fcn.10076932
jmp 0x10078588
mov eax, dword [0x101923c0]
cmp eax, 0x101923c0
je 0x1007858d
test byte [eax + 0x44], 1
je 0x1007858d
push edi
push esi
push dword [ebp - 0xa8]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x3c
pop ecx
call fcn.10076848
mov eax, dword [0x101923c0]
xor bl, bl
mov byte [ebp - 0x69], bl
test bl, bl
jne 0x100782b9
jmp 0x100785ca
mov eax, dword [0x101923c0]
cmp eax, 0x101923c0
je 0x100785ca
test byte [eax + 0x44], 1
je 0x100785ca
push edi
push 0
push dword [ebp - 0xa8]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x44
pop ecx
call fcn.10076848
mov eax, dword [0x101923c0]
mov ecx, dword [ebp - 0x74]
mov ebx, dword [ecx]
test ebx, ebx
je 0x10078668
mov ecx, ebx
mov dword [ebp - 0x7c], ecx
cmp eax, 0x101923c0
je 0x10078620
test byte [eax + 0x44], 4
mov dword [ebp - 0x7c], ecx
je 0x10078620
push dword [ebp - 0x94]
mov eax, dword [ebx]
push dword [ebp - 0x70]
push ebx
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [0x101a27b8]
mov ecx, ebx
call edi
push eax
mov eax, dword [0x101923c0]
push dword [eax + 0x3c]
push dword [eax + 0x38]
call fcn.100768f9
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov dword [ebp - 0x7c], ecx
mov eax, dword [ecx]
push dword [ebp - 0x94]
mov edi, dword [eax + 0x1c]
mov ecx, edi
call dword [0x101a27b8]
mov ecx, dword [ebp - 0x7c]
call edi
mov eax, dword [ebp - 0x74]
push dword [ebp - 0x80]
or dword [ebp - 0x88], 0xffffffff
mov ebx, dword [eax]
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
mov ecx, edi
call dword [0x101a27b8]
mov ecx, ebx
call edi
mov eax, dword [0x101923c0]
test byte [eax + 0x44], 8
je 0x10078668
call fcn.10078956
mov byte [ebp - 4], 0xc
test esi, esi
je 0x10078680
mov eax, dword [esi]
push esi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101a27b8]
call esi
lea ecx, [ebp - 0xc8]
call fcn.10078bdb
lea ecx, [ebp - 0xb4]
call fcn.1003fe40
lea ecx, [ebp - 0x98]
call fcn.1003fe40
lea ecx, [ebp - 0x84]
call fcn.1003fe40
lea ecx, [ebp - 0x88]
call fcn.1003fe40
push 0x101a0d58
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.10045ee3
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x100786ec
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x101a27b8]
call esi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x1007870a
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x101a27b8]
call esi
push dword [ebp - 0x90]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0xa0]
call fcn.1003fe40
call fcn.10163e8e
ret 0xc
mov eax, dword [0x101923c0]
cmp eax, 0x101923c0
je 0x1007874f
test byte [eax + 0x44], 1
je 0x1007874f
push ebx
push dword [eax + 0x3c]
mov edx, 0x1001c480
push dword [eax + 0x38]
push 0x30
pop ecx
call fcn.100401e4
push ebx
lea ecx, [ebp - 0x78]
call fcn.1003f8d8
push 0x10191580
mov eax, ecx
push eax
call sub.msvcrt.dll__CxxThrowException
int3