Function at 0x59d0c0
Capabilities:
Get graphical window text

Disassembly:
push 0x64
mov eax, 0x60cab2
call fcn.004db48b
mov ebx, ecx
call fcn.0059d331
cmp eax, 2
jne 0x59d0df
push 0xea74
jmp 0x59d0ee
call fcn.0059d331
cmp eax, 1
jne 0x59d12d
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 [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x59d327
call fcn.00407965
jmp 0x59d327
lea ecx, [ebp - 0x44]
call fcn.00427084
and dword [ebp - 4], 0
xorps xmm0, xmm0
push dword [ebx + 0x1c4]
mov ecx, 0x673510
movlpd qword [ebp - 0x3c], xmm0
call fcn.0042b6f7
mov edi, dword [eax]
mov dword [ebp - 0x18], edi
test edi, edi
je 0x59d15e
lock inc dword [edi + 0x34]
mov byte [ebp - 4], 1
test edi, edi
jne 0x59d180
lea eax, [ebx + 0x188]
push eax
lea ecx, [ebp - 0x18]
call fcn.004296cc
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x59d31f
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp dword [edi + 4], eax
jbe 0x59d2fa
push eax
mov ecx, edi
call fcn.0042b614
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x59d1a5
lock inc dword [esi + 4]
test esi, esi
jne 0x59d1b3
inc ebx
mov byte [ebp - 4], 1
jmp 0x59d243
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.0041be56
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x24]
call fcn.00414841
test eax, eax
jne 0x59d1ec
mov ecx, dword [ebp - 0x24]
inc ebx
add ecx, 0xfffffff4
cmp ecx, 0x668010
je 0x59d1e2
call fcn.00407965
mov byte [ebp - 4], 1
test esi, esi
je 0x59d243
jmp 0x59d23c
mov ecx, esi
call fcn.00421f50
test eax, eax
jne 0x59d21b
cmp dword [esi + 0xc0], eax
jne 0x59d225
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 0x59d225
cmp dword [esi + 0xc0], 0
jne 0x59d225
inc ebx
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff4
cmp ecx, 0x668010
je 0x59d238
call fcn.00407965
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00416ed3
mov eax, dword [ebp - 0x14]
mov esi, dword [edi + 4]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, esi
jb 0x59d190
test ebx, ebx
jle 0x59d2fa
mov eax, dword [0x668294]
mov dword [ebp - 0x14], eax
push 0xea76
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
call fcn.0041129f
push ebx
mov eax, esi
sub eax, ebx
push eax
push esi
mov esi, dword [ebp - 0x1c]
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 0x59d29e
call fcn.00407965
push 1
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], 5
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x70]
call fcn.0044948f
lea ecx, [ebp - 0x70]
cmp eax, 2
jne 0x59d2e6
call fcn.004490b9
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff4
cmp ecx, ebx
je 0x59d318
call fcn.00407965
jmp 0x59d318
call fcn.004490b9
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff4
cmp ecx, ebx
je 0x59d2fa
call fcn.00407965
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]
mov ecx, edi
call fcn.00422d15
lea ecx, [ebp - 0x34]
call fcn.0041d45d
xor eax, eax
call fcn.004db459
ret 0x10