Function at 0x10011f60
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 0x10012293
jmp 0x10011fb6
mov ebx, dword [ebp - 0x260]
cmp si, 0x1d
jae 0x1001227a
movzx edi, si
inc esi
shl edi, 5
mov dword [ebp - 0x270], esi
add edi, section..data
je 0x1001227a
push dword [edi + 0x14]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x10012249
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 0x10012013
cmp eax, 1
jne 0x1001217e
test ecx, 0x400000
je 0x1001214c
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 0x1001207e
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 0x1001215f
cmp eax, 0x3ea
jne 0x100120c8
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 0x1001215f
test ecx, ecx
jns 0x100120da
xor eax, eax
mov word [ebp - 0x25c], ax
jmp 0x10012169
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 [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x25c], 0
jne 0x1001217e
mov esi, dword [0x1004332c]
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 0x1001215f
push 0x12c
lea eax, [ebp - 0x25c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x25c], 0
jne 0x1001217e
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x264]
cmp dword [eax], 0
je 0x10011fb0
mov eax, dword [edi + 8]
and eax, 0xf
cmp al, 3
jne 0x100121eb
push 0
push 0
push 0xf0
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test dword [edi + 8], 0x2000000
je 0x100121aa
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
test eax, eax
jne 0x100121d0
mov eax, dword [ebp - 0x26c]
mov ebx, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x264]
cmp dword [eax], 0
je 0x10011fb6
mov eax, 0x10001dec
jmp 0x100121d5
mov eax, 0x100021a4
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 0x100121f4
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 0x10012241
cmp ax, 1
jne 0x10012295
mov esi, dword [ebp - 0x270]
jmp 0x10012262
test dword [edi + 8], 0x4000
mov ebx, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x264]
je 0x10011fb6
mov eax, dword [ebx + 8]
movzx ecx, si
dec ecx
bts eax, ecx
mov ecx, dword [ebp - 0x264]
mov dword [ebx + 8], eax
jmp 0x10011fb6
mov eax, dword [ebp - 0x268]
cmp byte [eax + 0xa8], 0x1b
jne 0x10012293
mov eax, dword [eax + 0x30]
test eax, eax
je 0x10012293
mov dword [ebx + 0x28], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c3b0
mov esp, ebp
pop ebp
ret