Function at 0x429430
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4fb9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0xd0
mov eax, dword [0x56b06c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x44], edx
mov esi, ecx
mov dword [ebp - 0x54], esi
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 2
push 0
mov dword [ebp - 0x68], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x64], eax
cmp byte [ebx + 0x10], 0
mov dword [ebp - 4], 0
mov byte [ebp - 0x39], 0
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 1
je 0x42950c
lea eax, [ebp - 0x50]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x429794
mov ecx, dword [ebp - 0x50]
mov edx, str.SeDebugPrivilege
call fcn.00428a00
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x40], esi
cmp esi, 0xffffffff
je 0x4297a6
mov esi, dword [ebp - 0x54]
lea ecx, [ebp - 0x48]
call fcn.0042b510
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 0
je 0x4297b8
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test esi, esi
jne 0x42957a
mov dword [ebp - 0x58], esi
mov eax, 0x16
mov dword [ebp - 0xa8], 1
mov word [ebp - 0xb0], ax
mov byte [ebp - 4], 4
mov eax, 8
movups xmm0, xmmword [ebp - 0xb0]
push 0x5415c4
mov word [ebp - 0xa0], ax
movups xmmword [ebp - 0xd0], xmm0
call edi
mov dword [ebp - 0x98], eax
test eax, eax
je 0x4297d9
jmp 0x42958c
push esi
call edi
mov esi, eax
mov dword [ebp - 0x58], esi
test esi, esi
je 0x4297e3
jmp 0x42952f
movups xmm0, xmmword [ebp - 0xa0]
mov eax, 8
push 0
movups xmmword [ebp - 0xe0], xmm0
mov word [ebp - 0x90], ax
call edi
mov dword [ebp - 0x88], eax
push dword [ebp - 0x44]
mov byte [ebp - 4], 6
mov eax, 8
movups xmm0, xmmword [ebp - 0x90]
mov word [ebp - 0x80], ax
movups xmmword [ebp - 0x30], xmm0
call edi
mov dword [ebp - 0x78], eax
test eax, eax
jne 0x4295dd
cmp dword [ebp - 0x44], eax
jne 0x4297ed
mov byte [ebp - 4], 7
sub esp, 0x10
movups xmm0, xmmword [ebp - 0xd0]
mov eax, dword [ebp - 0x48]
mov ecx, esp
sub esp, 0x10
mov edx, dword [eax]
movups xmmword [ecx], xmm0
mov ecx, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0xe0]
movups xmmword [ecx], xmm0
mov ecx, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [ebp - 0x80]
push esi
push eax
movups xmmword [ecx], xmm0
call dword [edx + 0x7c]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x80]
push eax
call edi
lea eax, [ebp - 0x90]
push eax
call edi
lea eax, [ebp - 0xa0]
push eax
call edi
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 3
push eax
call edi
mov eax, dword [ebp - 0x44]
test eax, eax
js 0x4297f7
cmp byte [ebx + 0x10], 0
je 0x4296de
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
cmp edi, 0xffffffff
je 0x429803
push dword [ebp - 0x54]
lea ecx, [ebp - 0x38]
call fcn.0041df20
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.00428c00
mov ecx, dword [ebp - 0x5c]
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x24]
mov dword [ecx], eax
cmp edx, 8
jb 0x4296e1
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4296d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429815
push edx
push ecx
call fcn.004835cc
add esp, 8
jmp 0x4296e1
mov edi, dword [ebp - 0x40]
push esi
mov byte [ebp - 0x39], 1
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x429739
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x429739
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
je 0x429747
push edi
call esi
mov eax, dword [ebp - 0x4c]
cmp eax, 0xffffffff
je 0x429752
push eax
call esi
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x42975c
push eax
call esi
cmp dword [ebp - 0x64], 0
jl 0x429773
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x68], eax
jne 0x429773
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, byte [ebp - 0x39]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0048358b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov ecx, str.OpenProcessToken_failed.
call fcn.00429b90
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov ecx, str.Failed_to_take_processes_snapshot_before_ShellExecute.
call fcn.00429b90
push str.IShellDispatch2_is_NULL
lea ecx, [ebp - 0xbc]
call fcn.004093c0
push 0x561e84
lea eax, [ebp - 0xbc]
push eax
call fcn.004a92fe
push 0x8007000e
call fcn.004a8670
push 0x8007000e
call fcn.00421000
push 0x8007000e
call fcn.004a8670
mov edx, eax
mov ecx, str.IShellDispatch2.ShellExecute_failed.
call fcn.00429b90
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov ecx, str.Failed_to_take_processes_snapshot_after_ShellExecute.
call fcn.00429b90
call fcn.004b1db8
int3