Function at 0x424150
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x7d8
push ebx
push ebp
mov ebp, ecx
call fcn.00561000
mov ebx, eax
test ebx, ebx
mov dword [esp + 8], ebx
je 0x424564
mov ecx, dword [ebx + 0xbe8]
call fcn.004f0af0
test eax, eax
je 0x4241ac
mov eax, dword [ebx + 0x6cc]
test eax, eax
je 0x4241ac
mov eax, dword [ebx + 0xbe8]
lea ecx, [ebx + 8]
push eax
lea edx, [esp + 0x3fc]
call fcn.004d63e0
lea ecx, [esp + 0x3f8]
call fcn.00421eb0
test eax, eax
jne 0x4241bc
xor ecx, ecx
call fcn.0041f0a0
pop ebp
pop ebx
add esp, 0x7d8
ret
xor eax, eax
mov edi, edi
mov cl, byte [eax + 0x5ee730]
mov byte [eax + 0x5f5cd0], cl
inc eax
test cl, cl
jne 0x4241c0
lea eax, [esp + 0x3f8]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4241e0
push esi
push edi
mov edi, 0x5f5cd0
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4241f1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 6
rep movsb byte es:[edi], byte [esi]
push 0
xor edx, edx
mov ecx, 0x13ef
call fcn.0041f1a0
push eax
mov edx, 3
mov ecx, ebp
call fcn.0052b920
test eax, eax
je 0x424562
mov ecx, ebx
call fcn.005612a0
test eax, eax
je 0x42455b
mov ecx, dword [ebx + 0xbe8]
call fcn.004f0af0
test eax, eax
je 0x42455b
push 0x2e
push 0x5f5e50
call fcn.005912e0
add esp, 8
test eax, eax
jne 0x424289
mov edi, 0x5f5e50
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x424270
mov ecx, dword [str..log]
mov dl, byte [0x5a58fc]
mov dword [edi], ecx
mov byte [edi + 4], dl
xor eax, eax
jmp 0x424290
mov cl, byte [eax + 0x5f5cd0]
mov byte [esp + eax + 0x18], cl
inc eax
test cl, cl
jne 0x424290
mov eax, 0x5f5e50
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4242a6
lea edi, [esp + 0x18]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4242b4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov edi, edi
mov cl, byte [eax + 0x5f5e50]
mov byte [esp + eax + 0x400], cl
inc eax
test cl, cl
jne 0x4242d0
push 0x180
push 0x40
lea eax, [esp + 0x20]
push 0x4109
push eax
mov dword [esp + 0x24], 0
call fcn.005a0f11
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
add esp, 0x10
test ebx, ebx
jl 0x424517
mov dl, byte [0x5a4bea]
mov cx, word [0x5a4be8]
lea eax, [esp + 0x18]
mov byte [esp + 0x1a], dl
mov word [esp + 0x18], cx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424330
sub eax, edx
push 0
mov esi, eax
call fcn.00591e16
add esp, 4
mov ecx, eax
call fcn.0053fc10
push eax
mov eax, dword [esp + 0x14]
add eax, 8
push eax
xor edx, edx
mov ecx, 0xe7c
call fcn.0041f1a0
push eax
lea eax, [esp + esi + 0x24]
push eax
call ebp
lea eax, [esp + 0x28]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424373
sub eax, edx
mov esi, eax
push esi
lea ecx, [esp + 0x1c]
push ecx
push ebx
call fcn.0059c74f
add esp, 0xc
cmp eax, esi
jne 0x4244fe
mov esi, dword [esp + 0x10]
cmp dword [esi + 0x71c], 2
jne 0x424446
cmp dword [esi + 0x720], 1
jne 0x424446
xor edx, edx
mov ecx, 0xe7d
call fcn.0041f1a0
push eax
lea edx, [esp + 0x1c]
push edx
call ebp
lea eax, [esp + 0x20]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4243d1
mov ecx, dword [esi]
sub eax, edx
push 0x104
lea eax, [esp + eax + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 0x18]
push 0x40
push edx
call fcn.005912e0
add esp, 8
test eax, eax
je 0x424446
lea edi, [esp + 0x18]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x424405
mov ax, word [0x5a551c]
mov word [edi], ax
lea eax, [esp + 0x18]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424420
sub eax, edx
mov esi, eax
push esi
lea ecx, [esp + 0x1c]
push ecx
push ebx
call fcn.0059c74f
add esp, 0xc
cmp eax, esi
jne 0x4244fe
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x6cc]
test eax, eax
je 0x4244a8
cmp dword [esi + 0x6f8], eax
mov edi, dword [eax + 0x40]
jne 0x424461
cmp dword [eax + 0x20], 2
je 0x4244a2
mov edx, dword [eax]
push edx
lea eax, [esp + 0x1c]
push 0x5a5880
push eax
call ebp
lea eax, [esp + 0x24]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424480
sub eax, edx
mov esi, eax
push esi
lea ecx, [esp + 0x1c]
push ecx
push ebx
call fcn.0059c74f
add esp, 0xc
cmp eax, esi
jne 0x4244fe
mov esi, dword [esp + 0x10]
test edi, edi
mov eax, edi
jne 0x424450
push 0
call fcn.00591e16
add esp, 4
mov ecx, eax
call fcn.0053fc10
push eax
lea eax, [esi + 8]
push eax
xor edx, edx
mov ecx, 0xe7e
call fcn.0041f1a0
push eax
lea edx, [esp + 0x24]
push edx
call ebp
lea eax, [esp + 0x28]
add esp, 0x10
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4244e0
sub eax, edx
mov esi, eax
push esi
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.0059c74f
add esp, 0xc
cmp eax, esi
je 0x424506
mov dword [esp + 0x14], 1
push ebx
call fcn.005992bf
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x42456d
lea ecx, [esp + 0x400]
push ecx
xor edx, edx
mov ecx, 0xe7f
mov dword [0x5bfd5c], 0
call fcn.0041f1a0
push eax
lea edx, [esp + 0x20]
push edx
call ebp
mov eax, dword [0x5c9d48]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
mov eax, dword [ecx + 0xbe8]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
call fcn.00514ad0
xor ecx, ecx
call fcn.0041f0a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7d8
ret
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x400]
push ecx
add eax, 8
push eax
xor edx, edx
mov ecx, 0xe80
mov dword [0x5bfd5c], 0
call fcn.0041f1a0
push eax
lea edx, [esp + 0x24]
push edx
call ebp
mov eax, dword [0x5c9d48]
mov ecx, dword [esp + 0x20]
add esp, 0x10
push eax
mov eax, dword [ecx + 0xbe8]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
call fcn.00514ad0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7d8
ret