Function at 0x436820
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x619b1c
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x69cffc]
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 dword [ebp - 0x22c], edx
mov edi, ecx
mov dword [ebp - 0x228], edi
push 0x97
lea eax, [edi + 0x18]
push 0
push eax
call fcn.005e8c40
push 0x95
lea eax, [edi + 0x276]
push 0
push eax
lea esi, [edi + 0x274]
call fcn.005e8c40
push 0x97
lea ebx, [edi + 0x146]
push 0
push ebx
call fcn.005e8c40
xor eax, eax
add esp, 0x24
mov word [esi], ax
mov eax, dword [ebp + 8]
test eax, eax
je 0x436c71
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x230], eax
test eax, eax
je 0x436c71
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x4368fa
push 0x96
lea eax, [ebp - 0x218]
push eax
push 0x97
push esi
call fcn.005ef597
add esp, 0x10
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x436c8f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
lea edi, [ebp - 0x218]
mov dword [ebp - 4], 0
shr edi, 0x10
test edi, edi
jne 0x436942
lea eax, [ebp - 0x218]
movzx esi, ax
lea ecx, [ebp - 0x224]
push esi
call fcn.00402c80
jmp 0x43697b
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436950
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x224]
call fcn.00402df0
lea eax, [ebp - 0x218]
movzx esi, ax
mov dword [ebp - 4], 1
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x436c99
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 2
test edi, edi
jne 0x4369b5
push esi
lea ecx, [ebp - 0x21c]
call fcn.00402c80
jmp 0x4369e2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4369c0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402df0
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x224]
push 0x5c
push edi
call fcn.005e7e2d
add esp, 8
test eax, eax
jne 0x436a00
or eax, 0xffffffff
jmp 0x436a04
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x21c]
mov eax, dword [eax - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00404cc0
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x220]
cmp dword [esi - 4], 1
jle 0x436a4a
push dword [esi - 0xc]
lea ecx, [ebp - 0x220]
call fcn.004030b0
mov esi, dword [ebp - 0x220]
push 0x96
push esi
push 0x97
push ebx
call fcn.005ef597
lea edx, [esi - 0x10]
mov byte [ebp - 4], 3
or esi, 0xffffffff
add esp, 0x10
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x436a7c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x436a9d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x436ab9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x66ecfc
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x436ae6
test dx, dx
je 0x436ae2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x436ae6
add eax, 4
add ecx, 4
test dx, dx
jne 0x436ac0
xor eax, eax
jmp 0x436aeb
sbb eax, eax
or eax, 1
test eax, eax
je 0x436bc1
mov ecx, str.ApplicationFrameHost.exe
mov eax, ebx
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x436b26
test dx, dx
je 0x436b22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x436b26
add eax, 4
add ecx, 4
test dx, dx
jne 0x436b00
xor eax, eax
jmp 0x436b2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x436bc1
mov ecx, str.ShellExperienceHost.exe
mov eax, ebx
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x436b66
test dx, dx
je 0x436b62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x436b66
add eax, 4
add ecx, 4
test dx, dx
jne 0x436b40
xor eax, eax
jmp 0x436b6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x436bc1
mov ecx, str.Idle.exe
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x436b9c
test dx, dx
je 0x436b98
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x436b9c
add eax, 4
add ecx, 4
test dx, dx
jne 0x436b76
xor eax, eax
jmp 0x436ba1
sbb eax, eax
or eax, 1
test eax, eax
je 0x436bc1
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436bb0
sub ecx, edx
sar ecx, 1
jne 0x436be5
push str.RestProcess
push 0x97
push ebx
call fcn.005ef42e
mov edi, dword [ebp - 0x228]
add esp, 0xc
xor eax, eax
mov word [edi + 0x15c], ax
jmp 0x436beb
mov edi, dword [ebp - 0x228]
push 0x96
lea esi, [edi + 0x18]
push esi
push dword [ebp - 0x22c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x436c0d
xor ecx, ecx
mov word [edi + eax*2 + 0x18], cx
jmp 0x436c21
push 0x96
push ebx
push 0x97
push esi
call fcn.005ef597
add esp, 0x10
push 0xf
push str.UnlockingWindow
push esi
call fcn.005ef492
add esp, 0xc
test eax, eax
je 0x436c49
push 0xd
push str.LockingWindow
push esi
call fcn.005ef492
add esp, 0xc
test eax, eax
jne 0x436c65
push str.RestProcess
push 0x97
push ebx
call fcn.005ef42e
add esp, 0xc
xor eax, eax
mov word [edi + 0x15c], ax
push dword [ebp - 0x230]
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.0058f0d5
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403270
push 0x80004005
call fcn.00403270
int3