Function at 0x4304ca
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x5316d9
call fcn.004eec88
sub esp, 0x88
push ebx
push esi
push edi
mov esi, ecx
call fcn.0042fd2f
lea ecx, [esi + 0xccd]
call fcn.0041c469
mov eax, dword [0x5927d4]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xa8e]
xor ebx, ebx
neg eax
sbb eax, eax
lea ecx, [ebp - 0x10]
and eax, 0xf
mov dword [ebp - 4], ebx
add eax, 0xe804
push eax
call fcn.0050f456
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
je 0x430a12
mov eax, dword [0x5927d4]
mov dword [ebp - 0x30], eax
push 0xf090
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0050f456
push 0xa
lea ecx, [ebp - 0x7c]
call fcn.00509677
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 2
cmp dword [eax - 8], ebx
je 0x430563
push str.____n______n___
push eax
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00444c88
mov eax, dword [ebp - 0x10]
movsx edi, byte [eax]
sub edi, 0x30
cmp edi, ebx
mov dword [ebp - 0x54], edi
jle 0x4309fb
cmp dword [eax - 8], ebx
je 0x4309fb
lea eax, [ebp - 0x24]
push 1
push eax
lea ecx, [ebp - 0x10]
call fcn.005059b4
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0050a0c9
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00509f90
mov eax, edi
imul eax, eax, 0xac
add eax, 4
push eax
call fcn.00509cd1
pop ecx
mov dword [ebp - 0x40], eax
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x4305e7
push fcn.00418b42
mov dword [eax], edi
push 0x418aaf
add eax, 4
push edi
push 0xac
push eax
mov dword [ebp - 0x24], eax
call fcn.004f0370
mov eax, dword [ebp - 0x24]
jmp 0x4305e9
xor eax, eax
cmp eax, ebx
mov byte [ebp - 4], 2
mov dword [esi + 0xe2d], eax
jne 0x430621
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.00509759
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00509f90
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00509f90
xor eax, eax
jmp 0x430a3e
push 0x80a1
push 0x10
mov ecx, esi
mov dword [ebp - 0x20], 0x31
call fcn.00442c18
cmp al, 0x30
je 0x430641
mov dword [ebp - 0x20], 0x431
cmp edi, ebx
jle 0x430680
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp - 0x14]
lea eax, [esi + 0xccd]
add ecx, dword [esi + 0xe2d]
push ebx
push eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], ebx
push dword [ebp - 0x20]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.0050734a
add dword [ebp - 0x14], 0xac
dec dword [ebp - 0x28]
jne 0x43064b
call fcn.0042e317
mov dword [ebp - 0x40], eax
mov eax, dword [0x5927d4]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 5
cmp dword [eax - 8], ebx
je 0x4309ef
mov dword [ebp - 0x2c], ebx
jmp 0x4306ab
mov edi, dword [ebp - 0x54]
cmp dword [ebp - 0x14], edi
jge 0x4309ef
push 0x58455c
lea ecx, [ebp - 0x10]
call fcn.00505b83
mov edi, eax
cmp edi, ebx
jl 0x430716
lea eax, [ebp - 0x60]
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.00505ae9
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0050a0c9
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.00509f90
inc edi
lea eax, [ebp - 0x58]
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.005059b4
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.0050a0c9
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00509f90
jmp 0x43072a
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0050a0c9
lea ecx, [ebp - 0x10]
call fcn.00509f1b
push 0x5855e4
lea ecx, [ebp - 0x1c]
call fcn.00505b83
push 0x5855e0
lea ecx, [ebp - 0x1c]
mov edi, eax
call fcn.00505b83
sub eax, edi
lea ecx, [ebp - 0x1c]
dec eax
push eax
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.005059d7
lea eax, [ebp - 0x24]
push edi
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00505ae9
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0xccd]
shl eax, 0xc
push eax
mov eax, dword [ebp - 0x2c]
add eax, dword [esi + 0xe2d]
mov byte [ebp - 4], 9
push eax
push dword [ebp - 0x24]
call fcn.0041ddaf
push 0xffffffffffffffff
push dword [ebp - 0x20]
call fcn.004ccd60
pop ecx
mov edi, eax
pop ecx
mov dword [ebp - 0x48], vtable.CMenu.0
mov dword [ebp - 0x44], ebx
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xa
call fcn.004191bb
push ebx
push dword [ebp - 0x44]
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.0050a61f
mov dword [ebp - 0x18], eax
mov eax, dword [0x5927d4]
mov dword [ebp - 0x28], eax
push edi
lea eax, [ebp - 0x28]
push str.WT_DelMenu_d
push eax
mov byte [ebp - 4], 0xb
call fcn.00505f09
push str.System
push 0x59758c
push dword [ebp - 0x28]
lea eax, [ebp - 0x3c]
push eax
call fcn.00421cde
add esp, 0x1c
push 0x5855c4
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xc
call fcn.0040afea
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xd
call fcn.0040b0c8
cmp eax, ebx
je 0x430862
lea eax, [ebp - 0x5c]
push 1
push eax
lea ecx, [ebp - 0x94]
call fcn.0040b190
push dword [eax]
call fcn.004efb2d
pop ecx
mov edi, eax
lea ecx, [ebp - 0x5c]
call fcn.00509f90
mov eax, dword [ebp - 0x18]
push ebx
push edi
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DeleteMenu]
lea ecx, [ebp - 0x94]
call fcn.0040b11c
jmp 0x430820
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jle 0x43087b
mov ecx, dword [ebp - 0x2c]
add eax, 4
add ecx, dword [esi + 0xe2d]
push eax
call fcn.00419053
mov edi, dword [ebp - 0x2c]
push 0xc0c0c0
mov ecx, edi
push 0xa56e3a
add ecx, dword [esi + 0xe2d]
call fcn.0041910b
push ebx
mov ecx, edi
push dword [ebp - 0x18]
add ecx, dword [esi + 0xe2d]
call fcn.00418f2b
mov ecx, edi
push esi
add ecx, dword [esi + 0xe2d]
call fcn.0041900a
push 0xffffffffffffffff
push dword [ebp - 0x20]
call fcn.004ccd60
pop ecx
pop ecx
mov ecx, edi
push ebx
add ecx, dword [esi + 0xe2d]
push ebx
push 0x110a
mov dword [ecx + 0x90], eax
add edi, dword [esi + 0xe2d]
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x430987
cmp dword [ebp - 0x70], ebx
jle 0x430987
push dword [ebp - 0x18]
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.005073b3
mov eax, dword [0x5927d4]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x7c]
push eax
mov byte [ebp - 4], 0xf
push dword [ebp - 0x38]
call fcn.0050981e
test eax, eax
je 0x430950
push dword [ebp - 0x34]
call fcn.004efb2d
test eax, eax
pop ecx
jle 0x430950
push dword [ebp - 0x18]
push 2
push 0x1102
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x38]
lea ecx, [ebp - 0x7c]
call fcn.005098a6
push dword [ebp - 0x18]
push 1
push 0x110a
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xe
call fcn.00509f90
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xd
call fcn.00509f90
cmp dword [ebp - 0x18], ebx
jne 0x4308ef
inc dword [ebp - 0x14]
add dword [ebp - 0x2c], 0xac
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xc
call fcn.0040b08a
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.00509f90
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.00509f90
mov dword [ebp - 0x48], vtable.CMenu.0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x10
call fcn.0050a6a9
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00509f90
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00509f90
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
jne 0x4306a8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00509f90
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.00509759
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00509f90
call fcn.0042e447
test eax, eax
je 0x430a23
cmp dword [esi + 0x9e9], ebx
jne 0x430a2f
push 0xf029
mov ecx, esi
call fcn.0042fe50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00509f90
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret