Function at 0x4535f8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffccc
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test esi, esi
jne 0x453615
xor eax, eax
jmp 0x4539d9
mov eax, dword [esi + 0x108]
test eax, eax
jle 0x453630
cmp dword [esi + 0x110], 0
jl 0x453630
cmp eax, dword [esi + 0x110]
jg 0x453637
xor eax, eax
jmp 0x4539d9
mov ebx, 0x4604
push ebx
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x453665
push ebx
push 0x4bb416
call sym.Cari___.exe__Error
add esp, 8
xor eax, eax
jmp 0x4539d9
mov edx, dword [ebp - 0x20]
push edx
call sub.KERNEL32.DLL_GlobalLock
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x453695
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 0x4539d9
xor ebx, ebx
cmp dword [ebp + 0x10], 0
jge 0x453755
push 0x100
lea eax, [ebp - 0x224]
push eax
push edi
call sub.USER32.DLL_GetWindowTextA
mov ebx, eax
test ebx, ebx
jne 0x4536e3
push esi
push edi
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]
pop edi
pop esi
lea edx, [ebp - 0x224]
push edx
call fcn.004a36d4
pop ecx
mov ebx, eax
test byte [esi + 0x235], 0x80
jne 0x45370d
mov eax, dword [esi + 0x110]
lea edx, [ebp - 0x224]
push eax
add edx, ebx
push 0x4bb51d
push edx
call fcn.004a6c2c
add esp, 0xc
add ebx, eax
jmp 0x453725
push 0x4bb527
lea ecx, [ebp - 0x224]
add ecx, ebx
push ecx
call fcn.004a6c2c
add esp, 8
add ebx, eax
push 0x200
lea edx, [ebp - 0x224]
mov eax, dword [ebp - 0x1c]
push eax
push ebx
push edx
push 1
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
mov ebx, eax
mov ecx, dword [ebp - 0x1c]
mov word [ecx + ebx*2], 0xd
inc ebx
mov eax, dword [ebp - 0x1c]
mov word [eax + ebx*2], 0xa
inc ebx
test byte [esi + 0x235], 0x80
je 0x4537cb
xor edx, edx
lea eax, [ebp - 0x334]
mov dword [ebp - 0x328], edx
mov dword [ebp - 0x330], edx
push eax
push edi
call sub.USER32.DLL_GetClientRect
cmp dword [esi + 0x22d], 1
jne 0x453798
mov ecx, dword [esi + 0x140]
mov eax, dword [ecx*4 + 0x4d4920]
add eax, 4
mov dword [ebp - 0x330], eax
mov edx, dword [esi + 0x239]
mov eax, dword [ebp - 0x328]
sub eax, dword [ebp - 0x330]
mov ecx, dword [edx*4 + 0x4d4920]
cdq
idiv ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x4537c4
mov dword [ebp - 0x10], 1
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x4537e6
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [esi + 0x110]
push edx
lea ecx, [esi + 4]
push ecx
call sym.Cari___.exe__Getsortedbyselection
add esp, 8
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 4], eax
lea edx, [esi + 0x144]
mov dword [ebp - 0x24], edx
jmp 0x4539a3
cmp dword [ebp + 0x10], 0
jl 0x45380b
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
jne 0x45399c
mov eax, dword [ebp - 0x24]
cmp dword [eax], 3
jle 0x45399c
xor edx, edx
mov dword [ebp - 0xc], edx
mov byte [ebp - 0x224], 0
test byte [esi + 0x235], 0x80
je 0x453869
lea eax, [esi + 0x108]
mov edx, dword [eax]
cmp edx, dword [ebp - 0x10]
jl 0x45383c
lea eax, [ebp - 0x10]
mov edx, dword [eax]
lea eax, [ebp - 0xc]
mov dword [esi + 0x108], edx
lea edx, [ebp - 0x324]
mov ecx, dword [ebp - 4]
push ecx
push esi
push eax
push edx
lea ecx, [ebp - 0x224]
push ecx
call dword [esi + 0x249]
add esp, 0x14
mov dword [ebp - 8], eax
jmp 0x45389c
cmp dword [ebp - 0x18], 0
jne 0x453876
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x45389c
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xc]
push edx
lea edx, [ebp - 0x324]
mov ecx, dword [ebp - 0x18]
push ecx
push eax
push edx
lea ecx, [ebp - 0x224]
push ecx
call dword [esi + 0x249]
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], 0
jge 0x45391f
cmp dword [ebp - 8], 0
je 0x45399c
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0x88]
mov dword [ebp - 0x14], edx
xor edx, edx
mov eax, dword [ebp - 0x14]
jmp 0x4538c1
inc edx
inc eax
mov cl, byte [eax]
mov edi, ecx
and edi, 0xff
cmp edi, 0x24
je 0x4538d4
test cl, cl
jne 0x4538bf
mov eax, dword [ebp - 0x14]
lea eax, [eax + edx - 1]
jmp 0x4538df
dec edx
dec eax
test edx, edx
jle 0x4538ec
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x20
je 0x4538dd
mov eax, dword [ebp - 0x1c]
mov word [eax + ebx*2], 0x20
inc ebx
push 0x200
mov ecx, ebx
add ecx, ecx
add ecx, dword [ebp - 0x1c]
push ecx
push edx
mov edx, dword [ebp - 0x14]
push edx
push 1
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
mov edx, eax
add ebx, edx
mov eax, dword [ebp - 0x1c]
mov word [eax + ebx*2], 0x3d
inc ebx
test byte [ebp - 0xb], 2
je 0x453944
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0x224]
add edx, edx
mov eax, ebx
push edx
push ecx
add eax, eax
add eax, dword [ebp - 0x1c]
push eax
call fcn.004a3530
add esp, 0xc
jmp 0x453968
push 0x200
mov edx, ebx
add edx, edx
add edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 8]
push ecx
lea eax, [ebp - 0x224]
push eax
push 1
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
mov dword [ebp - 8], eax
add ebx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
lea eax, [edx + ebx*2 - 2]
jmp 0x453978
dec ebx
add eax, 0xfffffffe
test ebx, ebx
jbe 0x453982
cmp word [eax], 0x20
je 0x453974
cmp dword [ebp + 0x10], 0
jge 0x45399c
mov edx, dword [ebp - 0x1c]
mov word [edx + ebx*2], 0xd
inc ebx
mov ecx, dword [ebp - 0x1c]
mov word [ecx + ebx*2], 0xa
inc ebx
inc dword [ebp - 4]
add dword [ebp - 0x24], 4
mov eax, dword [esi + 0x13c]
cmp eax, dword [ebp - 4]
jg 0x4537f9
mov edx, dword [ebp - 0x1c]
mov word [edx + ebx*2], 0
inc ebx
mov ecx, dword [ebp - 0x20]
push ecx
call sub.KERNEL32.DLL_GlobalUnlock
push 2
add ebx, ebx
push ebx
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