Function at 0x43e710
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51029b
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x574be0]
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 [0x575ba4]
mov ecx, 0x575ba4
lea esi, [ebx + 4]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 4
mov byte [ebp - 4], 1
call fcn.004ea353
add esp, 4
test eax, eax
je 0x43e783
mov dword [eax], vtable.CWebInstallerLogger.0
jmp 0x43e785
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 0x43e7b9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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 0x43e7fc
movzx ecx, ax
call fcn.0041fcd0
test eax, eax
je 0x43e809
mov edx, str.Started
movzx ecx, dx
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.00420bb0
jmp 0x43e809
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x43e85e
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 0x43e87e
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 0x43e89e
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 0x43e8be
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 0x43e8de
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 0x43ec27
lea eax, [ebp - 0x54]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x43ec27
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 0x43ea39
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x43e9b2
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 0x43e9d2
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 0x43e9f2
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 0x43ea12
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 0x43ec27
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43ec27
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43ea4e
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x57c250
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 0x43eb09
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 0x43eb29
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 0x43eb49
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 0x43eb69
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 0x43eb89
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 0x43eba9
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 0x43ebc9
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 0x43ebe9
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 0x43ec09
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 0x43ec27
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.004e9eea
mov esp, ebp
pop ebp
ret