Function at 0x4507c0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x54a898
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5b0c20]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b0c20]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0050d475
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x450810
push 0x80004005
call fcn.00401c60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x6c], esi
call fcn.0050d475
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x45083e
push 0x80004005
call fcn.00401c60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x6c], 1
call fcn.0050d475
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x45086d
push 0x80004005
call fcn.00401c60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push esi
push 0x58cf10
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 2
call fcn.00404c90
mov ecx, 0xd
mov edx, ecx
mov word [esp + 0x42], dx
lea edx, [esp + 0x30]
push edx
mov eax, 0xa
push esi
mov word [esp + 0x4c], ax
mov eax, dword [ebx + 0x4ac]
mov word [esp + 0x48], cx
push 0xb2
xor ecx, ecx
push eax
mov word [esp + 0x56], cx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x38]
sub eax, dword [ebx + 0x4f0]
mov dword [esp + 0x28], esi
sub eax, dword [esp + 0x30]
cdq
idiv dword [ebx + 0x4ec]
add eax, 0xfffffffc
cdq
and edx, 3
add eax, edx
sar eax, 2
cmp dword [ebx + 0x508], esi
mov dword [esp + 0x24], eax
jle 0x450a8a
push 2
push 0x559954
lea ecx, [esp + 0x1c]
call fcn.00404c90
mov edi, dword [esp + 0x14]
xor ebp, ebp
cmp dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebp
jle 0x450a35
mov ecx, dword [ebx + 0x530]
movzx edx, byte [esi + ecx]
push edx
lea eax, [esp + 0x24]
push str._02x
push eax
call fcn.00405000
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add esp, 0xc
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00404d40
mov ecx, dword [ebx + 0x530]
mov al, byte [esi + ecx]
cmp al, 9
je 0x4509d8
movzx dx, al
movzx eax, dx
push eax
call fcn.00527d25
add esp, 4
test eax, eax
je 0x4509d8
mov ecx, dword [ebx + 0x530]
movzx dx, byte [esi + ecx]
mov ebp, dword [edi - 0xc]
movzx eax, dx
mov dword [esp + 0x2c], eax
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
lea esi, [ebp + 1]
sub eax, esi
or eax, ecx
jge 0x4509ab
push esi
lea ecx, [esp + 0x18]
call fcn.00404a50
mov edi, dword [esp + 0x14]
mov cx, word [esp + 0x2c]
mov word [edi + ebp*2], cx
test esi, esi
jl 0x450b28
cmp esi, dword [edi - 8]
jg 0x450b28
mov ebp, dword [esp + 0x1c]
mov dword [edi - 0xc], esi
xor edx, edx
mov word [edi + esi*2], dx
mov esi, dword [esp + 0x28]
jmp 0x4509ec
push 1
push 0x554360
lea ecx, [esp + 0x1c]
call fcn.00404d40
mov edi, dword [esp + 0x14]
inc esi
inc ebp
cmp esi, dword [ebx + 0x508]
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], ebp
jge 0x450a0a
cmp ebp, dword [esp + 0x24]
jl 0x450924
jmp 0x450a35
mov eax, dword [esp + 0x24]
cmp ebp, eax
jge 0x450a35
mov ebp, eax
sub ebp, dword [esp + 0x1c]
jmp 0x450a20
push 3
push 0x558f68
lea ecx, [esp + 0x20]
call fcn.00404d40
sub ebp, 1
jne 0x450a20
push 2
push 0x559954
lea ecx, [esp + 0x20]
call fcn.00404d40
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [esp + 0x20]
call fcn.00404d40
lea eax, [esp + 0x40]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450a60
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x20]
call fcn.00404d40
cmp esi, dword [ebx + 0x508]
jl 0x450900
mov esi, dword [esp + 0x18]
push esi
lea ecx, [ebx + 0x48c]
call fcn.005081b1
lea eax, [esi - 0x10]
mov byte [esp + 0x6c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450abb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x6c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450ae0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450b04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00524d83
add esp, 0x5c
ret
push 0x80070057
call fcn.00401c60
int3