Function at 0x45d4d0
Capabilities:
Acquire debug privileges

Disassembly:
push 0xffffffffffffffff
push 0x4e6240
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push 2
mov esi, ecx
call fcn.00445f00
xor ebp, ebp
add esp, 4
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x45d505
mov word [eax], bp
push str.svr
mov dword [esp + 0x2c], ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [esp + 0x30]
mov ebx, eax
push ebx
push edi
push str.svr
call fcn.004403f0
add esp, 0xc
test al, al
je 0x45d545
lea ecx, [esp + 0x30]
lea eax, [edi + ebx*2]
push ecx
mov dword [esp + 0x34], eax
call fcn.0043f2e0
mov edi, dword [esp + 0x34]
add esp, 4
mov al, byte [0x519468]
test al, 4
mov byte [esp + 0x18], 0
jne 0x45d572
mov bl, al
push 2
or bl, 4
push str.SeDebugPrivilege
mov byte [esp + 0x20], 1
mov byte [0x519468], bl
call fcn.00420c19
add esp, 8
mov ax, word [edi]
cmp ax, 0x40
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [esp + 0x28], 1
jne 0x45d8ed
cmp word [edi + 2], 0x40
jne 0x45d64e
mov al, byte [esi + 0x8a]
add edi, 4
test al, al
jne 0x45d5ba
test byte [esi + 0xb], 0xf
jne 0x45d5ba
push 1
push ebp
lea edx, [esp + 0x1c]
push edx
push edi
mov ecx, esi
call fcn.004531a0
jmp 0x45d5ca
push 1
push ebp
lea eax, [esp + 0x1c]
push eax
push edi
mov ecx, esi
call fcn.00451c30
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebp
call fcn.00449a90
mov esi, dword [esp + 0x3c]
add esp, 8
cmp esi, ebp
jne 0x45da02
mov al, byte [esp + 0x18]
test al, al
mov byte [esp + 0x28], 0
je 0x45d61f
mov bl, byte [0x519468]
push 4
and bl, 0xfb
push str.SeDebugPrivilege
mov byte [0x519468], bl
call fcn.00420c19
add esp, 8
cmp edi, ebp
je 0x45d634
mov eax, dword [0x51927c]
add edi, 0xfffffff8
push edi
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
cmp ax, 0x40
jne 0x45d8ed
mov al, byte [esi + 0x8a]
add edi, 2
test al, al
jne 0x45d67d
test byte [esi + 0xb], 0xf
jne 0x45d67d
push 1
push ebp
lea ecx, [esp + 0x1c]
push ecx
push edi
mov ecx, esi
call fcn.004531a0
jmp 0x45d68d
push 1
push ebp
lea edx, [esp + 0x1c]
push edx
push edi
mov ecx, esi
call fcn.00451c30
push 2
call fcn.00445f00
add esp, 4
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x45d6a2
mov word [eax], bp
mov ebp, dword [esp + 0x14]
push 0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x34], 2
mov dword [esp + 0x28], ebp
call fcn.00449370
add esp, 0xc
push 0
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.004152c8
mov edi, dword [esp + 0x30]
push edi
push str.this
call fcn.00440490
add esp, 8
test al, al
je 0x45d702
test edi, edi
je 0x45d931
mov eax, dword [0x51927c]
add edi, 0xfffffff8
push edi
push 0
push eax
call ebx
jmp 0x45d931
cmp word [edi], 0
jne 0x45d71c
mov ecx, dword [0x51927c]
add edi, 0xfffffff8
push edi
push 0
push ecx
call ebx
jmp 0x45d931
push 0x5194ec
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x28], 3
mov dword [esp + 0x34], esi
xor ecx, ecx
mov edx, dword [esp + 0x34]
mov esi, dword [edx + 0x2c]
test esi, esi
je 0x45d7a5
cmp esi, ecx
je 0x45d7a5
mov eax, dword [esi + 0x6c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x45d831
mov eax, dword [esi + 0x74]
xor ebx, ebx
test eax, eax
jle 0x45d7a5
xor ebp, ebp
nop
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + ebp]
mov edi, dword [eax + ebp + 4]
add eax, ebp
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45d792
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x45d792
mov edx, dword [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x45d8aa
mov eax, dword [esi + 0x74]
inc ebx
add ebp, 0x10
cmp ebx, eax
jl 0x45d760
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x28]
test eax, eax
mov dword [esp + 0x34], eax
mov ecx, esi
jne 0x45d732
push 0x5194ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [0x51927c]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
add edi, 0xfffffff8
push edi
push 0
push edx
call esi
mov al, byte [esp + 0x18]
test al, al
mov byte [esp + 0x28], 0
je 0x45d805
mov bl, byte [0x519468]
push 4
and bl, 0xfb
push str.SeDebugPrivilege
mov byte [0x519468], bl
call fcn.00420c19
add esp, 8
test ebp, ebp
je 0x45d817
mov eax, dword [0x51927c]
add ebp, 0xfffffff8
push ebp
push 0
push eax
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov ecx, dword [esi + 0x18]
push 0
push 0
push 0x43c
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x5194ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [0x51927c]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
add edi, 0xfffffff8
push edi
push 0
push edx
call esi
mov al, byte [esp + 0x18]
test al, al
mov byte [esp + 0x28], 0
je 0x45d88f
mov bl, byte [0x519468]
push 4
and bl, 0xfb
push str.SeDebugPrivilege
mov byte [0x519468], bl
call fcn.00420c19
add esp, 8
test ebp, ebp
je 0x45da60
mov eax, dword [0x51927c]
add ebp, 0xfffffff8
push ebp
push 0
push eax
call esi
jmp 0x45da60
mov ecx, dword [edi + 0x18]
push 0
push 0
push 0x43c
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x5194ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x30]
call fcn.0043f290
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0
call fcn.0043f310
lea ecx, [esp + 0x14]
call fcn.0043f290
jmp 0x45da60
mov al, byte [esi + 0x8a]
add edi, 2
test al, al
jne 0x45d912
test byte [esi + 0xb], 0xf
jne 0x45d912
push 1
push ebp
lea ecx, [esp + 0x1c]
push ecx
push edi
mov ecx, esi
call fcn.004531a0
jmp 0x45d922
push 1
push ebp
lea edx, [esp + 0x1c]
push edx
push edi
mov ecx, esi
call fcn.00451c30
mov eax, dword [esp + 0x14]
cmp word [eax], bp
mov ebp, eax
jne 0x45d9e7
mov esi, dword [esp + 0x34]
test esi, esi
je 0x45d9a6
mov ecx, dword [esi + 0x18]
push 0x97
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi + 0x18]
push 0
push 0
push 0x43c
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov al, byte [esp + 0x18]
test al, al
mov byte [esp + 0x28], 0
je 0x45d98d
mov al, byte [0x519468]
and al, 0xfb
push 4
push str.SeDebugPrivilege
mov byte [0x519468], al
call fcn.00420c19
add esp, 8
test ebp, ebp
je 0x45da60
mov eax, dword [0x51927c]
add ebp, 0xfffffff8
push ebp
push 0
push eax
jmp 0x45da5e
cmp word [ebp], 0
jne 0x45d9e7
mov al, byte [esp + 0x18]
test al, al
mov byte [esp + 0x28], 0
je 0x45d9d5
mov al, byte [0x519468]
and al, 0xfb
push 4
push str.SeDebugPrivilege
mov byte [0x519468], al
call fcn.00420c19
add esp, 8
mov ecx, dword [0x51927c]
add ebp, 0xfffffff8
push ebp
push 0
push ecx
jmp 0x45da5e
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call fcn.00454fd0
mov edi, dword [esp + 0x30]
add esp, 0x1c
mov esi, eax
push 0x97
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov al, byte [esp + 0x18]
test al, al
mov byte [esp + 0x28], 0
je 0x45da4d
mov al, byte [0x519468]
and al, 0xfb
push 4
push str.SeDebugPrivilege
mov byte [0x519468], al
call fcn.00420c19
add esp, 8
test edi, edi
je 0x45da60
mov edx, dword [0x51927c]
add edi, 0xfffffff8
push edi
push 0
push edx
call ebx
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8