Function at 0x59d455
Capabilities:
Get graphical window text

Disassembly:
push 0x64
mov eax, 0x60cb30
call fcn.004db48b
mov edi, ecx
call fcn.0059d331
cmp eax, 2
jne 0x59d474
push 0xea74
jmp 0x59d483
call fcn.0059d331
cmp eax, 1
jne 0x59d4c2
push 0xea75
mov eax, dword [0x668294]
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.0041129f
mov esi, dword [ebp - 0x14]
push 0x10
push dword [0x674764]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x59d6f8
call fcn.00407965
jmp 0x59d6f8
lea ecx, [ebp - 0x44]
call fcn.00427084
and dword [ebp - 4], 0
xorps xmm0, xmm0
push 2
push 0xffffffffffffffff
push 0x100c
push dword [edi + 0x5a8]
movlpd qword [ebp - 0x3c], xmm0
xor ebx, ebx
xor esi, esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x59d5db
mov ecx, dword [edi + 0x188]
inc esi
push eax
mov dword [ebp - 0x18], esi
call fcn.0042b614
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x59d518
lock inc dword [esi + 4]
test esi, esi
jne 0x59d526
inc ebx
mov byte [ebp - 4], 0
jmp 0x59d5b6
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.0041be56
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
call fcn.00414841
test eax, eax
jne 0x59d55f
mov ecx, dword [ebp - 0x24]
inc ebx
add ecx, 0xfffffff4
cmp ecx, 0x668010
je 0x59d555
call fcn.00407965
mov byte [ebp - 4], 0
test esi, esi
je 0x59d5b6
jmp 0x59d5af
mov ecx, esi
call fcn.00421f50
test eax, eax
jne 0x59d58e
cmp dword [esi + 0xc0], eax
jne 0x59d598
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0042b636
mov ecx, esi
call fcn.005d619a
add dword [ebp - 0x3c], eax
adc dword [ebp - 0x38], 0
jmp 0x59d598
cmp dword [esi + 0xc0], 0
jne 0x59d598
inc ebx
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff4
cmp ecx, 0x668010
je 0x59d5ab
call fcn.00407965
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00416ed3
push 2
push dword [ebp - 0x14]
push 0x100c
push dword [edi + 0x5a8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x59d4fb
mov edi, esi
sub edi, ebx
test ebx, ebx
jle 0x59d6ce
cmp dword [0x6737b8], 0
jne 0x59d6ce
mov eax, dword [0x668294]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], eax
test edi, edi
jle 0x59d686
push 0xea76
push ecx
lea ecx, [ebp - 0x18]
call fcn.0041129f
push ebx
push edi
push esi
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.0040cefd
lea ecx, [esi - 0xc]
mov ebx, 0x668010
add esp, 0x14
cmp ecx, ebx
je 0x59d63c
call fcn.00407965
mov eax, dword [ebp - 0x1c]
push eax
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
push eax
call fcn.0040d36e
lea ecx, [ebp - 0x70]
call fcn.00448f0a
push ecx
mov byte [ebp - 4], 4
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x70]
call fcn.0044948f
lea ecx, [ebp - 0x70]
cmp eax, 2
jne 0x59d6ba
call fcn.004490b9
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff4
cmp ecx, ebx
je 0x59d6f0
call fcn.00407965
jmp 0x59d6f0
push 0xea7b
push ecx
lea ecx, [ebp - 0x18]
call fcn.0041129f
push esi
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.0040cefd
lea ecx, [esi - 0xc]
mov ebx, 0x668010
add esp, 0xc
cmp ecx, ebx
je 0x59d6b6
call fcn.00407965
xor eax, eax
jmp 0x59d63f
call fcn.004490b9
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff4
cmp ecx, ebx
je 0x59d6ce
call fcn.00407965
test edi, edi
jle 0x59d6f0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 1
push eax
push 0xd
push 0x784
push dword [0x674760]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x34]
call fcn.0041d45d
xor eax, eax
call fcn.004db459
ret 0x10