Function at 0x3001f75f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x3001dedc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x420], eax
mov eax, dword [0x3000160c]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x214], eax
mov eax, dword [0x30001610]
mov esi, 0x206
xor ebx, ebx
push esi
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20c]
push ebx
push eax
mov dword [ebp - 0x424], ebx
call sub.MSVCR80.dll_memset
push esi
lea eax, [ebp - 0x41a]
push ebx
push eax
mov word [ebp - 0x41c], bx
call sub.MSVCR80.dll_memset
add esp, 0x18
cmp edi, ebx
lea eax, [ebp - 0x20e]
mov dword [ebp - 0x428], eax
jne 0x3001f807
push 0x3e8
push dword [ebp - 0x420]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x20e]
push ecx
push eax
mov dword [ebp - 0x424], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x3001f827
mov esi, 0x104
push esi
lea eax, [ebp - 0x20e]
push eax
push edi
call fcn.300327f0
lea eax, [ebp - 0x20e]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, ebx
jne 0x3001f847
push ebx
push 0x190
push dword [ebp - 0x420]
call fcn.3001f6c3
add esp, 0xc
xor eax, eax
inc eax
jmp 0x3001fa3d
cmp eax, esi
jae 0x3001f855
mov word [ebp + eax*2 - 0x20e], bx
jmp 0x3001f859
mov word [ebp - 8], bx
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20e]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x20e]
push eax
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_GetStringTypeExW]
test eax, eax
jne 0x3001f88e
push ebx
push 0x12e
jmp 0x3001f831
xor edi, edi
cmp word [ebp - 0x20e], bx
je 0x3001f8b3
xor eax, eax
test byte [ebp + eax - 0x41c], 0x48
je 0x3001f8b3
inc edi
lea eax, [edi + edi]
cmp word [ebp + eax - 0x20e], bx
jne 0x3001f89b
lea ebx, [edi + edi]
lea esi, [ebp + ebx - 0x20e]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + edi]
lea ecx, [ebp + ecx*2 - 0x41c]
dec eax
dec ecx
dec ecx
test byte [ecx], 0x48
jne 0x3001f8ce
xor edx, edx
mov word [esi + eax*2 + 2], dx
movzx eax, word [esi]
xor ecx, ecx
cmp ax, dx
mov dword [ebp - 0x42c], 1
je 0x3001f96d
movzx eax, ax
lea edi, [ebp + ebx - 0x41c]
movzx ebx, ax
cmp bx, 0x2c
je 0x3001f9b4
cmp bx, 0x3b
je 0x3001f9b4
cmp bx, 0x22
je 0x3001f9b4
cmp bx, 0x2b
je 0x3001f9b4
cmp bx, 0x23
je 0x3001f9b4
cmp bx, 0xd
je 0x3001f9b4
cmp bx, 0xa
je 0x3001f9b4
movzx ebx, word [edi]
test bx, 0x200
je 0x3001f9b4
test bl, 0x68
jne 0x3001f951
mov dword [ebp - 0x42c], edx
mov ebx, dword [ebp - 0x428]
add dword [ebp - 0x428], 2
inc ecx
mov word [ebx], ax
movzx eax, word [esi + ecx*2]
inc edi
inc edi
cmp ax, dx
jne 0x3001f8fb
cmp dword [ebp - 0x42c], edx
mov eax, dword [ebp - 0x428]
mov word [eax], dx
je 0x3001f9f7
push edx
push 0x190
push dword [ebp - 0x420]
call fcn.3001f6c3
add esp, 0xc
push 0x30001608
push dword [ebp - 0x424]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 0x424]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x3001f83f
push edx
push 0x12d
push dword [ebp - 0x420]
call fcn.3001f6c3
add esp, 0xc
cmp dword [ebp - 0x424], 0
je 0x3001f9f2
push 0xffffffffffffffff
push 0
push 0xb1
push dword [ebp - 0x424]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x424]
call dword [sym.imp.USER32.dll_SetFocus]
push 2
pop eax
jmp 0x3001fa3d
lea eax, [ebp - 0x214]
push eax
call fcn.3001f1a7
test eax, eax
jne 0x3001fa1f
push eax
push 0x12e
push dword [ebp - 0x420]
call fcn.3001f6c3
add esp, 0xc
push 3
jmp 0x3001f9f4
lea eax, [ebp - 0x20e]
push eax
push 1
push 0xc9
push dword [ebp - 0x420]
call fcn.3001f6c3
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.30040fc0
leave
ret 8