Function at 0x43e550
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d0cb
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x570be0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push str.ProcessKiller
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x58], ebx
call fcn.004204a0
mov dword [ebp - 4], 0
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
lea esi, [ebx + 4]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 4
mov byte [ebp - 4], 1
call fcn.004e7273
add esp, 4
test eax, eax
je 0x43e5c3
mov dword [eax], vtable.CWebInstallerLogger.0
jmp 0x43e5c5
xor eax, eax
mov dword [ebx + 8], eax
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
mov byte [ebx], 1
call fcn.00421fc0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x43e5f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, str.Started
mov byte [ebp - 4], 4
test eax, 0xffff0000
jne 0x43e63c
movzx ecx, ax
call fcn.0041fcd0
test eax, eax
je 0x43e649
mov edx, str.Started
movzx ecx, dx
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.00420bb0
jmp 0x43e649
push str.Started
lea ecx, [ebp - 0x24]
call fcn.00420650
push str.Ctor
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004204a0
mov byte [ebp - 4], 6
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.004215a0
add esp, 4
mov byte [ebp - 4], 8
cmp dword [ebx + 8], 0
je 0x43e69e
push 0
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.004216b0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43e6be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43e6de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43e6fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43e71e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x34]
push eax
push 0x20
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43ea67
lea eax, [ebp - 0x54]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x43ea67
mov eax, dword [ebp - 0x54]
push 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x50]
push 0
push 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x43e879
push str.Successfully_changed_token_privileges
lea ecx, [ebp - 0x24]
call fcn.00420550
push str.Ctor
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.004204a0
mov byte [ebp - 4], 0xa
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.004215a0
add esp, 4
mov byte [ebp - 4], 0xc
cmp dword [ebx + 8], 0
je 0x43e7f2
push 0
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.004216b0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43e812
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43e832
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43e852
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x43ea67
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43ea67
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43e88e
movzx esi, si
or esi, 0x80070000
push str.Error:
lea ecx, [ebp - 0x30]
call fcn.00420550
push str.Failed_to_change_token_privileges
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call fcn.00420550
push str.Ctor
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call fcn.004204a0
mov edx, esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
call fcn.00421630
mov esi, eax
mov byte [ebp - 4], 0x10
mov edx, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x11
call fcn.004215a0
push 0x5781d0
mov edx, eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x12
call fcn.004215a0
lea ecx, [ebp - 0x30]
push ecx
mov edx, eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
call fcn.004215a0
push esi
mov edx, eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x14
call fcn.004215a0
add esp, 0x10
mov byte [ebp - 4], 0x15
cmp dword [ebx + 8], 0
je 0x43e949
push 2
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebx + 4]
push eax
call fcn.004216b0
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43e969
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43e989
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43e9a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43e9c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43e9e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43ea09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43ea29
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43ea49
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x43ea67
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6e0a
mov esp, ebp
pop ebp
ret