Function at 0x4539e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
cmp dword [ebp + 0xc], 0
jne 0x4539f9
xor eax, eax
jmp 0x453dcf
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x108], 0
jg 0x453a0c
xor eax, eax
jmp 0x453dcf
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edx, dword [eax + 0x239]
xor eax, eax
mov ecx, dword [edx*4 + 0x4d48f4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
lea ecx, [edx + 0x144]
jmp 0x453a4b
mov esi, dword [ecx]
cmp esi, 3
jle 0x453a45
mov eax, esi
add eax, dword [ebp - 0x10]
dec eax
cdq
idiv dword [ebp - 0x10]
inc eax
add ebx, eax
inc dword [ebp - 4]
add ecx, 4
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x13c]
cmp edx, dword [ebp - 4]
jg 0x453a31
add ebx, 2
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x108]
add edx, 2
imul ebx, edx
add ebx, ebx
add ebx, 0x206
push ebx
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x453a9c
push ebx
push 0x4bb416
call sym.Cari___.exe__Error
add esp, 8
xor eax, eax
jmp 0x453dcf
mov edx, dword [ebp - 0x20]
push edx
call sub.KERNEL32.DLL_GlobalLock
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x453acc
push ebx
push 0x4bb416
call sym.Cari___.exe__Error
add esp, 8
mov ecx, dword [ebp - 0x20]
push ecx
call sub.KERNEL32.DLL_GlobalFree
xor eax, eax
jmp 0x453dcf
push 0x100
lea edx, [ebp - 0x224]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.USER32.DLL_GetWindowTextA
mov esi, eax
test esi, esi
jne 0x453b0d
mov esi, 0x4bb50e
lea edi, [ebp - 0x224]
mov eax, edi
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edx, [ebp - 0x224]
push edx
call fcn.004a36d4
pop ecx
mov esi, eax
push 0x200
lea edx, [ebp - 0x224]
mov eax, dword [ebp - 0x1c]
push eax
push esi
push edx
push 1
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
mov esi, eax
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov word [ecx + esi*2], 0xd
inc esi
mov eax, dword [ebp - 0x1c]
mov word [eax + esi*2], 0xa
inc esi
xor ecx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
lea ebx, [eax + 0x144]
jmp 0x453bdd
mov ecx, dword [ebx]
cmp ecx, 3
jle 0x453bd7
mov eax, ecx
add eax, dword [ebp - 0x10]
dec eax
cdq
idiv dword [ebp - 0x10]
mov edi, eax
mov eax, dword [ebx + 0x88]
push esi
push edi
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
lea esi, [ebp - 0x424]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x424]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x453bae
and edx, 0xff
cmp edx, 0x24
jne 0x453bad
mov byte [eax], 0x20
inc eax
mov dl, byte [eax]
test dl, dl
jne 0x453b9f
lea eax, [ebp - 0x424]
lea ecx, [ebp - 0x224]
push eax
push edi
push edi
push 0x4bb537
add ecx, dword [ebp - 8]
push ecx
call fcn.004a6c2c
add esp, 0x14
add dword [ebp - 8], eax
inc dword [ebp - 4]
add ebx, 4
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x13c]
cmp edx, dword [ebp - 4]
jg 0x453b55
push 0x200
mov ecx, esi
add ecx, ecx
add ecx, dword [ebp - 0x1c]
push ecx
mov eax, dword [ebp - 8]
push eax
lea edx, [ebp - 0x224]
push edx
push 1
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
mov dword [ebp - 8], eax
add esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + esi*2 - 2]
jmp 0x453c23
dec esi
add eax, 0xfffffffe
test esi, esi
jbe 0x453c2d
cmp word [eax], 0x20
je 0x453c1f
mov edx, dword [ebp - 0x1c]
mov word [edx + esi*2], 0xd
inc esi
mov ecx, dword [ebp - 0x1c]
mov word [ecx + esi*2], 0xa
inc esi
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x453d96
mov edx, dword [ebp + 0xc]
test byte [edx + 0x235], 1
je 0x453c60
sub eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 8], eax
jmp 0x453c66
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp + 0xc]
add edx, 4
push edx
call sym.Cari___.exe__Getsortedbyselection
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x453d93
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
lea edx, [eax + 0x144]
mov dword [ebp - 0x24], edx
jmp 0x453d56
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
cmp ecx, 3
jle 0x453d4f
mov eax, ecx
add eax, dword [ebp - 0x10]
dec eax
cdq
idiv dword [ebp - 0x10]
mov edi, eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 0x224], 0
mov edx, dword [ebp - 4]
push edx
lea edx, [ebp - 0x324]
mov ecx, dword [ebp - 0x18]
push ecx
push eax
push edx
lea ecx, [ebp - 0x224]
push ecx
mov eax, dword [ebp + 0xc]
call dword [eax + 0x249]
add esp, 0x14
mov ebx, eax
cmp edi, ebx
jge 0x453cf0
mov ebx, edi
test byte [ebp - 0x13], 2
je 0x453d14
mov eax, ebx
lea edx, [ebp - 0x224]
add eax, eax
mov ecx, esi
push eax
push edx
add ecx, ecx
add ecx, dword [ebp - 0x1c]
push ecx
call fcn.004a3530
add esp, 0xc
jmp 0x453d34
mov eax, ebx
mov edx, esi
add eax, eax
add edx, edx
push eax
lea ecx, [ebp - 0x224]
add edx, dword [ebp - 0x1c]
push edx
push ebx
push ecx
push 1
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
mov ebx, eax
add esi, ebx
mov eax, dword [ebp - 0x1c]
lea eax, [eax + esi*2]
jmp 0x453d48
mov word [eax], 0x20
inc esi
add eax, 2
inc ebx
lea edx, [edi + 1]
cmp ebx, edx
jle 0x453d3e
inc dword [ebp - 4]
add dword [ebp - 0x24], 4
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x13c]
cmp eax, dword [ebp - 4]
jg 0x453c9c
mov edx, dword [ebp - 0x1c]
lea eax, [edx + esi*2 - 2]
jmp 0x453d75
dec esi
add eax, 0xfffffffe
test esi, esi
jbe 0x453d7f
cmp word [eax], 0x20
je 0x453d71
mov edx, dword [ebp - 0x1c]
mov word [edx + esi*2], 0xd
inc esi
mov ecx, dword [ebp - 0x1c]
mov word [ecx + esi*2], 0xa
inc esi
inc dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x108]
cmp eax, dword [ebp - 0xc]
jg 0x453c4b
mov edx, dword [ebp - 0x1c]
mov word [edx + esi*2], 0
inc esi
mov ecx, dword [ebp - 0x20]
push ecx
call sub.KERNEL32.DLL_GlobalUnlock
push 2
add esi, esi
push esi
mov eax, dword [ebp - 0x20]
push eax
call sub.KERNEL32.DLL_GlobalReAlloc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret