Function at 0x45c4c0
Capabilities:
Acquire debug privileges

Disassembly:
push 0xffffffffffffffff
push 0x4ea430
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.00449130
xor ebp, ebp
add esp, 4
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x45c4f5
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.00444970
add esp, 0xc
test al, al
je 0x45c535
lea ecx, [esp + 0x30]
lea eax, [edi + ebx*2]
push ecx
mov dword [esp + 0x34], eax
call fcn.00443850
mov edi, dword [esp + 0x34]
add esp, 4
mov al, byte [0x51d638]
test al, 4
mov byte [esp + 0x18], 0
jne 0x45c562
mov bl, al
push 2
or bl, 4
push str.SeDebugPrivilege
mov byte [esp + 0x20], 1
mov byte [0x51d638], bl
call fcn.004226a0
add esp, 8
mov ax, word [edi]
cmp ax, 0x40
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [esp + 0x28], 1
jne 0x45c8ed
cmp word [edi + 2], 0x40
jne 0x45c63e
mov al, byte [esi + 0x8e]
add edi, 4
test al, al
jne 0x45c5aa
test byte [esi + 0xb], 0xf
jne 0x45c5aa
push 1
push ebp
lea edx, [esp + 0x1c]
push edx
push edi
mov ecx, esi
call fcn.004541d0
jmp 0x45c5ba
push 1
push ebp
lea eax, [esp + 0x1c]
push eax
push edi
mov ecx, esi
call fcn.00452ca0
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.0044ce90
mov esi, dword [esp + 0x3c]
add esp, 8
cmp esi, ebp
jne 0x45c9ff
mov al, byte [esp + 0x18]
test al, al
mov byte [esp + 0x28], 0
je 0x45c60f
mov bl, byte [0x51d638]
push 4
and bl, 0xfb
push str.SeDebugPrivilege
mov byte [0x51d638], bl
call fcn.004226a0
add esp, 8
cmp edi, ebp
je 0x45c624
mov eax, dword [0x51d3c8]
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 0x45c8ed
mov al, byte [esi + 0x8e]
add edi, 2
test al, al
jne 0x45c66d
test byte [esi + 0xb], 0xf
jne 0x45c66d
push 1
push ebp
lea ecx, [esp + 0x1c]
push ecx
push edi
mov ecx, esi
call fcn.004541d0
jmp 0x45c67d
push 1
push ebp
lea edx, [esp + 0x1c]
push edx
push edi
mov ecx, esi
call fcn.00452ca0
push 2
call fcn.00449130
add esp, 4
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x45c692
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.0044c770
add esp, 0xc
push 0
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.004166b6
mov edi, dword [esp + 0x30]
push edi
push str.this
call fcn.00444a10
add esp, 8
test al, al
je 0x45c6f7
test edi, edi
mov byte [esp + 0x28], 1
je 0x45c931
mov eax, dword [0x51d3c8]
add edi, 0xfffffff8
push edi
push 0
push eax
call ebx
jmp 0x45c931
cmp word [edi], 0
jne 0x45c716
mov ecx, dword [0x51d3c8]
add edi, 0xfffffff8
push edi
push 0
push ecx
mov byte [esp + 0x34], 1
call ebx
jmp 0x45c931
push 0x51d5ec
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x28], 3
mov dword [esp + 0x34], esi
xor ecx, ecx
lea esp, [esp]
mov edx, dword [esp + 0x34]
mov esi, dword [edx + 0x2c]
test esi, esi
je 0x45c7a5
cmp esi, ecx
je 0x45c7a5
mov eax, dword [esi + 0x6c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x45c831
mov eax, dword [esi + 0x74]
xor ebx, ebx
test eax, eax
jle 0x45c7a5
xor ebp, ebp
lea ecx, [ecx]
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 0x45c792
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x45c792
mov edx, dword [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x45c8aa
mov eax, dword [esi + 0x74]
inc ebx
add ebp, 0x10
cmp ebx, eax
jl 0x45c760
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 0x45c730
push 0x51d5ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [0x51d3c8]
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 0x45c805
mov bl, byte [0x51d638]
push 4
and bl, 0xfb
push str.SeDebugPrivilege
mov byte [0x51d638], bl
call fcn.004226a0
add esp, 8
test ebp, ebp
je 0x45c817
mov eax, dword [0x51d3c8]
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 0x51d5ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [0x51d3c8]
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 0x45c88f
mov bl, byte [0x51d638]
push 4
and bl, 0xfb
push str.SeDebugPrivilege
mov byte [0x51d638], bl
call fcn.004226a0
add esp, 8
test ebp, ebp
je 0x45ca5d
mov eax, dword [0x51d3c8]
add ebp, 0xfffffff8
push ebp
push 0
push eax
call esi
jmp 0x45ca5d
mov ecx, dword [edi + 0x18]
push 0
push 0
push 0x43c
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x51d5ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x30]
call fcn.00443880
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0
call fcn.004438b0
lea ecx, [esp + 0x14]
call fcn.00443880
jmp 0x45ca5d
mov al, byte [esi + 0x8e]
add edi, 2
test al, al
jne 0x45c912
test byte [esi + 0xb], 0xf
jne 0x45c912
push 1
push ebp
lea ecx, [esp + 0x1c]
push ecx
push edi
mov ecx, esi
call fcn.004541d0
jmp 0x45c922
push 1
push ebp
lea edx, [esp + 0x1c]
push edx
push edi
mov ecx, esi
call fcn.00452ca0
mov eax, dword [esp + 0x14]
cmp word [eax], bp
mov ebp, eax
jne 0x45c9e4
mov esi, dword [esp + 0x34]
test esi, esi
je 0x45c9a6
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 0x45c98d
mov al, byte [0x51d638]
and al, 0xfb
push 4
push str.SeDebugPrivilege
mov byte [0x51d638], al
call fcn.004226a0
add esp, 8
test ebp, ebp
je 0x45ca5d
mov eax, dword [0x51d3c8]
add ebp, 0xfffffff8
push ebp
push 0
push eax
jmp 0x45ca5b
cmp word [ebp], 0
jne 0x45c9e4
mov al, byte [esp + 0x18]
test al, al
mov byte [esp + 0x28], 0
je 0x45c9d5
mov al, byte [0x51d638]
and al, 0xfb
push 4
push str.SeDebugPrivilege
mov byte [0x51d638], al
call fcn.004226a0
add esp, 8
mov ecx, dword [0x51d3c8]
add ebp, 0xfffffff8
push ebp
push 0
push ecx
jmp 0x45ca5b
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call fcn.004a2670
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 0x45ca4a
mov al, byte [0x51d638]
and al, 0xfb
push 4
push str.SeDebugPrivilege
mov byte [0x51d638], al
call fcn.004226a0
add esp, 8
test edi, edi
je 0x45ca5d
mov edx, dword [0x51d3c8]
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