Function at 0x10aef71
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x111121c]
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
movzx edi, cx
mov dword [ebp - 0x26c], eax
mov eax, 0xa05d
cmp edi, eax
ja 0x10af445
je 0x10af43a
add eax, 0xffffffbe
cmp edi, eax
ja 0x10af266
je 0x10af211
mov eax, 0xa012
cmp edi, eax
ja 0x10af1c1
xor ebx, ebx
cmp edi, eax
je 0x10af118
mov eax, edi
dec eax
je 0x10af0ca
sub eax, 0x464
je 0x10af078
sub eax, 0x97f4
je 0x10af049
sub eax, 0x3b1
je 0x10af039
sub eax, 7
jne case.0x10af45b.41055
mov eax, dword [esi + 0x2b2c]
cmp eax, ebx
je 0x10af118
cmp word [eax], bx
je 0x10af118
push 0x2a
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
jne 0x10af118
push ebx
push dword [esi + 0x2b2c]
mov ecx, esi
call fcn.010a3b3d
jmp 0x10af7d1
push dword [esi + 0x2614]
call fcn.01054d8c
jmp 0x10af7d1
xor ebx, ebx
cmp byte [esi + 0x3008], bl
je 0x10af05f
mov ecx, esi
call fcn.010aedbe
jmp 0x10af6e5
push ebx
push 0xd
push 0x100
push dword [esi + 0x2618]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10af6e5
lea eax, [ebp - 0x280]
push eax
push 0x465
lea ecx, [esi + 0x40]
mov dword [ebp - 0x284], 0x14
call fcn.0110adcc
lea edi, [esi + 0x2fc0]
xor ebx, ebx
cmp dword [edi], ebx
jne 0x10af0a9
call fcn.0109f6d0
mov dword [edi], eax
mov ecx, dword [edi]
cmp ecx, ebx
je 0x10af7d1
lea eax, [ebp - 0x280]
push eax
push dword [esi + 0x2618]
call fcn.01098470
jmp 0x10af7d1
shr ecx, 0x10
cmp cx, 0x500
je 0x10af10b
cmp cx, 0x501
je 0x10af10b
cmp cx, 0x300
jne 0x10af7d1
mov ecx, esi
call fcn.010a4819
xor ebx, ebx
cmp byte [esi + 0x3008], bl
je 0x10af0ff
push ebx
mov ecx, esi
call fcn.010a9a66
mov ecx, esi
call fcn.010a75b7
jmp 0x10af7d1
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x10af7d1
cmp dword [esi + 0x2b2c], ebx
mov edi, 0x104
jne 0x10af15e
push 0x208
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
mov dword [esi + 0x2b2c], eax
je 0x10af7d1
push edi
push eax
push 0x9c9d
push dword [0x1112f58]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jg 0x10af15e
mov eax, dword [esi + 0x2b2c]
mov word [eax], bx
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [esi + 0x2b2c]
mov ecx, esi
push dword [esi + 0x2614]
mov word [ebp - 0x20c], bx
call fcn.010ae7fc
test eax, eax
je 0x10af7d1
mov eax, dword [esi + 0x2b2c]
cmp eax, ebx
je 0x10af7d1
xor ecx, ecx
cmp dword [0x1112e38], 2
sete cl
push ecx
push eax
mov ecx, esi
call fcn.010a3b3d
test eax, eax
jne 0x10af7d1
mov eax, dword [esi + 0x2b2c]
mov word [eax], bx
jmp 0x10af7d1
mov eax, edi
sub eax, 0xa013
je 0x10af7d1
dec eax
je 0x10af200
sub eax, 3
je 0x10af1f4
dec eax
jne case.0x10af45b.41055
cmp byte [esi + 0x3008], 0
mov ecx, esi
sete al
push eax
call fcn.010a9a66
jmp 0x10af6e5
mov ecx, esi
call fcn.010a12d0
jmp 0x10af7d1
xor ebx, ebx
push ebx
push ebx
push 0x10
push dword [esi + 0x2614]
jmp 0x10af483
xor ebx, ebx
xor eax, eax
cmp dword [esi + 0x2f48], ebx
push 3
sete al
xor ecx, ecx
push ebx
push ebx
push ebx
push ebx
cmp eax, ebx
setne cl
mov dword [esi + 0x2f48], eax
dec ecx
dec ecx
push ecx
push dword [esi + 0x2614]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x2f48]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0xa01b
mov ecx, esi
call fcn.010a23b8
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x10af7d1
mov ecx, 0xa058
cmp edi, ecx
ja 0x10af3e3
mov eax, 0xa054
cmp edi, eax
jae 0x10af2ee
mov eax, edi
sub eax, 0xa023
je 0x10af2e2
sub eax, 0xe
je 0x10af2c1
sub eax, 0x1c
je 0x10af2b5
dec eax
je 0x10af2a7
sub eax, 5
jne case.0x10af45b.41055
mov ecx, esi
call fcn.010a439a
jmp 0x10af7d1
push 7
mov ecx, esi
call fcn.010a232a
jmp 0x10af7d1
mov ecx, esi
call fcn.010a6369
jmp 0x10af7d1
call fcn.01066844
neg eax
sbb eax, eax
neg eax
add eax, 0x3fd
push eax
push dword [esi + 0x2614]
call fcn.0104bc92
jmp 0x10af7d1
mov ecx, esi
call fcn.010a63ff
jmp 0x10af7d1
xor ebx, ebx
push ebx
push edi
push ecx
push eax
mov ecx, esi
call fcn.010a23b8
push eax
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
lea eax, [edi - 0xa054]
mov dword [ebp - 0x26c], eax
lea eax, [eax*4 + 0x11142b0]
mov dword [esi + 0x2f44], edi
push dword [eax]
lea ecx, [esi + 0x292c]
mov dword [ebp - 0x270], eax
call fcn.010b3143
test eax, eax
je 0x10af7d1
mov eax, dword [0x1111dc0]
mov ecx, dword [esi + 0x2b1c]
add eax, 0xa054
add ecx, 0x74
cmp eax, edi
je 0x10af361
push 3
push dword [ebp - 0x26c]
push 0x1017f28
call fcn.01063d70
jmp 0x10af36b
push 0x1017f28
call fcn.01063e5e
mov eax, dword [ebp - 0x270]
mov eax, dword [eax]
push 0x17
pop ecx
mov dword [esi + 0x2ddc], eax
xor eax, eax
lea edi, [ebp - 0x268]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x2ddc]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x268]
push eax
push 4
push 0x444
push dword [esi + 0x2618]
mov edx, accept
or dword [esi + 0x2dd4], edx
mov dword [ebp - 0x268], 0x5c
mov dword [ebp - 0x264], edx
call edi
lea eax, [ebp - 0x268]
push eax
push ebx
push 0x444
push dword [esi + 0x2618]
call edi
jmp 0x10af7d1
mov eax, edi
sub eax, 0xa059
je 0x10af42f
dec eax
je 0x10af41d
dec eax
je 0x10af412
dec eax
jne case.0x10af45b.41055
xor ebx, ebx
push ebx
push ebx
push 0x303
cmp byte [esi + 0x3008], bl
jne 0x10af47d
push dword [esi + 0x2618]
jmp 0x10af483
xor ebx, ebx
push ebx
push ebx
push 0x302
jmp 0x10af402
xor ebx, ebx
push ebx
push ebx
push 0x301
call dword [sym.imp.USER32.dll_GetFocus]
push eax
jmp 0x10af483
xor ebx, ebx
push ebx
push ebx
push 0x300
jmp 0x10af402
push 0xffffffffffffffff
push 0
push 0xb1
jmp 0x10af426
lea eax, [edi - 0xa05e]
cmp eax, 0x40
ja case.0x10af45b.41055
movzx eax, byte [eax + 0x10af834]
jmp dword [eax*4 + 0x10af7e0]
push dword [esi + 0x2614]
call fcn.0104a4fb
jmp 0x10af7d1
xor ebx, ebx
push ebx
push ebx
push 0x304
jmp 0x10af402
push dword [esi + 0x2fe4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10af7d1
sub edi, 0xa099
mov eax, dword [esi + 0x3000]
je 0x10af4ac
dec edi
je 0x10af4a7
dec edi
jne 0x10af4ae
push 2
pop eax
jmp 0x10af4ae
xor eax, eax
inc eax
jmp 0x10af4ae
xor eax, eax
push 1
push eax
mov ecx, esi
call fcn.010a7fdc
jmp 0x10af7d1
push dword [esi + 0x2614]
mov ecx, dword [0x1113528]
call fcn.01050b2b
jmp 0x10af7d1
push 0
push 0xa092
mov ecx, esi
call fcn.010a23b8
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
sub eax, 8
neg eax
sbb eax, eax
inc eax
push eax
push 4
lea ecx, [esi + 0x5c]
call fcn.010bd89f
jmp 0x10af7d1
push 0
push 0xa091
mov ecx, esi
call fcn.010a23b8
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
xor ecx, ecx
cmp eax, 8
setne cl
push ecx
push 4
lea ecx, [esi + 0x5c]
call fcn.0109c269
jmp 0x10af7d1
xor eax, eax
cmp dword [esi + 0x2564], eax
mov ecx, esi
sete al
push eax
call fcn.010a7d77
jmp 0x10af7d1
xor eax, eax
cmp dword [esi + 0x4c], eax
mov ecx, esi
sete al
push eax
call fcn.010a768a
jmp 0x10af7d1
xor ebx, ebx
push ebx
mov ecx, esi
call fcn.010a2358
test eax, eax
jne 0x10af5aa
lea edi, [esi + 0x5c]
mov ecx, edi
call fcn.010bb665
test eax, eax
jne 0x10af5aa
mov ecx, edi
call fcn.010bb60e
test eax, eax
je 0x10af589
cmp dword [esi + 0xac], ebx
jne 0x10af5aa
mov edi, dword [ebp - 0x26c]
push edi
mov ecx, esi
call fcn.010aea90
cmp edi, ebx
je 0x10af7d1
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x10af7d1
cmp dword [esi + 0xa4], ebx
je 0x10af5bb
mov eax, 0x9f64
push 0x36
jmp 0x10af5f4
cmp dword [esi + 0xa8], ebx
jne 0x10af5ed
lea edi, [esi + 0x5c]
mov ecx, edi
call fcn.010bb665
test eax, eax
jne 0x10af5ed
mov ecx, edi
call fcn.010bb60e
test eax, eax
je 0x10af5e4
cmp dword [esi + 0xac], ebx
jne 0x10af5ed
mov eax, 0x9f59
push 0x38
jmp 0x10af5f4
mov eax, 0x9f65
push 0x3b
pop edi
push eax
lea ecx, [ebp - 0x488]
call fcn.0103d0ec
push edi
lea eax, [ebp - 0x488]
push eax
mov ecx, esi
call fcn.0109f865
jmp 0x10af7d1
mov ecx, esi
call fcn.010a5f4a
jmp 0x10af7d1
mov ecx, esi
call fcn.010a5e53
jmp 0x10af7d1
push 0
mov ecx, esi
call fcn.010a5ddc
jmp 0x10af7d1
xor eax, eax
xor ebx, ebx
cmp dword [ebp - 0x26c], ebx
mov ecx, esi
setne al
push eax
push ebx
jmp 0x10af692
mov ecx, esi
call fcn.010a4753
test al, al
mov ecx, esi
je 0x10af66b
xor eax, eax
cmp dword [ebp - 0x26c], eax
setne al
push eax
push 1
jmp 0x10af692
push 1
call fcn.010a6205
jmp 0x10af7d1
mov ecx, esi
call fcn.010a4753
test al, al
mov ecx, esi
je 0x10af69c
xor eax, eax
cmp dword [ebp - 0x26c], eax
setne al
push eax
push 2
call fcn.010a60ad
jmp 0x10af7d1
push 1
call fcn.010a627a
jmp 0x10af7d1
mov ecx, esi
call fcn.010a6041
jmp 0x10af7d1
push dword [ebp - 0x26c]
mov ecx, esi
call fcn.010a6f91
jmp 0x10af7d1
push 0
call fcn.01069699
jmp 0x10af7d1
mov ecx, esi
call fcn.010a63c2
jmp 0x10af7d1
mov ecx, esi
call fcn.010a94c5
mov ecx, esi
call fcn.0109fa40
jmp 0x10af7d1
xor ebx, ebx
cmp edi, 0xa26a
jb 0x10af71c
cmp edi, 0xa26c
ja 0x10af71c
mov eax, dword [esi + 0x2fcc]
push ebx
push dword [eax + edi*4 - 0x289a8]
push dword [esi + 0x2614]
call fcn.01051efc
cmp edi, 0xa1b8
jb 0x10af756
cmp edi, 0xa1b9
ja 0x10af756
push 3
push dword [esi + 0x2614]
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
push edi
push eax
call fcn.0104b059
cmp eax, ebx
je 0x10af7d1
push eax
jmp 0x10af6ba
cmp edi, 0xa99a
jb 0x10af7d1
cmp edi, 0xa9da
ja 0x10af7d1
lea eax, [ebp - 0x23c]
push eax
push ebx
push edi
push dword [esi + 0x2b5c]
mov dword [ebp - 0x23c], 0x30
mov dword [ebp - 0x238], 0x23
mov dword [ebp - 0x22c], edi
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x10af7c4
cmp dword [ebp - 0x21c], ebx
je 0x10af7c4
cmp dword [ebp - 0x230], 8
jne 0x10af7ad
push ebx
jmp 0x10af7b7
cmp dword [ebp - 0x230], ebx
jne 0x10af7c4
push 1
push dword [ebp - 0x21c]
mov ecx, esi
call fcn.010a741f
push dword [esi + 0x2b5c]
mov ecx, esi
call fcn.010a04f6
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0105ec09
leave
ret 8