Function at 0x52466f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7ac
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x3e7
push 0
lea eax, [ebp - 0x46c]
push eax
call fcn.0054e10c
add esp, 0xc
push 0x3e7
push 0
lea edx, [ebp - 0x854]
push edx
call fcn.0054e10c
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebx + 0x6bc], 1
jne 0x52470d
mov dword [ebp - 0x14], 1
cmp dword [ebx + 0x850], 0
jne 0x5246d8
xor edx, edx
mov dword [ebp - 0x14], edx
cmp dword [ebx + 0x854], 1
jne 0x52470d
lea edx, [ebx + 0x858]
push edx
push ebx
mov eax, dword [ebx + 0xb6c]
imul ecx, dword [eax + 0xb88], 0x64
add ecx, eax
add ecx, 0xa5c
push ecx
call fcn.004eee88
test eax, eax
jne 0x52470d
xor eax, eax
mov dword [ebp - 0x14], eax
test esi, 1
je 0x524781
mov eax, dword [ebx + 0x818]
test eax, eax
je 0x524781
lea edx, [ebp - 0x46c]
push edx
push 0x3e7
push 0xd
push eax
call sub.USER32.dll_SendMessageA
lea ecx, [ebp - 0xc]
push ecx
push 0
push dword [ebx + 0x848]
push dword [ebx + 0x818]
call fcn.00478569
cmp dword [ebx + 0x830], 0
je 0x524766
push dword [ebx + 0x830]
push 0xfffffffffffffffc
push dword [ebx + 0x818]
call sub.USER32.dll_SetWindowLongA
xor eax, eax
mov dword [ebx + 0x830], eax
push dword [ebx + 0x818]
call sub.USER32.dll_DestroyWindow
xor edx, edx
mov dword [ebx + 0x818], edx
test esi, 2
je 0x5247f5
mov eax, dword [ebx + 0x81c]
test eax, eax
je 0x5247f5
lea edx, [ebp - 0x854]
push edx
push 0x3e7
push 0xd
push eax
call sub.USER32.dll_SendMessageA
lea ecx, [ebp - 0x10]
push ecx
push 0
push dword [ebx + 0x848]
push dword [ebx + 0x81c]
call fcn.00478569
cmp dword [ebx + 0x834], 0
je 0x5247da
push dword [ebx + 0x834]
push 0xfffffffffffffffc
push dword [ebx + 0x81c]
call sub.USER32.dll_SetWindowLongA
xor eax, eax
mov dword [ebx + 0x834], eax
push dword [ebx + 0x81c]
call sub.USER32.dll_DestroyWindow
xor edx, edx
mov dword [ebx + 0x81c], edx
mov edi, 0x54011044
cmp dword [ebx + 0x84c], 0
jne 0x524809
or edi, 0x80
xor eax, eax
mov dword [ebx + 0x840], eax
xor edx, edx
mov dword [ebx + 0x844], edx
mov eax, dword [ebx + 0x99c]
mov esi, eax
cmp dword [ebx + 0x84c], 0
je 0x52482c
add esi, eax
cmp dword [ebx + 0x828], 3
jne 0x524848
mov dword [ebp - 4], 0x20000
mov dword [ebx + 0x844], 3
jmp 0x524857
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebx + 0x844], 1
add esi, dword [ebx + 0x844]
mov edx, dword [ebx]
mov dword [ebp - 8], edx
cmp dword [0x55efe4], 0
je 0x52487e
push esi
push edi
mov esi, 0x56f5de
lea edi, [ebp - 0x48]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
jmp 0x52488e
push esi
push edi
mov esi, 0x56f5ea
lea edi, [ebp - 0x48]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
push esi
push edi
mov esi, 0x56f5f0
lea edi, [ebp - 0x48]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
cmp dword [ebx + 0x818], 0
jne 0x524a14
xor edx, edx
mov dword [ebx + 0x83c], edx
xor ecx, ecx
mov dword [ebx + 0x848], ecx
push 0
push dword [0x56f014]
push 0x8099
push dword [ebp - 8]
push esi
push 0
push 0
push 0
push edi
push 0x56f5f6
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 4]
call sub.USER32.dll_CreateWindowExA
mov dword [ebx + 0x818], eax
cmp dword [ebx + 0x818], 0
jne 0x524921
push 0x56f5fa
lea edx, [ebp - 0x48]
push edx
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x52490f
xor eax, eax
jmp 0x524d3c
push esi
push edi
mov esi, str.edit
lea edi, [ebp - 0x48]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x5248bb
push str.RichEdit20A
lea edx, [ebp - 0x48]
push edx
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x524942
mov dword [ebx + 0x848], 2
jmp 0x52494a
xor ecx, ecx
mov dword [ebx + 0x848], ecx
push 0x50f84f
push 0xfffffffffffffffc
push dword [ebx + 0x818]
call sub.USER32.dll_SetWindowLongA
mov dword [ebx + 0x830], eax
cmp dword [ebx + 0x830], 0
jne 0x52498b
push dword [ebx + 0x818]
call sub.USER32.dll_DestroyWindow
xor eax, eax
mov dword [ebx + 0x818], eax
xor edx, edx
mov dword [ebx + 0x848], edx
jmp 0x5248f3
cmp dword [ebx + 0x848], 2
jne 0x5249bc
push 0
push 9
push 0x459
push dword [ebx + 0x818]
call sub.USER32.dll_SendMessageA
push 0
push 0x64
push 0x452
push dword [ebx + 0x818]
call sub.USER32.dll_SendMessageA
cmp dword [ebx + 0x848], 0
je 0x5249d9
push 1
push 0
push 0x445
push dword [ebx + 0x818]
call sub.USER32.dll_SendMessageA
mov eax, dword [ebx + 0x818]
test eax, eax
je 0x524a14
cmp byte [ebp - 0x46c], 0
je 0x524a14
lea edx, [ebp - 0x46c]
push edx
push 0
push 0xc
push eax
call sub.USER32.dll_SendMessageA
push dword [ebp - 0xc]
push dword [ebp - 0xc]
push dword [ebx + 0x848]
push dword [ebx + 0x818]
call fcn.00478480
cmp dword [ebx + 0x81c], 0
jne 0x524b86
cmp dword [ebx + 0x6bc], 1
jne 0x524b4b
cmp dword [ebp - 0x14], 0
je 0x524b4b
push 0
push dword [0x56f014]
push 0x809a
push dword [ebp - 8]
push esi
push 0
push 0
push 0
push edi
push 0x56f612
lea ecx, [ebp - 0x48]
push ecx
push dword [ebp - 4]
call sub.USER32.dll_CreateWindowExA
mov dword [ebx + 0x81c], eax
cmp dword [ebx + 0x81c], 0
jne 0x524a77
xor eax, eax
jmp 0x524d3c
push 0x50f84f
push 0xfffffffffffffffc
push dword [ebx + 0x81c]
call sub.USER32.dll_SetWindowLongA
mov esi, eax
mov dword [ebx + 0x834], esi
test esi, esi
jne 0x524a9c
xor eax, eax
jmp 0x524d3c
cmp dword [ebx + 0x848], 2
jne 0x524acd
push 0
push 9
push 0x459
push dword [ebx + 0x81c]
call sub.USER32.dll_SendMessageA
push 0
push 0x64
push 0x452
push dword [ebx + 0x81c]
call sub.USER32.dll_SendMessageA
cmp dword [ebx + 0x848], 0
je 0x524aea
push 1
push 0
push 0x445
push dword [ebx + 0x81c]
call sub.USER32.dll_SendMessageA
cmp dword [ebx + 0x8f0], 0
je 0x524b44
cmp byte [ebx + 0x88a], 0
je 0x524b44
lea edx, [ebx + 0x88a]
push edx
push 0x56f616
lea ecx, [ebp - 0x854]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0xc
lea eax, [ebp - 0x854]
push eax
push 0
push 0xc
push dword [ebx + 0x81c]
call sub.USER32.dll_SendMessageA
push 0x7d000
push 0x7d000
push 1
push dword [ebx + 0x81c]
call fcn.00478480
mov byte [ebp - 0x854], 0
mov eax, dword [ebx + 0x81c]
test eax, eax
je 0x524b86
cmp byte [ebp - 0x854], 0
je 0x524b86
lea edx, [ebp - 0x854]
push edx
push 0
push 0xc
push eax
call sub.USER32.dll_SendMessageA
push dword [ebp - 0x10]
push dword [ebp - 0x10]
push dword [ebx + 0x848]
push dword [ebx + 0x81c]
call fcn.00478480
mov eax, dword [ebx + 0x818]
test eax, eax
je 0x524c5e
push 0
push dword [ebx + 0x924]
push 0x30
push eax
call sub.USER32.dll_SendMessageA
push 0
push 0
push 0xc8
push dword [ebx + 0x818]
call sub.USER32.dll_SendMessageA
cmp dword [ebx + 0x848], 0
je 0x524c5e
push 0x3c
push 0
lea edx, [ebp - 0x84]
push edx
call fcn.0054e10c
add esp, 0xc
mov dword [ebp - 0x84], 0x3c
mov dword [ebp - 0x80], 0x40000000
mov ecx, dword [0x561918]
mov eax, dword [ecx*4 + 0x57f828]
mov dword [ebp - 0x70], eax
lea edx, [ebp - 0x84]
push edx
push 0
push 0x444
push dword [ebx + 0x818]
call sub.USER32.dll_SendMessageA
call sub.USER32.dll_GetFocus
cmp eax, dword [ebx + 0x818]
jne 0x524c40
mov ecx, dword [0x56191c]
push dword [ecx*4 + 0x57f828]
push 0
push 0x443
push dword [ebx + 0x818]
call sub.USER32.dll_SendMessageA
jmp 0x524c5e
mov eax, dword [0x561920]
push dword [eax*4 + 0x57f828]
push 0
push 0x443
push dword [ebx + 0x818]
call sub.USER32.dll_SendMessageA
mov eax, dword [ebx + 0x81c]
test eax, eax
je 0x524d36
push 0
push dword [ebx + 0x924]
push 0x30
push eax
call sub.USER32.dll_SendMessageA
push 0
push 0
push 0xc8
push dword [ebx + 0x81c]
call sub.USER32.dll_SendMessageA
cmp dword [ebx + 0x848], 0
je 0x524d36
push 0x3c
push 0
lea edx, [ebp - 0x84]
push edx
call fcn.0054e10c
add esp, 0xc
mov dword [ebp - 0x84], 0x3c
mov dword [ebp - 0x80], 0x40000000
mov ecx, dword [0x561918]
mov eax, dword [ecx*4 + 0x57f828]
mov dword [ebp - 0x70], eax
lea edx, [ebp - 0x84]
push edx
push 0
push 0x444
push dword [ebx + 0x81c]
call sub.USER32.dll_SendMessageA
call sub.USER32.dll_GetFocus
cmp eax, dword [ebx + 0x81c]
jne 0x524d18
mov ecx, dword [0x56191c]
push dword [ecx*4 + 0x57f828]
push 0
push 0x443
push dword [ebx + 0x81c]
call sub.USER32.dll_SendMessageA
jmp 0x524d36
mov eax, dword [0x561920]
push dword [eax*4 + 0x57f828]
push 0
push 0x443
push dword [ebx + 0x81c]
call sub.USER32.dll_SendMessageA
mov eax, dword [ebx + 0x818]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8