Function at 0x473450
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64aba8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push edi
mov edi, ecx
test byte [edi + 0x2c], 0x60
mov dword [ebp - 0x14], edi
je 0x473992
mov ebx, dword [ebp + 8]
cmp bx, 8
je 0x473992
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
push esi
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp + 8], eax
mov dword [ebp - 4], 1
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edx, dword [ebp + 8]
lea esi, [eax + 1]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4734d3
push esi
lea ecx, [ebp + 8]
call fcn.00401400
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 4]
push esi
push edx
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [ebp + 8]
test edx, edx
jne 0x4734ea
xor eax, eax
jmp 0x473505
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4734f0
sub eax, esi
sar eax, 1
js 0x47383a
cmp eax, dword [edx - 8]
jg 0x47383a
mov dword [edx - 0xc], eax
mov ecx, dword [ebp + 8]
xor edx, edx
push edx
push edx
mov word [ecx + eax*2], dx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push 0x140
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x14]
movzx edi, ax
shr eax, 0x10
mov esi, eax
mov eax, dword [ecx + 0x2c]
test al, al
jns 0x473600
cmp bx, 0x2d
jne 0x473600
test al, 0x40
je 0x473585
mov edx, dword [ebp + 8]
push edx
call fcn.006162f8
fldz
fcomp st(1)
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x473570
mov ebx, 1
jmp 0x473572
xor ebx, ebx
sub esp, 8
fchs
fstp qword [esp]
push 0x672974
lea eax, [ebp + 8]
push eax
jmp 0x4735a1
mov ecx, dword [ebp + 8]
push ecx
call fcn.006115b5
xor ebx, ebx
test eax, eax
sets bl
neg eax
push eax
push 0x67296c
lea edx, [ebp + 8]
push edx
call fcn.00405ab0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
add esp, 0x10
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
test ebx, ebx
je 0x4735c6
lea ecx, [esi - 1]
lea eax, [edi - 1]
jmp 0x4735cc
lea ecx, [esi + 1]
lea eax, [edi + 1]
movzx ecx, cx
movzx edx, ax
mov eax, dword [ebp - 0x14]
shl ecx, 0x10
or ecx, edx
push ecx
mov ecx, dword [eax + 4]
push 0
push 0x142
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004014a0
jmp 0x4738dc
mov edx, dword [ebp + 8]
mov eax, dword [edx - 0xc]
sub eax, esi
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 8]
call fcn.00427cb0
mov esi, eax
mov byte [ebp - 4], 2
push edi
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp + 8]
call fcn.00414520
mov byte [ebp - 4], 3
push ebx
push eax
lea edx, [ebp - 0x34]
push edx
call fcn.00408d00
mov byte [ebp - 4], 4
push esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00428b00
add esp, 0x18
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47366c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47368f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4736b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 0xc]
xor esi, esi
or edi, 0xffffffff
xor ebx, ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x18], edi
cmp eax, esi
jle 0x473931
lea esp, [esp]
test esi, esi
js 0x47383a
cmp esi, eax
jg 0x47383a
movzx ecx, word [ecx + esi*2]
lea eax, [ecx - 0x2d]
cmp eax, 0x11
ja case.0x473703.47
movzx edx, byte [eax + 0x4739c4]
jmp dword [edx*4 + 0x4739ac]
mov dword [ebp - 0x30], esi
jmp 0x47377c
mov eax, dword [ebp - 0x14]
test dword [eax + 0x2c], 0x100
je 0x473914
inc dword [ebp - 0x1c]
mov dword [ebp - 0x28], esi
jmp 0x47377c
mov ecx, dword [ebp - 0x14]
test dword [ecx + 0x2c], 0x100
je 0x473914
inc dword [ebp - 0x20]
mov dword [ebp - 0x2c], esi
jmp 0x47377c
mov edx, dword [ebp - 0x14]
test dword [edx + 0x2c], 0x100
je 0x473914
mov edi, esi
inc ebx
jmp 0x47377c
mov eax, dword [ebp - 0x14]
test byte [eax + 0x2c], 0x40
je 0x473914
inc dword [ebp - 0x24]
jmp 0x47377c
push ecx
call fcn.00610ad8
add esp, 4
test eax, eax
je 0x4737ed
cmp dword [ebp - 0x18], 0
jge 0x47377c
mov dword [ebp - 0x18], esi
mov eax, 1
cmp dword [ebp - 0x1c], eax
jg 0x473815
cmp dword [ebp - 0x20], eax
jg 0x473815
cmp ebx, eax
jg 0x473815
cmp dword [ebp - 0x24], eax
jg 0x473815
mov ecx, dword [ebp - 0x10]
add esi, eax
mov eax, dword [ecx - 0xc]
cmp esi, eax
jl 0x4736e0
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x473844
cmp edi, 0xffffffff
je 0x473844
cmp eax, edi
jle 0x473844
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4737e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4738b6
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473810
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4738b6
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473838
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4738b6
push 0x80070057
call fcn.004011d0
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x47387a
cmp edi, 0xffffffff
je 0x47387a
cmp eax, edi
jle 0x47387a
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473878
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4738b6
cmp dword [ebp - 0x18], 0xffffffff
je 0x473931
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmp ecx, 0xffffffff
je 0x4738f1
cmp ecx, eax
jle 0x4738f1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4738b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4738dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xffffffff
je 0x4738fd
cmp ecx, eax
jg 0x473914
cmp edi, 0xffffffff
je 0x473906
cmp edi, eax
jg 0x473914
cmp dword [ebp - 0x30], 0xffffffff
je 0x473931
mov ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x30], ecx
jle 0x473931
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004014a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004014a0
jmp 0x4738dc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x473954
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47397a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4