Function at 0x100aaa2
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x104e830]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
cmp byte [esi + 8], 0
push 3
mov byte [ebp - 0xcd], 0
pop edx
jne 0x100ad86
movzx ecx, word [ebp + 0xc]
mov eax, 0xaf
cmp ecx, eax
jg 0x100ac5e
je 0x100ac44
sub ecx, 0x9d
je 0x100ac0e
sub ecx, 0xb
je 0x100ab64
sub ecx, edx
je 0x100ab4d
dec ecx
je 0x100ab37
dec ecx
je 0x100ab20
dec ecx
jne 0x100ad86
push 2
mov ecx, esi
call fcn.0100932b
mov eax, dword [0x104fc2c]
or dword [eax + 0x28], 0x20
jmp 0x100ad86
push 0
mov ecx, esi
call fcn.0100932b
mov eax, dword [0x104fc2c]
or dword [eax + 0x28], 8
jmp 0x100ad86
push edx
mov ecx, esi
call fcn.0100932b
mov eax, dword [0x104fc2c]
or dword [eax + 0x28], 0x40
jmp 0x100ad86
push 1
mov ecx, esi
call fcn.0100932b
mov eax, dword [0x104fc2c]
or dword [eax + 0x28], 0x10
jmp 0x100ad86
mov eax, dword [esi + 0x4dc]
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x96
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp + eax*2 - 0xce]
cmp word [eax], 0x20
jne 0x100ab98
xor ecx, ecx
mov word [eax], cx
lea edi, [esi + 0x4d8]
mov ecx, edi
call fcn.010118cc
mov edx, dword [eax]
lea ecx, [ebp - 0xcc]
push ecx
mov ecx, eax
call dword [edx + 8]
test al, al
je 0x100ad86
push 0x10018f8
lea eax, [ebp - 0xcc]
push eax
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x10]
call fcn.0100419a
mov ecx, edi
call fcn.010118cc
mov ecx, eax
call fcn.0101d9e1
cmp eax, 0x7d0
jge 0x100ad86
push dword [ebp + 0x10]
mov eax, dword [esi + 0x4dc]
push 0x51
push 0x111
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x100ad86
cmp dword [esi + 0x24], edx
jne 0x100ac20
lea ecx, [esi + 0x4d8]
call fcn.010118cc
jmp 0x100ac31
cmp byte [esi + 0x28], 0
je 0x100ac38
lea ecx, [esi + 0x4a0]
call fcn.01013847
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov byte [ebp - 0xcd], 1
jmp 0x100ad86
push 4
mov ecx, esi
call fcn.0100932b
mov eax, dword [0x104fc2c]
or dword [eax + 0x28], 0x80
jmp 0x100ad86
sub ecx, 0xb0
je 0x100ad71
sub ecx, 0x36b
je 0x100ad3e
dec ecx
je 0x100ad0b
sub ecx, edx
je 0x100accc
dec ecx
jne 0x100ad86
lea edi, [esi + 0x4d8]
mov ecx, edi
call fcn.010118cc
mov ecx, eax
call fcn.0101cc58
mov ecx, edi
test eax, eax
jne 0x100acb0
call fcn.010118cc
mov ecx, eax
call fcn.0101de7f
jmp 0x100acbe
call fcn.010118cc
mov edx, dword [eax]
push 0x2b
mov ecx, eax
call dword [edx + 0xc]
mov eax, dword [0x104fc2c]
or dword [eax + 0x28], 2
jmp 0x100ad86
lea edi, [esi + 0x4d8]
mov ecx, edi
call fcn.010118cc
mov ecx, eax
call fcn.0101cc58
mov ecx, edi
test eax, eax
jne 0x100acf4
call fcn.010118cc
mov ecx, eax
call fcn.0101de11
jmp 0x100ad00
call fcn.010118cc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x10]
mov eax, dword [0x104fc2c]
or dword [eax + 0x28], 4
jmp 0x100ad86
cmp dword [esi + 0x24], edx
jne 0x100ad1d
lea ecx, [esi + 0x4d8]
call fcn.010118cc
jmp 0x100ad32
cmp byte [esi + 0x28], 0
je 0x100ac38
lea ecx, [esi + 0x4a0]
call fcn.01013847
mov ecx, eax
call fcn.0101ccda
jmp 0x100ac38
cmp dword [esi + 0x24], edx
jne 0x100ad50
lea ecx, [esi + 0x4d8]
call fcn.010118cc
jmp 0x100ad65
cmp byte [esi + 0x28], 0
je 0x100ac38
lea ecx, [esi + 0x4a0]
call fcn.01013847
mov ecx, eax
call fcn.0101cd3e
jmp 0x100ac38
push 5
mov ecx, esi
call fcn.0100932b
mov eax, dword [0x104fc2c]
or dword [eax + 0x28], 0x100
mov edi, dword [ebp + 0xc]
xor eax, eax
mov ebx, edi
shr ebx, 0x10
inc eax
mov dword [ebp - 0xdc], ebx
cmp ax, bx
jne 0x100ade2
mov eax, dword [0x104f030]
test eax, eax
je 0x100ade7
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
movzx edi, di
push edi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x100addf
mov eax, dword [0x104f030]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x100addf
xor al, al
jmp 0x100b155
mov edi, dword [ebp + 0xc]
mov eax, dword [0x104f030]
cmp dword [esi + 0x24], 0
jne 0x100ae23
xor ecx, ecx
inc ecx
cmp cx, bx
jne 0x100ae23
push 0x51
pop ecx
cmp cx, di
jne 0x100ae23
mov ecx, dword [esi + 0x58]
cmp byte [ecx + 0x210], 0
je 0x100ae23
mov eax, dword [eax + 8]
push 0
push 0x77
push 0x111
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x104f030]
mov ecx, dword [esi + 0x24]
cmp ecx, 1
je 0x100ae2f
test ecx, ecx
jne 0x100ae5d
mov ecx, 0x9b
cmp di, cx
jne 0x100ae46
lea ecx, [esi + 0x5c]
call fcn.0100f840
jmp 0x100b02c
mov ecx, 0x9c
cmp di, cx
jne 0x100ae5d
lea ecx, [esi + 0x5c]
call fcn.0100f89e
mov eax, dword [0x104f030]
mov ecx, 0x94
cmp di, cx
jne 0x100afe4
and dword [ebp - 0xe0], 0
and dword [ebp - 0xd8], 0
cmp dword [0x104ef6c], 0
mov edx, 0x10000
mov ebx, 0x80010000
je 0x100aedf
mov al, byte [0x104ef70]
cmp al, 4
jae 0x100ae99
test al, al
jne 0x100aedf
mov eax, dword [0x104ef58]
mov ecx, dword [0x104ef5c]
and eax, edx
and ecx, ebx
or eax, ecx
je 0x100aedf
mov eax, dword [0x104ef60]
mov edi, dword [0x104ef64]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, ebx
cmp ecx, eax
jne 0x100aedf
cmp edx, edi
jne 0x100aedf
push 0x18
push 0x1001858
push dword [0x104ef44]
push dword [0x104ef40]
call fcn.0100801f
mov ecx, 0x104f478
call fcn.01013847
mov ecx, eax
call fcn.0101cc58
push eax
mov dword [ebp - 0xe4], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01035ed2
pop ecx
push edi
push eax
push dword [ebp - 0xe4]
xor ecx, ecx
mov dword [ebp - 0xd4], eax
mov word [eax], cx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xe0]
push eax
movzx eax, word [ebp - 0xdc]
push dword [ebp - 0xd4]
push eax
call fcn.01018399
test eax, eax
jne 0x100af69
mov eax, dword [0x104fc2c]
or dword [eax + 0x24], 4
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
push dword [ebp - 0xd4]
call fcn.01035dd1
cmp dword [0x104ef6c], 0
pop ecx
je 0x100afd6
mov al, byte [0x104ef70]
cmp al, 4
jae 0x100af8b
test al, al
jne 0x100afd6
mov eax, dword [0x104ef58]
mov ecx, dword [0x104ef5c]
mov edx, 0x10000
and eax, edx
and ecx, ebx
or eax, ecx
je 0x100afd6
mov eax, dword [0x104ef60]
mov edi, dword [0x104ef64]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, ebx
cmp ecx, eax
jne 0x100afd6
cmp edx, edi
jne 0x100afd6
push 0x19
push 0x1001868
push dword [0x104ef44]
push dword [0x104ef40]
call fcn.0100801f
mov eax, dword [0x104fc2c]
or dword [eax + 0x24], 2
mov edi, dword [ebp + 0xc]
jmp 0x100b02c
mov ecx, 0x41a
cmp di, cx
jne 0x100aff8
mov ecx, dword [esi + 0x20]
call fcn.0101704c
jmp 0x100b02c
mov ecx, 0x41d
cmp di, cx
jne 0x100b00f
cmp dword [0x104effc], 3
je 0x100b02c
push 0
jmp 0x100b024
mov ecx, 0x41e
cmp di, cx
jne 0x100b02c
cmp dword [0x104effc], 3
je 0x100b02c
push 1
mov ecx, dword [eax + 8]
call fcn.0100dc0c
cmp dword [esi + 0x10], 2
jne 0x100b071
lea eax, [edi - 0x82]
cmp eax, 0xf
ja 0x100b051
add edi, 0xffffffae
movzx eax, di
mov ecx, dword [esi + 0x14]
push eax
call fcn.0101175e
jmp 0x100b148
cmp edi, 0x50
je 0x100b064
cmp edi, 0x54
jne 0x100b14f
push 0x2e
pop eax
jmp 0x100b043
mov ecx, dword [esi + 0x14]
call fcn.010116b1
jmp 0x100b148
cmp dword [esi + 0x24], 2
jne 0x100b0a3
movzx eax, di
add eax, 0xfffffcfe
cmp eax, 2
ja 0x100b0a3
push dword [ebp + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 8]
push edi
push 0x111
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 0xcd], 1
cmp byte [ebp - 0xcd], 0
jne 0x100b0bc
cmp di, 0x50
jb 0x100b0bc
mov eax, 0x92
cmp di, ax
jbe 0x100b0da
mov eax, 0x139
cmp di, ax
jb 0x100b0ce
add eax, 0xa
cmp di, ax
jbe 0x100b0da
lea eax, [edi - 0x2bc]
cmp ax, 0x3f
ja 0x100b14f
cmp byte [esi + 8], 0
je 0x100b0e6
cmp di, 0x51
jne 0x100b0f6
mov ecx, dword [esi + 0x20]
movzx eax, di
push eax
call fcn.01017579
mov byte [esi + 8], 0
cmp di, 0x79
jne 0x100b11f
push dword [0x104f028]
mov edi, dword [sym.imp.USER32.dll_SetFocus]
call edi
mov eax, dword [esi + 0x60]
push 0x96
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call edi
mov edi, dword [ebp + 0xc]
movzx eax, di
cmp eax, 0x51
je 0x100b13d
cmp eax, 0x79
je 0x100b13d
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0x988]
call fcn.01006399
jmp 0x100b148
lea ecx, [esi + 0x988]
call fcn.0100a664
mov byte [ebp - 0xcd], 1
mov al, byte [ebp - 0xcd]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01038325
leave
ret 0xc