Function at 0x466030
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edx, dword [0x3f42f1c]
cmp dword [edx + 4], 0xffffffff
jne 0x4663f5
mov eax, dword [edx + 0x7f4]
cmp eax, dword [edx + 0x7f8]
jg 0x46606c
lea ecx, [0x4b0088]
push ecx
push dword [ebp + 8]
call fcn.00466490
mov edx, dword [0x3f42f1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [edx + 0x7e0]
cmp ebx, dword [edx + 0x7e4]
mov dword [ebp - 4], ebx
jge 0x466481
mov al, byte [esi]
mov cl, al
mov byte [ebp - 5], al
mov byte [0x3f46378], cl
mov ebx, dword [edx + 0x838]
mov eax, ebx
lea esi, [ebp - 5]
and eax, 1
je 0x4660d7
mov ecx, 1
lea esi, [0x3f46378]
lea edi, [0x4b0084]
repe cmpsb byte [esi], byte es:[edi]
jb 0x466126
mov ecx, 1
lea esi, [0x3f46378]
lea edi, [0x4b0080]
repe cmpsb byte [esi], byte es:[edi]
ja 0x466126
mov esi, dword [ebp + 0xc]
mov esi, dword [esi]
add esi, 0x20
jmp 0x466112
mov eax, ebx
and eax, 2
je 0x466126
mov ecx, 1
lea esi, [0x3f46378]
lea edi, [0x4b007c]
repe cmpsb byte [esi], byte es:[edi]
jb 0x466126
mov ecx, 1
lea esi, [0x3f46378]
lea edi, [0x4b0078]
repe cmpsb byte [esi], byte es:[edi]
ja 0x466126
mov esi, dword [ebp + 0xc]
mov esi, dword [esi]
sub esi, 0x20
mov ecx, esi
lea esi, [ebp - 5]
and ecx, 0xff
mov byte [ebp - 5], cl
mov byte [0x3f46378], cl
mov eax, ebx
and eax, 0x1c
je 0x4661fa
cmp dword [edx + 0x7e8], 0
jne 0x466149
movzx ecx, byte [edx + 0x10]
cmp ecx, 0x2d
je 0x466481
mov cl, byte [0x3f46378]
mov dword [ebp - 8], esp
mov byte [ebp - 0xc], cl
test dword [ebp - 0x28], eax
lea esp, [ebp - 0x28]
mov byte [ebp - 0x28], cl
mov ecx, 1
mov esi, esp
lea edi, [0x4b0074]
mov dword [ebp - 0x10], esp
mov dword [ebp - 8], esp
repe cmpsb byte [esi], byte es:[edi]
ja 0x466186
mov ecx, 1
mov esi, esp
lea edi, [0x4b0070]
repe cmpsb byte [esi], byte es:[edi]
jae 0x4661fa
mov esi, dword [ebp - 0x10]
movzx ecx, byte [esi]
cmp ecx, 0x2e
jne 0x4661c7
mov edi, ebx
mov eax, dword [ebp - 4]
and edi, 8
jne 0x466481
test eax, eax
jge 0x4661a5
xor eax, eax
xor esi, esi
lea edi, str..09zaZA.
mov ecx, eax
mov eax, 1
lea esi, [edx + esi + 0x10]
call fcn.00472bdc
inc eax
test eax, eax
jle 0x4661fa
jmp 0x466481
mov esi, dword [ebp - 0x10]
xor eax, eax
movzx ecx, byte [esi]
cmp ecx, 0x2d
setne al
and ebx, 0x10
or ebx, eax
jne 0x466481
cmp dword [edx + 0x7e8], 0
jne 0x466481
movzx ecx, byte [edx + 0x10]
cmp ecx, 0x2d
je 0x466481
lea esp, [ebp - 0x20]
mov edi, dword [edx + 0x7e8]
cmp edi, dword [ebp - 4]
jge 0x4663a5
mov esi, dword [ebp - 4]
mov eax, esi
mov ebx, esi
sub eax, dword [edx + 0x7e8]
mov dword [ebp - 8], eax
test eax, eax
jle 0x4663a5
mov ecx, esi
dec ecx
mov edi, esi
sub edi, ecx
dec esi
test edi, edi
jge 0x466232
xor edi, edi
cmp eax, 5
mov dword [ebp - 4], edi
jle 0x466370
mov dword [ebp - 0xc], esi
lea edi, [edx + 0x10]
lea esi, [edx + 0x10]
add edi, ebx
mov eax, dword [ebp - 4]
add esi, dword [ebp - 0xc]
mov ecx, 1
call fcn.0046f930
mov eax, 0x20
mov esi, ebx
call fcn.0046e6bd
mov edi, dword [ebp - 0xc]
dec esi
dec edi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], edi
lea edi, [edx + 0x10]
add edi, esi
lea esi, [edx + 0x10]
add esi, dword [ebp - 0x10]
mov ecx, 1
call fcn.0046f930
mov eax, 0x20
mov esi, ebx
call fcn.0046e6bd
mov edi, dword [ebp - 0xc]
sub esi, 2
sub edi, 2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], edi
lea edi, [edx + 0x10]
add edi, esi
lea esi, [edx + 0x10]
add esi, dword [ebp - 0x10]
mov ecx, 1
call fcn.0046f930
mov eax, 0x20
mov esi, ebx
call fcn.0046e6bd
mov edi, dword [ebp - 0xc]
sub esi, 3
sub edi, 3
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], edi
lea edi, [edx + 0x10]
add edi, esi
lea esi, [edx + 0x10]
add esi, dword [ebp - 0x10]
mov ecx, 1
call fcn.0046f930
mov eax, 0x20
mov esi, ebx
call fcn.0046e6bd
mov edi, dword [ebp - 0xc]
sub esi, 4
sub edi, 4
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], edi
lea edi, [edx + 0x10]
add edi, esi
lea esi, [edx + 0x10]
add esi, dword [ebp - 0x10]
mov ecx, 1
call fcn.0046f930
mov eax, 0x20
mov esi, ebx
call fcn.0046e6bd
mov edi, dword [ebp - 0xc]
sub esi, 5
sub edi, 5
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], edi
lea edi, [edx + 0x10]
add edi, esi
lea esi, [edx + 0x10]
add esi, dword [ebp - 0x10]
mov ecx, 1
call fcn.0046f930
mov eax, 0x20
call fcn.0046e6bd
mov esi, dword [ebp - 0xc]
sub ebx, 6
mov edi, dword [ebp - 8]
sub esi, 6
sub edi, 6
mov dword [ebp - 8], edi
cmp edi, 5
jg 0x466240
test edi, edi
jle 0x4663a5
mov dword [ebp - 0xc], esi
lea edi, [edx + 0x10]
lea esi, [edx + 0x10]
add edi, ebx
add esi, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, 1
call fcn.0046f930
mov eax, 0x20
call fcn.0046e6bd
mov esi, dword [ebp - 0xc]
dec ebx
mov edi, dword [ebp - 8]
dec esi
dec edi
mov dword [ebp - 8], edi
test edi, edi
jg 0x466370
mov ecx, dword [edx + 0x7e8]
movzx eax, byte [0x3f46378]
mov byte [edx + ecx + 0x10], al
mov edi, dword [edx + 0x7e8]
mov ebx, dword [edx + 0x7e0]
inc edi
inc ebx
mov dword [edx + 0x7e8], edi
mov dword [edx + 0x7e0], ebx
sub esp, 4
push dword [ebp + 8]
call fcn.00469178
push dword [ebp + 8]
call fcn.00465558
mov esi, dword [ebp + 8]
push dword [esi]
call sub.USER32.dll_UpdateWindow
add esp, 4
jmp 0x466481
push 0
push 0xd
push 0x100
mov edi, dword [ebp + 8]
push dword [edi]
call sub.USER32.dll_SendMessageA
mov ebx, dword [0x3f42f1c]
mov ecx, 0x3e8
mov eax, 0x20
lea edi, [ebx + 0x10]
call fcn.0046e6bd
xor edx, edx
xor esi, esi
xor eax, eax
mov dword [ebx + 0x7f4], 1
mov dword [ebx + 0x7e0], edx
mov dword [ebx + 0x7e8], esi
mov dword [ebx + 0x7f8], eax
sub esp, 4
push dword [ebp + 8]
call fcn.00469178
push dword [ebp + 8]
call fcn.00465558
mov esi, dword [ebp + 8]
push dword [esi]
call sub.USER32.dll_UpdateWindow
add esp, 4
push 0
mov edi, dword [ebp + 0xc]
push dword [edi]
push 0x102
mov ebx, dword [ebp + 8]
push dword [ebx]
call sub.USER32.dll_SendMessageA
lea esp, [ebp - 0x20]
lea esp, [ebp - 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8