Function at 0x494ea0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e26b0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x66a074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x44], esi
push 0x64
push 0x400000
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 1
push 0x80
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xc
call fcn.005b75ca
mov dword [ebp - 0x40], eax
push 0x10
mov dword [ebp - 4], 0
call fcn.005b75ca
mov edi, eax
add esp, 8
mov dword [ebp - 0x38], edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00417c80
mov dword [edi], eax
mov byte [ebp - 4], 4
lea esi, [edi + 8]
mov dword [ebp - 0x3c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004177f0
mov dword [esi], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x40]
push 0x14
mov dword [eax], edi
call fcn.005b75ca
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 8
push 0
push 0
mov dword [ebp - 0x38], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00409370
mov dword [esi], eax
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x10]
mov dword [esi + 8], 0xffffffff
mov byte [esi + 0xc], 0
call fcn.004cdc20
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x40]
mov dword [edi + 4], esi
mov dword [edi + 8], 0
mov byte [ebp - 4], 0xd
cmp byte [0x673629], 0
je 0x494fbf
push 0x613b68
call fcn.00407e20
add esp, 4
mov ecx, dword [edi]
test ecx, ecx
je 0x494fca
call fcn.00416be0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
push 0x10
mov dword [eax + 0xac], edi
call fcn.005b75ca
mov edi, eax
add esp, 4
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov dword [ebp - 4], 0xe
mov edx, dword [eax]
mov esi, dword [eax + 0xac]
mov edx, dword [edx + 4]
call edx
mov byte [edi], 0
mov dword [edi + 4], eax
mov dword [edi + 8], esi
mov dword [edi + 0xc], 0
mov esi, dword [ebp - 0x44]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
mov dword [esi + 0xb0], edi
mov eax, dword [eax + 4]
call eax
mov edi, eax
call fcn.0040c810
test edi, edi
je 0x495038
mov dword [eax], edi
call fcn.0040c810
mov edi, eax
push 0xc
mov dword [ebp - 0x40], edi
call fcn.005b75ca
add esp, 4
mov dword [ebp - 0x3c], eax
push edi
push 0x40c6c0
mov ecx, eax
mov dword [ebp - 4], 0x10
call fcn.004c4520
mov dword [ebp - 4], 0xffffffff
mov edi, dword [edi + 4]
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [ebp - 0x38], eax
cmp edi, eax
je 0x4950b3
test eax, eax
je 0x495092
push 1
add eax, 4
push eax
call ecx
mov edi, dword [ebp - 0x40]
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov edi, dword [edi + 4]
test edi, edi
je 0x4950aa
push 0xffffffffffffffff
lea eax, [edi + 4]
push eax
call ecx
sub eax, 1
jne 0x4950aa
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x38]
mov dword [eax + 4], edi
test edi, edi
je 0x4950be
mov ecx, edi
call fcn.004c4770
push 0xc
call fcn.005b75ca
add esp, 4
mov dword [ebp - 0x3c], eax
push 0
push 0x4943f0
mov ecx, eax
mov dword [ebp - 4], 0x11
call fcn.004c4520
mov dword [ebp - 4], 0xffffffff
mov edi, dword [esi + 0xb8]
mov dword [ebp - 0x38], eax
cmp edi, eax
je 0x49512f
test eax, eax
je 0x49510a
push 1
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov edi, dword [esi + 0xb8]
test edi, edi
je 0x495126
push 0xffffffffffffffff
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
sub eax, 1
jne 0x495126
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x38]
mov dword [esi + 0xb8], edi
test edi, edi
je 0x49513a
mov ecx, edi
call fcn.004c4770
cmp dword [esi + 0x118], 0
lea edi, [esi + 0x108]
je 0x49521d
push 0x1c
call fcn.005b75ca
mov edx, eax
add esp, 4
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0x12
lea ecx, [edx + 4]
mov byte [ebp - 4], 0x13
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi - 0x20]
mov dword [edx], eax
cmp ecx, edi
je 0x4951a0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x495197
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
call fcn.00409060
push 0xc
call fcn.005b75ca
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0x14
mov ecx, eax
push dword [ebp - 0x38]
push 0x4941d0
call fcn.004c4520
mov dword [ebp - 4], 0xffffffff
mov edi, dword [esi + 0xb4]
mov dword [ebp - 0x38], eax
cmp edi, eax
je 0x495212
test eax, eax
je 0x4951ed
push 1
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov edi, dword [esi + 0xb4]
test edi, edi
je 0x495209
push 0xffffffffffffffff
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
sub eax, 1
jne 0x495209
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x38]
mov dword [esi + 0xb4], edi
test edi, edi
je 0x49521d
mov ecx, edi
call fcn.004c4770
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x90]
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0xd0]
mov edi, dword [esi + 0xcc]
cmp edi, eax
je 0x495281
mov esi, eax
nop dword [eax]
nop dword [eax + eax]
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 0x16
call fcn.00408ff0
mov ecx, edi
mov byte [ebp - 4], 0x1a
call fcn.00408ff0
add edi, 0x30
mov dword [ebp - 4], 0xffffffff
cmp edi, esi
jne 0x495250
mov esi, dword [ebp - 0x44]
mov edi, dword [esi + 0xcc]
mov dword [esi + 0xd0], edi
lea ecx, [esi - 0x24]
mov eax, dword [esi + 0x64]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x70]
mov dword [esi + 0x74], eax
call fcn.00497ad0
mov edi, 0xb
lea ecx, [edi - 0xb]
cmp edi, 0x11
jne 0x4952ad
lea ecx, [edi - 0xc]
jmp 0x4952b9
cmp edi, 0x547
je 0x495362
lea eax, [ecx + 0x546]
mov dword [ebp - 0x1c], eax
lea edx, [ecx + 0x520]
lea eax, [ecx + 0x6e0]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
lea eax, [ecx + 0x584]
mov dword [ebp - 0x34], eax
lea eax, [ecx + 0x5b6]
mov dword [ebp - 0x30], eax
lea eax, [ecx + 0x5e8]
mov dword [ebp - 0x2c], eax
lea eax, [ecx + 0x61a]
mov dword [ebp - 0x28], eax
lea eax, [ecx + 0x64c]
mov dword [ebp - 0x24], eax
lea eax, [ecx + 0x67e]
lea ecx, [esi + 0x70]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x49532d
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], edx
add dword [ecx + 4], 0x24
jmp 0x495337
lea edx, [ebp - 0x34]
push edx
push eax
call fcn.004a0a70
mov eax, dword [esi + 0x80]
lea ecx, [esi + 0x7c]
mov dword [ebp - 0x38], 0
cmp dword [ecx + 8], eax
je 0x495358
mov dword [eax], 0
add dword [ecx + 4], 4
jmp 0x495362
lea edx, [ebp - 0x38]
push edx
push eax
call fcn.00417cc0
inc edi
cmp edi, 0x12
jb 0x4952a0
lea eax, [esi + 0x9c]
push eax
call fcn.004954d0
lea ecx, [esi - 0x24]
call fcn.00495940
cmp dword [esi + 0x104], 8
lea ecx, [esi + 0xf0]
jb 0x495395
mov ecx, dword [esi + 0xf0]
cmp dword [esi + 0x100], 0xb
jne 0x4953c5
mov edi, 0xb
mov edx, str.crash_again
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4953c5
add ecx, 2
add edx, 2
sub edi, 1
jne 0x4953a8
push edi
push 0xffffffffffffffff
push 0x408
jmp 0x4953ef
cmp byte [esi + 0xe4], 0
je 0x4953d4
push 0
push 0xffffffffffffffff
jmp 0x4953ea
cmp dword [esi + 0xec], 0
je 0x495426
mov eax, dword [esi + 0xe8]
push 0
mov eax, dword [eax]
push dword [eax + 8]
push 0x404
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi + 0xe0]
test eax, eax
jne 0x49540d
mov word [esi + 0xca], 0x101
jmp 0x495426
cmp eax, 1
jne 0x49541a
mov byte [esi + 0xca], al
jmp 0x495426
cmp eax, 2
jne 0x495426
mov byte [esi + 0xcb], 1
push 5
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str.YS_03
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00409060
mov dword [ebp - 4], 0x1e
mov eax, dword [0x674ec0]
test al, 1
jne 0x49548d
or eax, 1
mov dword [0x674ec0], eax
mov byte [ebp - 4], 0x1f
call fcn.004e5d70
push 0x602870
mov byte [ebp - 4], 0x1f
call fcn.005b797d
add esp, 4
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x28]
mov ecx, 0x674ec4
push eax
call fcn.00492680
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0x21
call fcn.00408ff0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b75ab
mov esp, ebp
pop ebp
ret