Function at 0x43a45c
Capabilities:
Acquire debug privileges

Disassembly:
push 0x44
mov eax, 0x5158ea
call fcn.004d8abf
mov ebx, edx
mov dword [ebp - 0x2c], ebx
mov esi, ecx
mov dword [ebp - 0x30], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
mov edx, str.SeDebugPrivilege
call fcn.0040124a
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00407189
xor eax, eax
mov dword [ebp - 0x1c], eax
test ebx, ebx
je 0x43a668
mov ebx, dword [ebp + 8]
mov esi, dword [esi + eax*4]
mov ecx, ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004beb1a
mov eax, dword [ebp - 0x48]
cmp byte [eax + 0xd], 0
jne 0x43a4c9
cmp esi, dword [eax + 0x10]
jb 0x43a4c9
cmp eax, dword [ebx]
jne 0x43a655
push esi
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x43a64e
lea ecx, [ebp - 0x10]
call fcn.0040687a
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
mov edx, ebx
lea ecx, [ebp - 0x44]
call fcn.0042b443
pop ecx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x44], 0
jge 0x43a532
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
push ebx
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43a652
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
je 0x43a5bf
mov edi, dword [ebp - 0x10]
lea ecx, [edi - 0x10]
call fcn.004070e7
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push 0
push 0x5c
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.004aee68
cmp eax, 0xffffffff
jne 0x43a58a
mov edx, esi
lea ecx, [ebp - 0x20]
call fcn.0042957d
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00405d6e
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, esi
push 1
call fcn.00433918
pop ecx
lea ecx, [esi - 0x10]
test al, al
jne 0x43a5b6
call fcn.00407189
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [edi - 0x10]
jmp 0x43a51d
mov byte [ebp - 4], 3
call fcn.00407189
push 4
call fcn.004d8429
mov esi, eax
mov dword [ebp - 0x14], esi
and dword [esi], 0
push 0x10
mov byte [ebp - 4], 6
call fcn.004d8429
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x24], ebx
mov edi, ebx
pop ecx
pop ecx
mov dword [ebp - 0x38], esi
stosd dword es:[edi], eax
mov dword [ebp - 0x34], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [ebx], vtable.std::_Ref_count_class_ATL::CHandle_.0
inc edi
mov dword [ebx + 0xc], esi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 7
and dword [ebp - 0x24], 0
mov dword [esi], eax
lea eax, [ebp - 0x18]
push eax
call fcn.004ad017
mov esi, eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [esi + 4]
call fcn.004ab844
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.00405d6e
mov ecx, ebx
call fcn.00405adf
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov byte [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x2c]
jb 0x43a49e
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00407189
call fcn.004d8a8d
ret