Function at 0x43e435
Capabilities:
Acquire debug privileges

Disassembly:
push 0x50f24b
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x573be0]
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 [0x574ba4]
mov ecx, 0x574ba4
lea esi, [ebx + 4]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 4
mov byte [ebp - 4], 1
call fcn.004e93a3
add esp, 4
test eax, eax
je 0x43e4a3
mov dword [eax], vtable.CWebInstallerLogger.0
jmp 0x43e4a5
xor eax, eax
mov dword [ebx + 8], eax
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
mov byte [ebx], 1
call fcn.004222b0
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 0x43e4d9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
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 0x43e51c
movzx ecx, ax
call fcn.0041fcd0
test eax, eax
je 0x43e529
mov edx, str.Started
movzx ecx, dx
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.00420bb0
jmp 0x43e529
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 [0x574ba4]
mov ecx, 0x574ba4
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.00421890
add esp, 4
mov byte [ebp - 4], 8
cmp dword [ebx + 8], 0
je 0x43e57e
push 0
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.004219a0
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 0x43e59e
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 0x43e5be
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 0x43e5de
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 0x43e5fe
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 0x43e947
lea eax, [ebp - 0x54]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x43e947
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 0x43e759
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 [0x574ba4]
mov ecx, 0x574ba4
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.00421890
add esp, 4
mov byte [ebp - 4], 0xc
cmp dword [ebx + 8], 0
je 0x43e6d2
push 0
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.004219a0
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 0x43e6f2
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 0x43e712
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 0x43e732
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 0x43e947
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43e947
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43e76e
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.00421920
mov esi, eax
mov byte [ebp - 4], 0x10
mov edx, dword [0x574ba4]
mov ecx, 0x574ba4
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.00421890
push 0x57b250
mov edx, eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x12
call fcn.00421890
lea ecx, [ebp - 0x30]
push ecx
mov edx, eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
call fcn.00421890
push esi
mov edx, eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x14
call fcn.00421890
add esp, 0x10
mov byte [ebp - 4], 0x15
cmp dword [ebx + 8], 0
je 0x43e829
push 2
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebx + 4]
push eax
call fcn.004219a0
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 0x43e849
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 0x43e869
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 0x43e889
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 0x43e8a9
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 0x43e8c9
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 0x43e8e9
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 0x43e909
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 0x43e929
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 0x43e947
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.004e8f3a
mov esp, ebp
pop ebp
ret