Function at 0x100457ed
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1005f1b1
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
test dl, dl
je 0x100459cd
cmp byte [ebp + 0x18], 0
je 0x100459b9
mov dword [esp + 0x18], 0x6ac8
cmp dword [esp + 0x18], 0x6c91
push 0
pop ebx
jle 0x1004589f
push ebx
push ebx
call dword [sym.imp.GDI32.dll_CopyEnhMetaFileA]
mov edi, ebx
mov esi, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0x9f6
mov ecx, esi
mov eax, edi
sar eax, cl
mov ecx, 0x10075b78
cdq
push edx
push eax
call fcn.1000c233
add esi, ebx
dec dword [esp + 0x14]
jne 0x10045855
mov esi, dword [esp + 0x10]
inc ebx
cmp ebx, 0x533d
jl 0x10045849
inc esi
mov dword [esp + 0x10], esi
push 0
pop ebx
cmp esi, 0x31d7
jl 0x10045845
inc edi
cmp edi, 0x662b
jl 0x1004583f
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [esp + 0x10], 0xe21a
cmp dword [esp + 0x18], 0x698c
jge 0x100458c0
mov edx, str.cisj_wadqlk_chjktih_evick_nkdimuvq_dxsbf_gpyxugcw_ebbjll_wykwtp
mov ecx, 0x10075b78
call fcn.1000e4aa
xor esi, esi
lea ecx, [esp + 0x24]
inc esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x18], 0xfffffffb
push 3
call fcn.1000c44b
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], 0xffff
mov dword [esp + 0x18], 2
mov dword [esp + 0x18], 0x9ab8
mov dword [esp + 0x14], ebx
jmp 0x1004590f
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov dword [eax + ecx*4], 0xfffffff7
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x100458fc
mov byte [esp + 0xf], bl
lea edx, [esp + 0xf]
call fcn.10045a17
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp ecx, eax
mov eax, dword [esp + 0x10]
setg dl
xor ecx, ecx
cmp edx, eax
setl cl
sub ecx, dword [esp + 0x10]
add ecx, 7
cmp ecx, dword [esp + 0x10]
jle 0x10045954
cmp dword [esp + 0x10], ebx
je 0x10045956
mov ebx, esi
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov eax, dword [esp + 0x18]
setle cl
xor edx, edx
cmp eax, ecx
mov eax, dword [esp + 0x10]
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x24]
setne cl
mov dword [eax + 8], ecx
lea ecx, [esp + 0x24]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.1000c4ce
jmp 0x10045a05
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x20]
and dword [esp + 0x20], 0
push eax
call fcn.10041b1a
jmp 0x10045a05
cmp byte [ebp + 0x10], 0
je 0x100459f8
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
cmp dword [edx], 3
jge 0x10045a05
mov esi, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x2fd4
inc dword [edx]
cmp dword [edx], 3
jl 0x100459e4
jmp 0x10045a05
cmp byte [ecx], 0
je 0x10045a05
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret