Function at 0x4cefa0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bd855
mov eax, dword fs:[0]
push eax
mov eax, 0x3bd4
call fcn.00496a88
push ebx
push esi
push edi
lea edi, [ebp - 0x3be0]
mov ecx, 0xef5
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x60ab20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3ba0], 0
mov esi, esp
push 0x3f4
mov eax, dword [0x60e668]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, esp
call fcn.0049561a
mov dword [ebp - 0x18], eax
xor eax, eax
mov word [ebp - 0x824], ax
push 0x800
push 0
lea eax, [ebp - 0x822]
push eax
call fcn.00493f9f
add esp, 0xc
mov esi, esp
push 0x400
lea eax, [ebp - 0x824]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp esi, esp
call fcn.0049561a
mov esi, esp
push 0
push 0
push 0x14b
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.0049561a
lea eax, [ebp - 0x974]
push eax
call fcn.00495e3f
add esp, 4
mov dword [ebp - 4], 0
movzx eax, byte [ebp - 0x8a8]
test eax, eax
je 0x4cf1c8
mov dword [ebp - 0x980], 0
mov dword [ebp - 0x98c], 0
lea eax, [ebp - 0x98c]
push eax
lea ecx, [ebp - 0x980]
push ecx
push 0
push 0
push 2
push 0
call fcn.004981b7
cmp dword [ebp - 0x980], 0
je 0x4cf1c8
mov eax, dword [ebp - 0x980]
push eax
call fcn.004943f0
add esp, 4
mov dword [ebp - 0x998], eax
cmp dword [ebp - 0x998], 0
je 0x4cf1c8
lea eax, [ebp - 0x98c]
push eax
lea ecx, [ebp - 0x980]
push ecx
mov edx, dword [ebp - 0x980]
push edx
mov eax, dword [ebp - 0x998]
push eax
push 2
push 0
call fcn.004981b7
test eax, eax
je 0x4cf1b9
mov dword [ebp - 0x9a4], 0
jmp 0x4cf130
mov eax, dword [ebp - 0x9a4]
add eax, 1
mov dword [ebp - 0x9a4], eax
mov eax, dword [ebp - 0x9a4]
cmp eax, dword [ebp - 0x98c]
jae 0x4cf1b9
push 0x5cb5dc
imul eax, dword [ebp - 0x9a4], 0x14
mov ecx, dword [ebp - 0x998]
mov edx, dword [ecx + eax]
push edx
call fcn.004977c6
add esp, 8
imul ecx, dword [ebp - 0x9a4], 0x14
mov edx, dword [ebp - 0x998]
cmp eax, dword [edx + ecx]
jne 0x4cf1b4
imul eax, dword [ebp - 0x9a4], 0x14
mov esi, esp
mov ecx, dword [ebp - 0x998]
mov edx, dword [ecx + eax]
push edx
mov edi, esp
push 0
push 0
push 0x146
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, esp
call fcn.0049561a
push eax
push 0x14a
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.0049561a
jmp 0x4cf121
mov eax, dword [ebp - 0x998]
push eax
call fcn.00496240
add esp, 4
movzx eax, byte [ebp - 0x8a7]
test eax, eax
je 0x4cf298
mov byte [ebp - 0x19ac], 0
push 0xfff
push 0
lea eax, [ebp - 0x19ab]
push eax
call fcn.00493f9f
add esp, 0xc
lea ecx, [ebp - 0x19b8]
call fcn.00496e75
push 0
push 0x1000
lea eax, [ebp - 0x19ac]
push eax
lea ecx, [ebp - 0x19b8]
call fcn.004955b1
test eax, eax
je 0x4cf298
lea eax, [ebp - 0x19ac]
mov dword [ebp - 0x19c4], eax
mov eax, dword [ebp - 0x19c4]
push eax
call fcn.004943d2
add esp, 4
test eax, eax
je 0x4cf298
mov esi, esp
mov eax, dword [ebp - 0x19c4]
push eax
mov edi, esp
push 0
push 0
push 0x146
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, esp
call fcn.0049561a
push eax
push 0x14a
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.0049561a
mov eax, dword [ebp - 0x19c4]
push eax
call fcn.004943d2
add esp, 4
mov ecx, dword [ebp - 0x19c4]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x19c4], edx
jmp 0x4cf228
movzx eax, byte [ebp - 0x8a6]
test eax, eax
je 0x4cf4f7
mov byte [ebp - 0x29cc], 0
push 0xfff
push 0
lea eax, [ebp - 0x29cb]
push eax
call fcn.00493f9f
add esp, 0xc
lea ecx, [ebp - 0x29e0]
call fcn.00494d73
lea eax, [ebp - 0x8a4]
push eax
lea ecx, [ebp - 0x29f8]
call fcn.00493c89
mov byte [ebp - 4], 1
push 0
push 0x1000
lea eax, [ebp - 0x29cc]
push eax
lea ecx, [ebp - 0x29e0]
call fcn.00496079
test eax, eax
je 0x4cf4e8
lea eax, [ebp - 0x29cc]
mov dword [ebp - 0x2a04], eax
mov eax, dword [ebp - 0x2a04]
push eax
call fcn.004943d2
add esp, 4
test eax, eax
je 0x4cf4e8
mov byte [ebp - 0x2a0d], 1
lea ecx, [ebp - 0x29f8]
call fcn.00496d58
movzx eax, al
test eax, eax
jne 0x4cf40d
mov ecx, dword [ebp - 0x2a04]
push ecx
lea ecx, [ebp - 0x3b94]
call fcn.00495f2f
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x3ba0]
or edx, 1
mov dword [ebp - 0x3ba0], edx
lea eax, [ebp - 0x3b94]
push eax
lea ecx, [ebp - 0x3b70]
push ecx
call fcn.00493ce8
add esp, 8
mov dword [ebp - 0x3bcc], eax
mov edx, dword [ebp - 0x3bcc]
mov dword [ebp - 0x3bd0], edx
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x3ba0]
or eax, 2
mov dword [ebp - 0x3ba0], eax
mov ecx, dword [ebp - 0x3bd0]
push ecx
sub esp, 0xc
mov edx, esp
mov dword [ebp - 0x3bb8], esp
push edx
lea ecx, [ebp - 0x29f8]
call fcn.004969c5
mov dword [ebp - 0x3bd4], eax
sub esp, 0xc
mov eax, esp
mov dword [ebp - 0x3bac], esp
push eax
lea ecx, [ebp - 0x29f8]
call fcn.00495f1b
mov dword [ebp - 0x3bd8], eax
call fcn.00492c49
add esp, 0x1c
mov dword [ebp - 0x3bdc], eax
cmp dword [ebp - 0x3bdc], 0
jne 0x4cf40d
mov dword [ebp - 0x3be0], 1
jmp 0x4cf417
mov dword [ebp - 0x3be0], 0
mov cl, byte [ebp - 0x3be0]
mov byte [ebp - 0x3bc1], cl
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x3ba0]
and edx, 2
je 0x4cf447
and dword [ebp - 0x3ba0], 0xfffffffd
lea ecx, [ebp - 0x3b70]
call fcn.00494571
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x3ba0]
and eax, 1
je 0x4cf46b
and dword [ebp - 0x3ba0], 0xfffffffe
lea ecx, [ebp - 0x3b94]
call fcn.0049751e
movzx ecx, byte [ebp - 0x3bc1]
test ecx, ecx
je 0x4cf47d
mov byte [ebp - 0x2a0d], 0
movzx eax, byte [ebp - 0x2a0d]
test eax, eax
je 0x4cf4c4
mov esi, esp
mov eax, dword [ebp - 0x2a04]
push eax
mov edi, esp
push 0
push 0
push 0x146
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, esp
call fcn.0049561a
push eax
push 0x14a
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.0049561a
mov eax, dword [ebp - 0x2a04]
push eax
call fcn.004943d2
add esp, 4
mov ecx, dword [ebp - 0x2a04]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x2a04], edx
jmp 0x4cf312
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x29f8]
call fcn.004970e6
movzx eax, byte [ebp - 0x8a5]
test eax, eax
je 0x4cf6f1
mov byte [ebp - 0x3a18], 0
push 0xfff
push 0
lea eax, [ebp - 0x3a17]
push eax
call fcn.00493f9f
add esp, 0xc
lea ecx, [ebp - 0x3a2c]
call fcn.00497b86
lea eax, [ebp - 0x894]
push eax
lea ecx, [ebp - 0x3a44]
call fcn.00493c89
mov byte [ebp - 4], 4
mov dword [ebp - 0x3a50], 0
lea ecx, [ebp - 0x3a44]
call fcn.00496d58
movzx eax, al
test eax, eax
jne 0x4cf631
lea ecx, [ebp - 0x3a44]
call fcn.00494580
shl eax, 8
push eax
call fcn.004943f0
add esp, 4
mov dword [ebp - 0x3a50], eax
cmp dword [ebp - 0x3a50], 0
je 0x4cf631
mov dword [ebp - 0x3a5c], 0
jmp 0x4cf5a9
mov eax, dword [ebp - 0x3a5c]
add eax, 1
mov dword [ebp - 0x3a5c], eax
lea ecx, [ebp - 0x3a44]
call fcn.00494580
cmp dword [ebp - 0x3a5c], eax
jae 0x4cf614
mov eax, dword [ebp - 0x3a5c]
push eax
lea ecx, [ebp - 0x3a44]
call fcn.00496286
push eax
lea ecx, [ebp - 0x3a80]
push ecx
call fcn.004925e6
add esp, 8
lea ecx, [ebp - 0x3a80]
call fcn.00497163
push eax
push 0x5cab20
mov eax, dword [ebp - 0x3a5c]
shl eax, 8
add eax, dword [ebp - 0x3a50]
push eax
call fcn.004957f0
add esp, 0xc
lea ecx, [ebp - 0x3a80]
call fcn.0049751e
jmp 0x4cf59a
lea ecx, [ebp - 0x3a44]
call fcn.00494580
mov dword [ebp - 0x3a28], eax
mov eax, dword [ebp - 0x3a50]
mov dword [ebp - 0x3a24], eax
push 0
push 0x1000
lea eax, [ebp - 0x3a18]
push eax
lea ecx, [ebp - 0x3a2c]
call fcn.00497df2
test eax, eax
je 0x4cf6ca
lea eax, [ebp - 0x3a18]
mov dword [ebp - 0x3a8c], eax
mov eax, dword [ebp - 0x3a8c]
push eax
call fcn.004943d2
add esp, 4
test eax, eax
je 0x4cf6ca
mov esi, esp
mov eax, dword [ebp - 0x3a8c]
push eax
mov edi, esp
push 0
push 0
push 0x146
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, esp
call fcn.0049561a
push eax
push 0x14a
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.0049561a
mov eax, dword [ebp - 0x3a8c]
push eax
call fcn.004943d2
add esp, 4
mov ecx, dword [ebp - 0x3a8c]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x3a8c], edx
jmp 0x4cf65a
cmp dword [ebp - 0x3a50], 0
je 0x4cf6e2
mov eax, dword [ebp - 0x3a50]
push eax
call fcn.00496240
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3a44]
call fcn.004970e6
mov esi, esp
lea eax, [ebp - 0x824]
push eax
push 0
push 0x14d
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.0049561a
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp esi, esp
call fcn.0049561a
test eax, eax
jne 0x4cf765
mov esi, esp
push 0
push 0
push 0x146
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.0049561a
test eax, eax
jle 0x4cf765
mov esi, esp
push 0
push 0
push 0x14e
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.0049561a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x974]
call fcn.00496d8f
push edx
mov ecx, ebp
push eax
lea edx, [0x4cf7b4]
call fcn.00496c54
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497f46
add esp, 0x3be0
cmp ebp, esp
call fcn.0049561a
mov esp, ebp
pop ebp
ret