Function at 0x1004fe6c
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c4
mov eax, dword [0x1008a418]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
push 0x9ab
push ebx
mov dword [ebp - 0x1b8], esi
mov dword [ebp - 0x1a4], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x60
push ebx
mov dword [ebp - 0x1b4], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [esi + 0x80]
mov edi, eax
xor eax, eax
mov dword [ebp - 0x1ac], edi
push eax
push eax
push 0x147
push edi
mov dword [ebp - 0x1b0], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1a8], eax
xor eax, eax
push eax
push eax
push 0x146
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x198], eax
xor eax, eax
push eax
push 0x9ab
push ebx
mov edi, eax
mov dword [ebp - 0x19c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
push eax
push 0x9ac
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
push eax
push 0x9ad
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
push eax
push 0x9ae
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
push eax
push 0x9b0
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
mov word [ebp - 0x194], ax
lea eax, [ebp - 0x194]
push 0xc8
push eax
push dword [ebp - 0x1ac]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x1005020d
cmp dword [ebp - 0x198], edi
je 0x1005020d
test esi, esi
je 0x1005020d
lea ecx, [ebp - 0x194]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x1b0]
jne 0x1004ffab
sub ecx, edx
sar ecx, 1
je 0x1005020d
xor eax, eax
mov ebx, eax
mov esi, dword [esi + 0x210]
inc ebx
test esi, esi
jne 0x1004ffc8
mov dword [ebp - 0x1bc], ebx
test ebx, ebx
je 0x10050207
xor edi, edi
push edi
push edi
push 0x1009
push dword [ebp - 0x1b4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, ebx
shl eax, 2
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
mov dword [ebp - 0x1a0], edi
test edi, edi
je 0x10050207
mov edx, dword [ebp - 0x198]
dec edx
mov dword [ebp - 0x1c4], edx
cmp dword [ebp - 0x1a8], edx
jne 0x1005002e
xor eax, eax
inc eax
jmp 0x10050034
mov eax, dword [ebp - 0x19c]
mov esi, dword [ebp - 0x1b8]
mov esi, dword [esi + 0x80]
test eax, eax
jne 0x100500b0
mov edi, eax
jmp 0x100500a7
cmp edi, ebx
jge 0x100501c5
mov edx, dword [esi]
test edx, edx
je 0x100500a0
mov edx, dword [edx + 4]
test edx, edx
je 0x100500a0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x19c], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x1b0]
jne 0x10050068
sub ecx, dword [ebp - 0x19c]
sar ecx, 1
je 0x100500a0
push edx
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100500a0
mov eax, dword [ebp - 0x1a0]
mov dword [eax + edi*4], 1
mov esi, dword [esi + 0x210]
inc edi
test esi, esi
jne 0x10050048
jmp 0x100501c5
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x1a8], ecx
test esi, esi
je 0x100501c5
mov eax, edi
mov dword [ebp - 0x198], edi
cmp ecx, ebx
jge 0x100501c5
xor edi, edi
mov dword [eax], 1
test edx, edx
jle 0x100501a7
xor eax, eax
push eax
push edi
push 0x149
push dword [ebp - 0x1ac]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x10050186
lea eax, [eax*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov dword [ebp - 0x1c0], ebx
test ebx, ebx
je 0x10050186
push ebx
push edi
push 0x148
push dword [ebp - 0x1ac]
xor eax, eax
mov word [ebx], ax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi]
test eax, eax
je 0x1005017b
mov edx, dword [eax + 4]
test edx, edx
je 0x1005017b
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x19c], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x1b0]
jne 0x1005014c
sub ecx, dword [ebp - 0x19c]
sar ecx, 1
je 0x1005017b
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1005017b
mov eax, dword [ebp - 0x198]
xor ecx, ecx
mov dword [eax], ecx
lea ecx, [ebp - 0x1c0]
call fcn.10037062
mov edx, dword [ebp - 0x1c4]
inc edi
cmp edi, edx
jl 0x100500e2
mov ebx, dword [ebp - 0x1bc]
mov eax, dword [ebp - 0x198]
mov ecx, dword [ebp - 0x1a8]
mov esi, dword [esi + 0x210]
inc ecx
add eax, 4
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x198], eax
test esi, esi
jne 0x100500ca
mov eax, dword [ebp - 0x1b8]
xor ecx, ecx
mov edi, ecx
mov esi, dword [eax + 0x80]
test esi, esi
je 0x10050201
cmp edi, ebx
jge 0x10050201
mov eax, dword [ebp - 0x1a0]
cmp dword [eax + edi*4], ecx
je 0x100501f8
push ecx
mov ecx, dword [ebp - 0x1b4]
mov edx, esi
call fcn.1005057d
xor ecx, ecx
mov esi, dword [esi + 0x210]
inc edi
jmp 0x100501d5
mov edi, dword [ebp - 0x1a0]
mov ebx, dword [ebp - 0x1a4]
xor esi, esi
push esi
push esi
push 0x1004
push dword [ebp - 0x1b4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x1005029e
mov eax, dword [ebp - 0x1b8]
cmp dword [eax + 8], 0x100
je 0x1005025f
push 1
push 0x9ad
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0x9ae
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0x9ab
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0x9ac
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0x9b0
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
test edi, edi
je 0x100502a9
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10087900
mov esp, ebp
pop ebp
ret