Function at 0x10011c80
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x100416e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
mov dword [ebp - 0x264], ecx
push esi
xor esi, esi
mov dword [ebp - 0x260], ebx
push edi
mov eax, dword [ebx + 4]
mov dword [ebp - 0x268], eax
xor eax, eax
test byte [ebx + 0x16], 1
mov word [ebp - 0x25c], ax
je 0x10011fb5
jmp 0x10011cd6
mov ebx, dword [ebp - 0x260]
cmp si, 0x1d
jb 0x10011ce0
xor edi, edi
jmp 0x10011cec
movzx edi, si
shl edi, 5
add edi, section..data
inc esi
mov dword [ebp - 0x270], esi
test edi, edi
je 0x10011f9c
push dword [edi + 0x14]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x10011f6b
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 0x10011d35
cmp eax, 1
jne 0x10011ea0
test ecx, 0x400000
je 0x10011e6e
push 0
push 0
push 0x147
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, eax
mov eax, dword [edi + 4]
cmp eax, 0x402
jne 0x10011da0
push 0
push ecx
push 0x150
push ebx
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 0x10011e81
cmp eax, 0x3ea
jne 0x10011dea
xor eax, eax
test ecx, ecx
push 0
sets al
dec eax
and eax, ecx
push eax
push 0x150
push ebx
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 0x10011e81
test ecx, ecx
jns 0x10011dfc
xor eax, eax
mov word [ebp - 0x25c], ax
jmp 0x10011e8b
push 0
push ecx
push 0x150
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov dword [ebp - 0x274], eax
push 0x12c
mov word [ebp - 0x25c], cx
lea ecx, [ebp - 0x25c]
push ecx
push eax
push dword [0x10043578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x25c], 0
jne 0x10011ea0
mov esi, dword [0x1004338c]
lea eax, [ebp - 0x25c]
push 0x12c
push eax
push dword [ebp - 0x274]
mov ecx, esi
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [ebp - 0x270]
jmp 0x10011e81
push 0x12c
lea eax, [ebp - 0x25c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x25c], 0
jne 0x10011ea0
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x264]
cmp dword [eax], 0
je 0x10011cd0
mov eax, dword [edi + 8]
and eax, 0xf
cmp al, 3
jne 0x10011f0d
push 0
push 0
push 0xf0
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test dword [edi + 8], 0x2000000
je 0x10011ecc
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
test eax, eax
jne 0x10011ef2
mov eax, dword [ebp - 0x26c]
mov ebx, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x264]
cmp dword [eax], 0
je 0x10011cd6
mov eax, 0x10001ddc
jmp 0x10011ef7
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]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10011f16
lea eax, [ebp - 0x25c]
sub esi, ecx
push edi
push eax
sar esi, 1
call dword [sym.imp.msvcrt.dll__wtol]
mov ebx, dword [ebp - 0x260]
add esp, 4
push eax
push esi
mov esi, dword [edi + 0xc]
lea eax, [ebp - 0x25c]
push eax
push dword [ebx + 4]
mov ecx, esi
call dword [0x10044350]
call esi
movzx eax, ax
test ax, ax
je 0x10011f63
cmp ax, 1
jne 0x10011fb7
mov esi, dword [ebp - 0x270]
jmp 0x10011f84
test dword [edi + 8], 0x4000
mov ebx, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x264]
je 0x10011cd6
mov eax, dword [ebx + 8]
movzx ecx, si
dec ecx
bts eax, ecx
mov ecx, dword [ebp - 0x264]
mov dword [ebx + 8], eax
jmp 0x10011cd6
mov eax, dword [ebp - 0x268]
cmp byte [eax + 0xa8], 0x1b
jne 0x10011fb5
mov eax, dword [eax + 0x30]
test eax, eax
je 0x10011fb5
mov dword [ebx + 0x28], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003bd00
mov esp, ebp
pop ebp
ret