Function at 0x100114a0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x1003f6e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [edx + 4]
push ebx
mov dword [ebp - 0x268], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x260], edx
test byte [edx + 0x16], 1
push esi
push edi
mov dword [ebp - 0x264], ecx
mov word [ebp - 0x25c], ax
je 0x10011785
cmp bx, 0x1d
jb 0x100114ec
xor edi, edi
jmp 0x100114f8
movzx edi, bx
shl edi, 5
add edi, section..data
inc ebx
test edi, edi
je 0x1001176c
push dword [edi + 0x14]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x1001173b
movzx eax, word [edi + 0x10]
add eax, dword [ebp - 0x268]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x26c], eax
mov eax, ecx
and eax, 0xf
cmp eax, 2
je 0x1001153b
cmp eax, 1
jne 0x10011657
test ecx, 0x400000
je 0x1001161f
push 0
push 0
push 0x147
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, eax
mov eax, dword [edi + 4]
cmp eax, 0x402
jne 0x100115a6
push 0
push ecx
push 0x150
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
test eax, eax
push 0xa
sets cl
dec ecx
and ecx, eax
lea eax, [ebp - 0x25c]
push eax
mov eax, dword [ebp - 0x268]
shl ecx, 8
movzx eax, byte [eax + 0xa8]
add eax, ecx
push eax
call dword [sym.imp.msvcrt.dll__itow]
add esp, 0xc
jmp 0x10011632
cmp eax, 0x3ea
jne 0x100115ed
xor eax, eax
test ecx, ecx
push 0
sets al
dec eax
and eax, ecx
push eax
push 0x150
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x268]
mov ecx, dword [ecx + 0xac]
push dword [ecx + eax*4 + 0x1c]
lea eax, [ebp - 0x25c]
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
jmp 0x10011632
test ecx, ecx
jns 0x100115fc
xor eax, eax
mov word [ebp - 0x25c], ax
jmp 0x1001163c
push 0
push ecx
push 0x150
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x12c
lea edx, [ebp - 0x25c]
mov ecx, eax
call fcn.10032350
jmp 0x10011632
push 0x12c
lea eax, [ebp - 0x25c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x25c], 0
jne 0x10011657
mov eax, dword [ebp - 0x26c]
mov edx, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x264]
cmp dword [eax], 0
je 0x100114e2
mov eax, dword [edi + 8]
and eax, 0xf
cmp al, 3
jne 0x100116c4
push 0
push 0
push 0xf0
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test dword [edi + 8], 0x2000000
je 0x10011683
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
test eax, eax
jne 0x100116a9
mov eax, dword [ebp - 0x26c]
mov edx, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x264]
cmp dword [eax], 0
je 0x100114e2
mov eax, 0x10001ddc
jmp 0x100116ae
mov eax, 0x10002194
push eax
lea eax, [ebp - 0x25c]
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0xc
lea esi, [ebp - 0x25c]
lea ecx, [esi + 2]
lea ecx, [ecx]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100116d0
lea eax, [ebp - 0x25c]
sub esi, ecx
push edi
push eax
sar esi, 1
call dword [sym.imp.msvcrt.dll__wtol]
add esp, 4
push eax
push esi
mov esi, dword [edi + 0xc]
lea eax, [ebp - 0x25c]
push eax
mov eax, dword [ebp - 0x260]
mov ecx, esi
push dword [eax + 4]
call dword [0x10042350]
call esi
movzx eax, ax
test ax, ax
je 0x1001171d
cmp ax, 1
jne 0x10011787
mov edx, dword [ebp - 0x260]
movzx ecx, bx
dec ecx
mov eax, dword [edx + 8]
bts eax, ecx
mov ecx, dword [ebp - 0x264]
mov dword [edx + 8], eax
jmp 0x100114e2
test dword [edi + 8], 0x4000
mov edx, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x264]
je 0x100114e2
mov eax, dword [edx + 8]
movzx ecx, bx
dec ecx
bts eax, ecx
mov ecx, dword [ebp - 0x264]
mov dword [edx + 8], eax
jmp 0x100114e2
mov eax, dword [ebp - 0x268]
cmp byte [eax + 0xa8], 0x1b
jne 0x10011785
mov eax, dword [eax + 0x30]
test eax, eax
je 0x10011785
mov dword [edx + 0x28], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003a1d0
mov esp, ebp
pop ebp
ret