Function at 0x30053316
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x30001bc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.30067b15
mov esi, eax
xor edi, edi
cmp esi, edi
mov dword [ebp - 0x428], esi
je 0x300536c9
push 5
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov ebx, eax
cmp ebx, edi
je 0x300536d5
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, edi
mov dword [ebp - 0x438], eax
je 0x300536d5
mov esi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call esi
cmp dword [eax], edi
mov dword [ebp - 0x420], eax
jne 0x300536bd
push 0x105
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x105
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x200
call fcn.300689aa
push 0x24
push 0x300750d0
lea eax, [ebp - 0x210]
push eax
push dword [0x300967d0]
mov dword [0x300967ec], 1
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x300536bd
push 1
call fcn.30047fcd
push dword [ebp - 0x428]
mov dword [0x300967ec], edi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 4
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
mov dword [ebp - 0x42c], eax
call esi
push dword [ebp - 0x42c]
lea ecx, [eax + 0x28a]
mov edx, dword [ecx]
add eax, 0x28e
mov dword [ecx], edi
mov ecx, dword [eax]
mov dword [ebp - 0x430], edx
mov dword [ebp - 0x434], ecx
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp - 0x420]
push 1
add esi, 0x218
push dword [esi]
call fcn.3003af3f
cmp eax, edi
mov dword [ebp - 0x424], eax
jne 0x3005363c
mov eax, dword [ebp - 0x420]
cmp dword [eax + 0x21c], 2
jne 0x300534a5
push ebx
push eax
call fcn.30053261
cmp eax, edi
mov dword [ebp - 0x424], eax
jne 0x3005363c
push 4
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
mov dword [ebp - 0x42c], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
jmp 0x3005363c
mov ecx, dword [eax + 0x210]
xor edx, edx
cmp ecx, 0xffffffff
setne dl
push 0x3ee
push dword [eax + 0x214]
add eax, 4
push edx
push ecx
push eax
call fcn.30051546
push dword [esi]
call fcn.3003afe0
lea eax, [ebp - 0x43c]
push eax
mov eax, dword [ebp - 0x420]
push edi
push esi
push dword [eax + 0x214]
call fcn.3003af25
cmp eax, edi
mov dword [ebp - 0x424], eax
jne 0x3005363c
push ebx
call fcn.30053159
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0x30096ba0
push edi
push edi
push eax
mov dword [ebp - 0x420], eax
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push dword [ebp - 0x420]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x60
push dword [esi]
push ebx
call fcn.30051869
cmp eax, edi
mov dword [ebp - 0x424], eax
jne 0x3005363c
push 4
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
mov dword [ebp - 0x42c], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x42c]
mov esi, eax
call fcn.3005da9c
push dword [esi + 0xe]
push dword [esi + 0xa]
push dword [esi + 0x5a]
push dword [esi + 0x56]
push ebx
call fcn.30067fbb
cmp eax, edi
mov dword [ebp - 0x424], eax
jne 0x3005363c
push esi
push ebx
call fcn.30046dc4
cmp eax, edi
mov dword [ebp - 0x424], eax
jne 0x3005363c
cmp dword [esi + 0xa], edi
je 0x300535c4
test byte [esi + 0xe], 1
jne 0x300535c4
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push dword [esi + 0xa]
mov dword [ebp - 0x420], eax
push eax
call fcn.30067de7
push dword [ebp - 0x420]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [ebp - 0x44c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
push dword [ebp - 0x444]
push dword [esi + 2]
push edi
push edi
push ebx
call fcn.30068047
push edi
push dword [ebp - 0x440]
push dword [esi + 6]
push edi
push 1
push ebx
call fcn.30068047
push edi
push edi
push 1
push ebx
call dword [sym.imp.USER32.dll_SetScrollPos]
push edi
push edi
push edi
push ebx
call dword [sym.imp.USER32.dll_SetScrollPos]
movzx eax, word [esi + 2]
push edi
shl eax, 0x10
or eax, 0x63
push eax
push 0x114
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
movzx eax, word [esi + 6]
push edi
shl eax, 0x10
or eax, 0x63
push eax
push 0x115
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x7d00
push 2
call fcn.30063e2d
push edi
push 2
call fcn.30063f5f
cmp dword [ebp - 0x424], edi
je 0x30053684
push dword [ebp - 0x428]
call fcn.3005308b
push edi
push edi
push 0x10
push dword [ebp - 0x428]
call dword [sym.imp.USER32.dll_DefMDIChildProcA]
cmp dword [ebp - 0x424], edi
jle 0x300536bd
push 8
call fcn.30048b2d
jmp 0x300536bd
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x428]
call fcn.300567d2
push 1
push dword [ebp - 0x428]
call fcn.3004a9d7
push dword [ebp - 0x434]
push dword [ebp - 0x430]
push dword [ebp - 0x42c]
push ebx
call fcn.3005d937
push dword [ebp - 0x438]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call fcn.30047fcd
mov dword [0x300967ec], edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.30071b52
leave
ret