Function at 0x5de020
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov ebx, 1
mov eax, dword [esi + 0x158]
dec eax
cmp eax, 5
ja case.default.0x5de03a
jmp dword [eax*4 + 0x5de308]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5de07c
mov eax, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 7
push 5
push 0xb1
push eax
call edi
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push ecx
call edi
mov dword [esi + 0x158], 2
jmp case.default.0x5de03a
test byte [esi + 0x80], 2
je 0x5de0b8
mov edx, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0x11
push 0xb1
push edx
call edi
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call edi
mov dword [esi + 0x158], 6
jmp case.default.0x5de03a
mov ecx, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xa
push 8
push 0xb1
push ecx
call edi
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push edx
call edi
mov dword [esi + 0x158], 3
jmp case.default.0x5de03a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5de28f
jmp 0x5de1dd
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5de16f
test byte [esi + 0x80], 2
je 0x5de140
mov ecx, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xd
push 0xb
push 0xb1
push ecx
call edi
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push edx
call edi
mov dword [esi + 0x158], 4
jmp case.default.0x5de03a
mov eax, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 4
push 0
push 0xb1
push eax
call edi
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push ecx
call edi
mov dword [esi + 0x158], ebx
jmp case.default.0x5de03a
mov edx, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 7
push 5
push 0xb1
push edx
call edi
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call edi
mov dword [esi + 0x158], 2
jmp case.default.0x5de03a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5de1d1
mov ecx, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x10
push 0xe
push 0xb1
push ecx
call edi
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push edx
jmp 0x5de2dd
test byte [esi + 0x80], bl
je 0x5de085
mov eax, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xa
push 8
push 0xb1
push eax
call edi
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push ecx
call edi
mov dword [esi + 0x158], 3
jmp case.default.0x5de03a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5de24b
mov ecx, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0x11
push 0xb1
push ecx
call edi
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push edx
call edi
mov dword [esi + 0x158], 6
jmp case.default.0x5de03a
mov eax, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xd
push 0xb
push 0xb1
push eax
call edi
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push ecx
call edi
mov dword [esi + 0x158], 4
jmp case.default.0x5de03a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5de2bb
test byte [esi + 0x80], bl
je 0x5de10d
mov edx, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 4
push 0
push 0xb1
push edx
call edi
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call edi
mov dword [esi + 0x158], ebx
jmp case.default.0x5de03a
mov eax, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x10
push 0xe
push 0xb1
push eax
call edi
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push ecx
call edi
mov dword [esi + 0x158], 5
mov edx, dword [esi + 0x1c]
mov dword [esi + 0x15c], ebx
push edx
call dword [sym.imp.USER32.dll_HideCaret]
mov ecx, esi
call fcn.005ddf10
pop edi
pop esi
pop ebx
ret 4