Function at 0x43d670
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x595cb8]
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
mov dword [ebp - 0x3c], edi
push 0x56f344
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x5c], edi
call fcn.0041f910
push ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.0043d570
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp - 0x38]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43d6e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Started
lea ecx, [ebp - 0x28]
call fcn.0041f870
push str.Ctor
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0041f910
mov byte [ebp - 4], 4
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x43d71b
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x30]
call fcn.00420f70
add esp, 4
mov byte [ebp - 4], 6
cmp dword [edi + 8], 0
je 0x43d756
push 0
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [edi + 4]
push eax
call fcn.004210a0
mov byte [ebp - 4], 5
mov eax, esi
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43d774
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
lea edx, [ebx - 0x10]
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43d78f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, esi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43d7ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, esi
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43d7cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43db13
lea eax, [ebp - 0x58]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x43db13
mov eax, dword [ebp - 0x58]
push 0
push 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x54]
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 0x43d92b
push str.Successfully_changed_token_privileges
lea ecx, [ebp - 0x24]
call fcn.0041f870
push str.Ctor
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.0041f910
mov byte [ebp - 4], 8
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x43d874
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.00420f70
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [edi + 8], 0
je 0x43d8af
push 0
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 4]
push eax
call fcn.004210a0
mov byte [ebp - 4], 9
mov eax, esi
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43d8cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
lea edx, [ebx - 0x10]
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43d8e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, esi
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43d906
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
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x43db13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43db13
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x43d940
movzx ebx, bx
or ebx, 0x80070000
push str.Error:
lea ecx, [ebp - 0x2c]
call fcn.0041f870
push str.Failed_to_change_token_privileges
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.0041f870
push str.Ctor
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.0041f910
mov edx, ebx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x50]
call fcn.00421010
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0xe
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x43d999
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xf
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x4c]
call fcn.00420f70
push 0x59c874
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x48]
call fcn.00420f70
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
push ecx
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.00420f70
push dword [ebp - 0x3c]
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x40]
call fcn.00420f70
add esp, 0x10
mov byte [ebp - 4], 0x13
cmp dword [edi + 8], 0
je 0x43da0a
push 2
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 4]
push eax
call fcn.004210a0
mov byte [ebp - 4], 0x12
mov eax, esi
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43da28
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
mov eax, esi
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43da46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x10
mov eax, esi
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43da64
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov eax, esi
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43da82
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
lea edx, [ebx - 0x10]
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43da9d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov eax, esi
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43dabb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov eax, esi
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43dad9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov eax, esi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43daf7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x43db13
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.004f4566
mov esp, ebp
pop ebp
ret