Function at 0x466751
Capabilities:
Acquire debug privileges

Disassembly:
push 0x140
mov eax, 0x51c9c9
call fcn.004d8af2
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xc4], ecx
and dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x110], eax
lea ecx, [ecx - 0x10]
call fcn.004070e7
lea edi, [eax + 0x10]
mov dword [ebp - 0x10c], edi
and dword [ebp - 0x98], 0
and dword [ebp - 0xe0], 0
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xe4], 0x80004005
call fcn.0040687a
xor eax, eax
mov byte [ebp - 4], 3
push eax
push eax
push eax
lea eax, [ebp - 0xe4]
push eax
sub esp, 0xc
lea eax, [ebp - 0x114]
mov ecx, esp
lea esi, [ebp - 0x98]
push eax
call fcn.00469abd
mov edx, esi
lea ecx, [ebp - 0xb4]
call fcn.004b3b54
add esp, 0x1c
mov byte [ebp - 4], 4
cmp dword [ebp - 0xb4], 0
jge 0x4668bf
cmp dword [ebp - 0xb0], 0
mov eax, 0x14c3
cmovne eax, dword [ebp - 0xb0]
push eax
push dword [ebp - 0xb4]
push ecx
mov ecx, dword [ebp - 0xac]
mov esi, esp
mov dword [ebp - 0xa8], esi
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0xd8]
mov dword [esi], eax
call fcn.00406620
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 5
push eax
mov ecx, ebx
call fcn.0040121b
mov ecx, dword [ebp - 0xd0]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0xac]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0xdc]
lea ecx, [ecx - 0x10]
call fcn.00407189
cmp dword [ebp - 0x98], 0
je 0x4668a5
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [edi - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00407189
mov eax, ebx
jmp 0x466d0f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xac]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov edx, str.SeDebugPrivilege
lea ecx, [ebp - 0x120]
call fcn.0040124a
mov ecx, dword [ebp - 0x118]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0xd4]
call fcn.004ad089
xor esi, esi
mov dword [ebp - 0xec], esi
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xc8], 0x102
call fcn.0040687a
mov ebx, dword [ebp - 0xc4]
add ebx, 0x14
mov byte [ebp - 4], 8
mov dword [ebp - 0xf0], ebx
test esi, esi
jne 0x466956
mov eax, dword [ebp - 0xe8]
push dword [eax + 8]
push esi
push 4
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
mov esi, eax
mov dword [ebp - 0xec], esi
test esi, esi
jne 0x466956
call fcn.00406710
jmp 0x4669da
and dword [ebp - 0x94], 0
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 9
push eax
mov edx, esi
lea ecx, [ebp - 0x120]
call fcn.0040a0a8
pop ecx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x120], 0
jl 0x4669af
mov eax, dword [ebp - 0x94]
push ecx
mov ecx, esp
mov edi, dword [eax + 4]
lea ebx, [eax + 8]
call fcn.0040687a
lea eax, [ebp - 0xd4]
mov edx, edi
push eax
mov ecx, ebx
call fcn.0043a45c
mov ebx, dword [ebp - 0xf0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x118]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 8
cmp dword [ebp - 0x94], eax
je 0x4669da
lea ecx, [ebp - 0x94]
call fcn.0040ad94
mov edx, dword [ebx]
call fcn.004b55d5
mov eax, dword [ebx]
mov dword [eax], eax
mov eax, dword [ebx]
mov dword [eax + 4], eax
mov edi, dword [ebp - 0xd4]
and dword [ebx + 4], 0
mov edi, dword [edi]
mov dword [ebp - 0xc0], edi
jmp 0x466bee
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
sub ecx, 0x10
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x130], eax
call fcn.004070e7
add eax, 0x10
mov dword [ebp - 0x12c], eax
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x466a2f
lock inc dword [eax + 4]
mov eax, dword [edi + 0x18]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x128], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x124], eax
push 0x14
mov byte [ebp - 4], 0xb
call fcn.004d8429
mov edi, eax
pop ecx
mov dword [ebp - 0xb8], edi
and dword [edi], 0
lea eax, [edi + 4]
and dword [eax], 0
lea ecx, [edi + 8]
mov dword [ebp - 0x100], eax
call fcn.0040687a
and dword [edi + 0xc], 0
mov byte [edi + 0x10], 0
mov dword [ebp - 0xcc], edi
push 0x10
mov byte [ebp - 4], 0xc
call fcn.004d8429
pop ecx
mov ecx, eax
xor edx, edx
mov edi, ecx
mov dword [ebp - 0xbc], ecx
xor eax, eax
mov dword [ebp - 0xac], ecx
inc edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ecx + 4]
mov edi, dword [ebp - 0xb8]
mov dword [ebp - 0xf4], eax
mov dword [eax], edx
mov dword [ecx + 8], edx
mov dword [ecx], vtable.std::_Ref_count_struct_CExecutionState::CProcess_.0
mov dword [ecx + 0xc], edi
mov dword [ebp - 0xb0], edi
mov byte [ebp - 4], 0xd
cmp dword [ebx + 4], 0xfffffff
mov eax, dword [ebx]
mov dword [ebp - 0xcc], eax
je 0x466d17
mov dword [ebp - 0x108], ebx
mov byte [ebp - 4], 0xe
and dword [ebp - 0x104], 0
push 0x10
call fcn.004d8429
mov edx, eax
mov eax, dword [ebp - 0xf4]
pop ecx
and dword [edx + 8], 0
and dword [edx + 0xc], 0
lock inc dword [eax]
mov eax, dword [ebp - 0xbc]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xcc]
and dword [ebp - 0x104], 0
mov dword [edx + 8], edi
mov dword [edx + 0xc], eax
inc dword [ebx + 4]
mov eax, dword [ecx + 4]
mov dword [edx], ecx
mov dword [edx + 4], eax
mov dword [ecx + 4], edx
lea ecx, [ebp - 0x108]
mov dword [eax], edx
call fcn.004b78ac
mov eax, dword [ebp - 0xf8]
lea ecx, [edi + 8]
mov dword [edi], eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00405d6e
mov edi, dword [ebp - 0xfc]
push 0
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0xb8]
test eax, eax
sete cl
mov byte [edx + 0x10], cl
test eax, eax
jne 0x466b8f
lea eax, [edx + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x100]
mov edx, edi
lea ecx, [ebp - 0x140]
call fcn.0042b111
pop ecx
mov ecx, dword [ebp - 0x138]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0xbc]
call fcn.00405adf
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
je 0x466bcf
call fcn.00405adf
mov ecx, dword [ebp - 0x12c]
add ecx, 0xfffffff0
call fcn.00407189
lea ecx, [ebp - 0xc0]
call fcn.004094c2
mov edi, dword [ebp - 0xc0]
cmp byte [edi + 0xd], 0
je 0x466a01
lea ecx, [ebp - 0x9c]
call fcn.0040687a
push ecx
push dword [ebp - 0xc4]
lea edx, [ebp - 0x9c]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x14c]
call fcn.004b3c48
pop ecx
pop ecx
mov ecx, dword [ebp - 0x144]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x9c]
call fcn.00405d14
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xa4]
call fcn.00405d6e
cmp dword [ebp - 0xc8], 0
je 0x466c89
push 0x1f4
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
mov dword [ebp - 0xc8], eax
call fcn.00407189
jmp 0x46692a
mov ecx, dword [ebp - 0x9c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0xa4]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x466cb2
push esi
call edi
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 3
call fcn.004ad0b7
mov esi, dword [ebp - 0xa8]
lea eax, [ebp - 0xe4]
push eax
mov ecx, esi
call fcn.0040121b
mov ecx, dword [ebp - 0xdc]
lea ecx, [ecx - 0x10]
call fcn.00407189
cmp dword [ebp - 0x98], 0
je 0x466cf4
push dword [ebp - 0x98]
call edi
mov ecx, dword [ebp - 0x10c]
add ecx, 0xfffffff0
call fcn.00407189
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, esi
call fcn.004d8aa1
ret 0x14
push str.list_too_long
call fcn.004d6f3b
int3