Function at 0x4554dc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdcc
mov word [esp + 8], cx
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp]
call fcn.0044f5d0
test al, al
je 0x455869
mov byte [esp + 0x29], 0
push 0xff
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0xc]
push eax
call sub.user32.dll_GetWindowTextA
lea eax, [esp + 0x31]
mov dl, 0x3a
call fcn.004b8284
mov edi, eax
test edi, edi
je 0x45552e
mov byte [edi], 0x2d
cmp byte [esp + 0x31], 0x3f
jne 0x45554d
lea eax, [esp + 0x33]
call fcn.004b8144
mov ecx, eax
lea edx, [esp + 0x34]
lea eax, [esp + 0x30]
call fcn.004066d4
cmp word [esp + 8], 0x3e9
jne 0x455577
lea eax, [esp + 0x30]
mov dl, 0x2e
call fcn.004b838c
mov edi, eax
test edi, edi
je 0x455577
mov byte [edi], 0
mov edx, dword [0x4be728]
mov eax, edi
call fcn.004b81b0
lea ecx, [esp + 0x130]
lea edx, [esp + 0x30]
mov eax, dword [esp]
call fcn.00452030
test al, al
je 0x455869
lea eax, [esp + 0x130]
call fcn.004adcb4
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0xffffffff
jne 0x4555be
lea edx, [esp + 0x130]
mov ax, 3
call fcn.004acdac
jmp 0x455869
push 0x7f02
push 0
call sub.user32.dll_LoadCursorA
push eax
call sub.user32.dll_SetCursor
push 4
push 0x1000
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x174]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [esp + 0x18], eax
push 0
push 0
push 0x18b
mov eax, dword [esp + 0x10]
push eax
call sub.user32.dll_SendMessageA
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x455824
mov dword [esp + 0x2c], eax
mov esi, 1
mov eax, dword [0x4bedb0]
push eax
mov eax, esi
dec eax
push eax
push 0x189
mov eax, dword [esp + 0x10]
push eax
call sub.user32.dll_SendMessageA
cmp word [esp + 8], 0x3e9
jne 0x455665
mov eax, dword [0x4bedb0]
call fcn.004ab7d8
mov edx, dword [0x4bedb0]
mov eax, dword [esp + 0x18]
call fcn.004b81b0
mov eax, dword [0x4bedb0]
call fcn.004b8144
mov ebx, eax
jmp 0x4557f3
cmp byte [esp + 0x29], 0
je 0x45567b
mov eax, dword [esp + 0x10]
sub eax, 2
cmp esi, eax
jae 0x455824
mov byte [esp + 0x28], 0
mov eax, dword [0x4bedb0]
mov al, byte [eax]
cmp al, 0x2d
je 0x455819
mov edx, dword [0x4bedb0]
cmp al, 0x28
je 0x455731
cmp esi, 1
jne 0x4556a7
mov byte [esp + 0x29], 1
mov eax, dword [0x4bedb0]
mov dl, 0x20
call fcn.004b8284
mov edi, eax
test edi, edi
je 0x455824
lea eax, [edi + 1]
mov dl, 0x20
call fcn.004b8284
mov edi, eax
test edi, edi
je 0x4556f4
lea ebx, [edi + 2]
mov eax, ebx
call fcn.004b8144
mov ecx, eax
dec ecx
mov edx, ebx
mov eax, dword [0x4beadc]
call fcn.004b81d8
xor eax, eax
call fcn.004aa6bc
mov ebx, eax
mov byte [edi], 0
jmp 0x4556fd
mov ebx, dword [esp]
mov ebx, dword [ebx + 0x174]
mov eax, dword [0x4bedb0]
mov dl, 0x20
call fcn.004b8284
mov edx, eax
inc edx
mov eax, dword [0x4beadc]
call fcn.004b81b0
xor eax, eax
call fcn.004aa6bc
mov edx, dword [esp]
add edx, 0x15c
call fcn.004a25d8
mov dword [esp + 0xc], eax
jmp 0x455786
mov eax, dword [0x4be93c]
mov eax, dword [eax]
push eax
mov eax, dword [0x4bedb0]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x45574f
mov byte [esp + 0x28], 1
jmp 0x455786
mov eax, dword [0x4bedb0]
mov dl, 0x20
call fcn.004b838c
mov edx, eax
inc edx
mov eax, dword [0x4beadc]
call fcn.004b81b0
call fcn.004aa714
mov dword [esp + 0xc], eax
mov eax, dword [esp]
movsx eax, byte [eax + 0x442]
mov edx, dword [0x4becf0]
movzx ebx, word [edx + eax*2 + 0x54]
cmp byte [esp + 0x28], 0
jne 0x4557df
mov eax, dword [esp + 0xc]
call fcn.004aef80
mov eax, dword [esp]
movsx eax, byte [eax + 0x442]
mov edx, dword [0x4becf0]
movzx eax, word [edx + eax*2 + 0x54]
mov dword [esp + 0x230], eax
fild dword [esp + 0x230]
fmulp st(1)
fistp qword [esp + 0x20]
wait
push ebx
lea edx, [esp + 0x24]
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax + 0x1a0]
call dword [edi + 0x18]
cmp ebx, eax
jg 0x455824
jmp 0x4557f3
mov ebx, dword [esp]
mov ebx, dword [ebx + 0x174]
mov edx, ebx
mov eax, dword [esp + 0x18]
call fcn.004066e4
push ebx
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.kernel32.dll__hwrite
cmp ebx, eax
jle 0x455819
lea edx, [esp + 0x130]
mov ax, 5
call fcn.004acdac
jmp 0x455824
inc esi
dec dword [esp + 0x2c]
jne 0x455619
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0x4000
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x174]
push eax
mov eax, dword [esp + 0x20]
push eax
call sub.kernel32.dll_VirtualFree_1
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
push eax
call sub.user32.dll_SetCursor
push 0
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0044c078
add esp, 0x234
pop edi
pop esi
pop ebx
ret