Function at 0x10af01a
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 0x10af4ee
je 0x10af4e3
add eax, 0xffffffbe
cmp edi, eax
ja 0x10af30f
je 0x10af2ba
mov eax, 0xa012
cmp edi, eax
ja 0x10af26a
xor ebx, ebx
cmp edi, eax
je 0x10af1c1
mov eax, edi
dec eax
je 0x10af173
sub eax, 0x464
je 0x10af121
sub eax, 0x97f4
je 0x10af0f2
sub eax, 0x3b1
je 0x10af0e2
sub eax, 7
jne case.0x10af504.41055
mov eax, dword [esi + 0x2b2c]
cmp eax, ebx
je 0x10af1c1
cmp word [eax], bx
je 0x10af1c1
push 0x2a
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
jne 0x10af1c1
push ebx
push dword [esi + 0x2b2c]
mov ecx, esi
call fcn.010a3bdd
jmp 0x10af87a
push dword [esi + 0x2614]
call fcn.01054e2c
jmp 0x10af87a
xor ebx, ebx
cmp byte [esi + 0x3008], bl
je 0x10af108
mov ecx, esi
call fcn.010aee67
jmp 0x10af78e
push ebx
push 0xd
push 0x100
push dword [esi + 0x2618]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10af78e
lea eax, [ebp - 0x280]
push eax
push 0x465
lea ecx, [esi + 0x40]
mov dword [ebp - 0x284], 0x14
call fcn.0110ae6c
lea edi, [esi + 0x2fc0]
xor ebx, ebx
cmp dword [edi], ebx
jne 0x10af152
call fcn.0109f770
mov dword [edi], eax
mov ecx, dword [edi]
cmp ecx, ebx
je 0x10af87a
lea eax, [ebp - 0x280]
push eax
push dword [esi + 0x2618]
call fcn.01098510
jmp 0x10af87a
shr ecx, 0x10
cmp cx, 0x500
je 0x10af1b4
cmp cx, 0x501
je 0x10af1b4
cmp cx, 0x300
jne 0x10af87a
mov ecx, esi
call fcn.010a48b9
xor ebx, ebx
cmp byte [esi + 0x3008], bl
je 0x10af1a8
push ebx
mov ecx, esi
call fcn.010a9b0f
mov ecx, esi
call fcn.010a7660
jmp 0x10af87a
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x10af87a
cmp dword [esi + 0x2b2c], ebx
mov edi, 0x104
jne 0x10af207
push 0x208
call fcn.0105f04e
cmp eax, ebx
pop ecx
mov dword [esi + 0x2b2c], eax
je 0x10af87a
push edi
push eax
push 0x9c9d
push dword [0x1112f58]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jg 0x10af207
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.010ae8a5
test eax, eax
je 0x10af87a
mov eax, dword [esi + 0x2b2c]
cmp eax, ebx
je 0x10af87a
xor ecx, ecx
cmp dword [0x1112e38], 2
sete cl
push ecx
push eax
mov ecx, esi
call fcn.010a3bdd
test eax, eax
jne 0x10af87a
mov eax, dword [esi + 0x2b2c]
mov word [eax], bx
jmp 0x10af87a
mov eax, edi
sub eax, 0xa013
je 0x10af87a
dec eax
je 0x10af2a9
sub eax, 3
je 0x10af29d
dec eax
jne case.0x10af504.41055
cmp byte [esi + 0x3008], 0
mov ecx, esi
sete al
push eax
call fcn.010a9b0f
jmp 0x10af78e
mov ecx, esi
call fcn.010a1370
jmp 0x10af87a
xor ebx, ebx
push ebx
push ebx
push 0x10
push dword [esi + 0x2614]
jmp 0x10af52c
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.010a2458
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x10af87a
mov ecx, 0xa058
cmp edi, ecx
ja 0x10af48c
mov eax, 0xa054
cmp edi, eax
jae 0x10af397
mov eax, edi
sub eax, 0xa023
je 0x10af38b
sub eax, 0xe
je 0x10af36a
sub eax, 0x1c
je 0x10af35e
dec eax
je 0x10af350
sub eax, 5
jne case.0x10af504.41055
mov ecx, esi
call fcn.010a443a
jmp 0x10af87a
push 7
mov ecx, esi
call fcn.010a23ca
jmp 0x10af87a
mov ecx, esi
call fcn.010a6409
jmp 0x10af87a
call fcn.010668e4
neg eax
sbb eax, eax
neg eax
add eax, 0x3fd
push eax
push dword [esi + 0x2614]
call fcn.0104bd32
jmp 0x10af87a
mov ecx, esi
call fcn.010a649f
jmp 0x10af87a
xor ebx, ebx
push ebx
push edi
push ecx
push eax
mov ecx, esi
call fcn.010a2458
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.010b31ec
test eax, eax
je 0x10af87a
mov eax, dword [0x1111dc0]
mov ecx, dword [esi + 0x2b1c]
add eax, 0xa054
add ecx, 0x74
cmp eax, edi
je 0x10af40a
push 3
push dword [ebp - 0x26c]
push 0x1017f40
call fcn.01063e10
jmp 0x10af414
push 0x1017f40
call fcn.01063efe
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, 0x80000000
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 0x10af87a
mov eax, edi
sub eax, 0xa059
je 0x10af4d8
dec eax
je 0x10af4c6
dec eax
je 0x10af4bb
dec eax
jne case.0x10af504.41055
xor ebx, ebx
push ebx
push ebx
push 0x303
cmp byte [esi + 0x3008], bl
jne 0x10af526
push dword [esi + 0x2618]
jmp 0x10af52c
xor ebx, ebx
push ebx
push ebx
push 0x302
jmp 0x10af4ab
xor ebx, ebx
push ebx
push ebx
push 0x301
call dword [sym.imp.USER32.dll_GetFocus]
push eax
jmp 0x10af52c
xor ebx, ebx
push ebx
push ebx
push 0x300
jmp 0x10af4ab
push 0xffffffffffffffff
push 0
push 0xb1
jmp 0x10af4cf
lea eax, [edi - 0xa05e]
cmp eax, 0x40
ja case.0x10af504.41055
movzx eax, byte [eax + 0x10af8dd]
jmp dword [eax*4 + 0x10af889]
push dword [esi + 0x2614]
call fcn.0104a59b
jmp 0x10af87a
xor ebx, ebx
push ebx
push ebx
push 0x304
jmp 0x10af4ab
push dword [esi + 0x2fe4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10af87a
sub edi, 0xa099
mov eax, dword [esi + 0x3000]
je 0x10af555
dec edi
je 0x10af550
dec edi
jne 0x10af557
push 2
pop eax
jmp 0x10af557
xor eax, eax
inc eax
jmp 0x10af557
xor eax, eax
push 1
push eax
mov ecx, esi
call fcn.010a8085
jmp 0x10af87a
push dword [esi + 0x2614]
mov ecx, dword [0x1113528]
call fcn.01050bcb
jmp 0x10af87a
push 0
push 0xa092
mov ecx, esi
call fcn.010a2458
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.010bd948
jmp 0x10af87a
push 0
push 0xa091
mov ecx, esi
call fcn.010a2458
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.0109c309
jmp 0x10af87a
xor eax, eax
cmp dword [esi + 0x2564], eax
mov ecx, esi
sete al
push eax
call fcn.010a7e20
jmp 0x10af87a
xor eax, eax
cmp dword [esi + 0x4c], eax
mov ecx, esi
sete al
push eax
call fcn.010a7733
jmp 0x10af87a
xor ebx, ebx
push ebx
mov ecx, esi
call fcn.010a23f8
test eax, eax
jne 0x10af653
lea edi, [esi + 0x5c]
mov ecx, edi
call fcn.010bb70e
test eax, eax
jne 0x10af653
mov ecx, edi
call fcn.010bb6b7
test eax, eax
je 0x10af632
cmp dword [esi + 0xac], ebx
jne 0x10af653
mov edi, dword [ebp - 0x26c]
push edi
mov ecx, esi
call fcn.010aeb39
cmp edi, ebx
je 0x10af87a
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x10af87a
cmp dword [esi + 0xa4], ebx
je 0x10af664
mov eax, 0x9f64
push 0x36
jmp 0x10af69d
cmp dword [esi + 0xa8], ebx
jne 0x10af696
lea edi, [esi + 0x5c]
mov ecx, edi
call fcn.010bb70e
test eax, eax
jne 0x10af696
mov ecx, edi
call fcn.010bb6b7
test eax, eax
je 0x10af68d
cmp dword [esi + 0xac], ebx
jne 0x10af696
mov eax, 0x9f59
push 0x38
jmp 0x10af69d
mov eax, 0x9f65
push 0x3b
pop edi
push eax
lea ecx, [ebp - 0x488]
call fcn.0103d18c
push edi
lea eax, [ebp - 0x488]
push eax
mov ecx, esi
call fcn.0109f905
jmp 0x10af87a
mov ecx, esi
call fcn.010a5fea
jmp 0x10af87a
mov ecx, esi
call fcn.010a5ef3
jmp 0x10af87a
push 0
mov ecx, esi
call fcn.010a5e7c
jmp 0x10af87a
xor eax, eax
xor ebx, ebx
cmp dword [ebp - 0x26c], ebx
mov ecx, esi
setne al
push eax
push ebx
jmp 0x10af73b
mov ecx, esi
call fcn.010a47f3
test al, al
mov ecx, esi
je 0x10af714
xor eax, eax
cmp dword [ebp - 0x26c], eax
setne al
push eax
push 1
jmp 0x10af73b
push 1
call fcn.010a62a5
jmp 0x10af87a
mov ecx, esi
call fcn.010a47f3
test al, al
mov ecx, esi
je 0x10af745
xor eax, eax
cmp dword [ebp - 0x26c], eax
setne al
push eax
push 2
call fcn.010a614d
jmp 0x10af87a
push 1
call fcn.010a631a
jmp 0x10af87a
mov ecx, esi
call fcn.010a60e1
jmp 0x10af87a
push dword [ebp - 0x26c]
mov ecx, esi
call fcn.010a703a
jmp 0x10af87a
push 0
call fcn.01069739
jmp 0x10af87a
mov ecx, esi
call fcn.010a6462
jmp 0x10af87a
mov ecx, esi
call fcn.010a956e
mov ecx, esi
call fcn.0109fae0
jmp 0x10af87a
xor ebx, ebx
cmp edi, 0xa26a
jb 0x10af7c5
cmp edi, 0xa26c
ja 0x10af7c5
mov eax, dword [esi + 0x2fcc]
push ebx
push dword [eax + edi*4 - 0x289a8]
push dword [esi + 0x2614]
call fcn.01051f9c
cmp edi, 0xa1b8
jb 0x10af7ff
cmp edi, 0xa1b9
ja 0x10af7ff
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.0104b0f9
cmp eax, ebx
je 0x10af87a
push eax
jmp 0x10af763
cmp edi, 0xa99a
jb 0x10af87a
cmp edi, 0xa9da
ja 0x10af87a
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 0x10af86d
cmp dword [ebp - 0x21c], ebx
je 0x10af86d
cmp dword [ebp - 0x230], 8
jne 0x10af856
push ebx
jmp 0x10af860
cmp dword [ebp - 0x230], ebx
jne 0x10af86d
push 1
push dword [ebp - 0x21c]
mov ecx, esi
call fcn.010a74c8
push dword [esi + 0x2b5c]
mov ecx, esi
call fcn.010a0596
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0105eca9
leave
ret 8