Function at 0x43b380
Capabilities:
Acquire debug privileges
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1320
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x532ab0]
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 edi, ecx
push str.ProcessKiller
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x58], edi
call fcn.004019c0
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00423ae0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x43b3f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, str.Started
mov byte [ebp - 4], 3
test eax, 0xffff0000
jne 0x43b452
movzx esi, ax
mov ecx, esi
call fcn.00401140
test eax, eax
je 0x43b45f
push esi
push eax
lea ecx, [ebp - 0x24]
call fcn.00401f80
jmp 0x43b45f
push str.Started
lea ecx, [ebp - 0x24]
call fcn.00404640
push str.Ctor
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.004019c0
mov byte [ebp - 4], 5
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.0041de50
add esp, 4
mov byte [ebp - 4], 7
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x43b4b8
push 0
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [edi + 4]
push eax
call fcn.004024e0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b4d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b4f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b515
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b535
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [0x53baf4], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x38], 0
jne 0x43b576
push 0x519228
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x43b569
push str.OpenProcessToken
push eax
call esi
mov dword [0x53baf4], eax
jmp 0x43b56e
mov eax, dword [0x53baf4]
test eax, eax
je 0x43b8d1
lea eax, [ebp - 0x38]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x53baf4]
test eax, eax
je 0x43b8d1
lea eax, [ebp - 0x54]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x43b8d1
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 - 0x38]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x43b6d0
push str.Successfully_changed_token_privileges
lea ecx, [ebp - 0x28]
call fcn.00404160
push str.Ctor
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.004019c0
mov byte [ebp - 4], 9
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.0041de50
add esp, 4
mov byte [ebp - 4], 0xb
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x43b647
push 0
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [edi + 4]
push eax
call fcn.004024e0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b667
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b687
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b6a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b8d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43b8d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43b6e5
movzx esi, si
or esi, 0x80070000
push str.Error:
lea ecx, [ebp - 0x2c]
call fcn.00404160
push str.Failed_to_change_token_privileges
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.00404160
push str.Ctor
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.004019c0
mov edx, esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xe
call fcn.0041dee0
mov esi, eax
mov byte [ebp - 4], 0xf
mov edx, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x10
call fcn.0041de50
push 0x53ba30
mov edx, eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x11
call fcn.0041de50
lea ecx, [ebp - 0x2c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x12
call fcn.0041de50
push esi
mov edx, eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x13
call fcn.0041de50
add esp, 0x10
mov esi, eax
mov byte [ebp - 4], 0x14
mov ecx, dword [edi]
push esi
call fcn.00401a90
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x43b7ab
push 2
push esi
lea eax, [ebp - 0x30]
push eax
lea eax, [edi + 4]
push eax
call fcn.004024e0
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b7cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b7eb
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, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b80b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b82b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b84b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b86b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b88b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b8ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b8cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x10], eax
test eax, eax
je 0x43ba40
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, str.Loaded_Kernel32
mov byte [ebp - 4], 0x15
test eax, 0xffff0000
jne 0x43b933
movzx ecx, ax
call fcn.00401140
test eax, eax
je 0x43b940
mov edx, str.Loaded_Kernel32
movzx ecx, dx
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.00401f80
jmp 0x43b940
push str.Loaded_Kernel32
lea ecx, [ebp - 0x24]
call fcn.00404640
push str.Ctor
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x16
call fcn.004019c0
mov byte [ebp - 4], 0x17
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
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 - 0x34]
mov byte [ebp - 4], 0x18
call fcn.0041de50
add esp, 4
mov byte [ebp - 4], 0x19
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x43b999
push 0
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 4]
push eax
call fcn.004024e0
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b9b9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b9d9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43b9f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43ba19
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.CreateToolhelp32Snapshot
push dword [edi + 0x10]
call esi
push str.Process32FirstW
push dword [edi + 0x10]
mov dword [edi + 0x14], eax
call esi
push str.Process32NextW
push dword [edi + 0x10]
mov dword [edi + 0x18], eax
call esi
mov dword [edi + 0x1c], eax
cmp dword [edi + 0x14], 0
je 0x43ba56
cmp dword [edi + 0x18], 0
je 0x43ba56
cmp dword [edi + 0x1c], 0
jne 0x43bbd4
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, str.Couldnt_find_ToolHelp_functions
mov byte [ebp - 4], 0x1a
test eax, 0xffff0000
jne 0x43ba99
movzx ecx, ax
call fcn.00401140
test eax, eax
je 0x43baa6
mov edx, str.Couldnt_find_ToolHelp_functions
movzx ecx, dx
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.00401f80
jmp 0x43baa6
push str.Couldnt_find_ToolHelp_functions
lea ecx, [ebp - 0x24]
call fcn.00404640
push str.Ctor
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1b
call fcn.004019c0
mov byte [ebp - 4], 0x1c
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
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 - 0x3c]
mov byte [ebp - 4], 0x1d
call fcn.0041de50
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x1e
mov ecx, dword [edi]
push eax
call fcn.00401a90
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x43bb0c
push 2
push dword [ebp - 0x34]
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 4]
push eax
call fcn.004024e0
mov byte [ebp - 4], 0x1d
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43bb2c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43bb4c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43bb6c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x43bb8a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x10], 0
je 0x43bbd4
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 0xc], eax
test eax, eax
je 0x43bbd4
push str.ZwQuerySystemInformation
push eax
call esi
push 0x51b80c
push dword [edi + 0x10]
mov dword [edi + 0x20], eax
call esi
push 0x51b81c
push dword [edi + 0x10]
mov dword [edi + 0x24], eax
call esi
push 0x51b828
push dword [edi + 0x10]
mov dword [edi + 0x28], eax
call esi
mov dword [edi + 0x2c], eax
mov eax, edi
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.004a4ab5
mov esp, ebp
pop ebp
ret