Function at 0x1001be00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 8], 0x3e8
jl 0x1001be49
cmp dword [ebp - 8], 0x400
jge 0x1001be49
mov eax, 1
jmp 0x1001bfec
imul edx, dword [ebp - 0x30], 0x14
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx + 0x28]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x34], 2
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
sar edx, 8
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
sub eax, 2
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xb
ja case.0x1001be8b.4
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x1001c008]
jmp dword [edx*4 + 0x1001bff4]
mov dword [ebp - 0x34], 3
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
cmp dword [ecx + 0x4c], 0
je 0x1001bf11
push 0
push 0
push 0xe
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 0x20], eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
imul ecx, dword [ebp - 0x1c], 0x18
mov edx, dword [ebp - 0xc]
add ecx, dword [edx + 0xc44]
call fcn.10041c60
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x1001bf0f
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x5534]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x5534]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.10008dd0
add esp, 8
jmp 0x1001bf60
push 0
push 0
push 0xe
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 0x28], edx
push 0
mov eax, dword [ebp - 0x28]
push eax
imul ecx, dword [ebp - 0x1c], 0x18
mov edx, dword [ebp - 0xc]
add ecx, dword [edx + 0xc44]
call fcn.10041c60
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x1001bf60
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1001bfb1
push 0
push 0
push 0xf0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
jmp 0x1001bfb1
push 0
push 0
push 0x147
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
jmp 0x1001bfb1
push 0
push 0
push 0x188
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
jmp 0x1001bfb1
mov eax, 1
jmp 0x1001bfec
mov eax, dword [ebp - 8]
sar eax, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jl 0x1001bfd0
cmp dword [ebp - 0x18], 4
jle 0x1001bfce
cmp dword [ebp - 0x18], 0xd
je 0x1001bfce
jmp 0x1001bfd0
jmp 0x1001bfe7
movzx ecx, word [ebp - 4]
push ecx
imul ecx, dword [ebp - 0x1c], 0x18
mov edx, dword [ebp - 0xc]
add ecx, dword [edx + 0xc44]
call fcn.10041730
mov eax, 1
mov esp, ebp
pop ebp
ret 8