Function at 0x4e9df0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x14
mov eax, dword [0x546560]
push ebx
mov dword [esp + 4], eax
push ebp
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
mov dword [esp + 0xc], ecx
push esi
cmp edx, 1
push edi
mov ecx, 0x400
jg 0x4e9e19
cmp dword [eax - 4], ecx
jge 0x4e9e5a
mov ebp, dword [eax - 8]
cmp ebp, ecx
jle 0x4e9e22
mov ecx, ebp
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x4e9e5a
mov edi, dword [esp + 0x10]
lea ecx, [ebp + ebp + 2]
mov eax, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov dword [ecx - 8], ebp
call fcn.00405590
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0x400
push eax
mov eax, dword [edx + 0x264]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x10]
call fcn.004055c0
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov dword [edx - 8], eax
mov ecx, dword [esp + 0x10]
mov word [ecx + eax*2], 0
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
jle 0x4e9ff0
mov eax, dword [0x546560]
push ecx
mov edi, esp
mov ecx, str.Auto_Suggest_Dropdown
test ecx, ecx
mov dword [edi], eax
je 0x4e9f01
mov edx, ecx
shr edx, 0x10
jne 0x4e9ed0
xor eax, eax
mov ax, cx
mov ecx, edi
push eax
call fcn.00413c90
jmp 0x4e9f01
push str.Auto_Suggest_Dropdown
call ebx
mov esi, eax
test esi, esi
je 0x4e9f01
push esi
mov ecx, edi
call fcn.00405530
test eax, eax
je 0x4e9f01
mov edi, dword [edi]
lea ecx, [esi + esi]
mov edx, ecx
mov esi, str.Auto_Suggest_Dropdown
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004648b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x4e9f73
mov eax, dword [0x546560]
push ecx
mov edi, esp
mov ecx, str.ListBox
test ecx, ecx
mov dword [edi], eax
je 0x4e9f69
mov edx, ecx
shr edx, 0x10
jne 0x4e9f38
xor eax, eax
mov ax, cx
mov ecx, edi
push eax
call fcn.00413c90
jmp 0x4e9f69
push str.ListBox
call ebx
mov esi, eax
test esi, esi
je 0x4e9f69
push esi
mov ecx, edi
call fcn.00405530
test eax, eax
je 0x4e9f69
mov edi, dword [edi]
lea ecx, [esi + esi]
mov edx, ecx
mov esi, str.ListBox
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004648b0
add esp, 4
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4e9ff0
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4e9ff0
push 0
push 0x548954
push 0
push esi
call dword [sym.imp.USER32.dll_FindWindowExW]
mov ecx, dword [0x546560]
push 0
push 0
push 0x1042
push eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jl 0x4e9fe7
mov eax, dword [0x55e130]
xor esi, esi
test eax, eax
jle 0x4e9fe7
mov edx, dword [0x55e128]
mov ecx, dword [esp + 0x10]
push ecx
mov eax, dword [edx + esi*4]
push eax
call fcn.00531809
add esp, 8
test eax, eax
je 0x4ea003
mov eax, dword [0x55e130]
inc esi
cmp esi, eax
jl 0x4e9fc2
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00405700
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp esi, 0xffffffff
je 0x4e9fe7
mov edi, dword [esp + 0x14]
push edi
call fcn.004d8f10
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4ea11d
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, dword [eax - 0xc]
lea esi, [eax - 0xc]
cmp edx, 1
mov dword [esp + 0x20], esi
jg 0x4ea03b
mov edx, dword [eax - 4]
test edx, edx
jge 0x4ea084
mov ebp, dword [eax - 8]
test ebp, ebp
jle 0x4ea044
mov ecx, ebp
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x4ea080
mov edi, dword [esp + 0x10]
lea ecx, [ebp + ebp + 2]
mov edx, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
push ecx
mov dword [eax - 8], ebp
call fcn.00405590
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x4ea0d2
push eax
lea ecx, [esp + 0x18]
call fcn.00412740
mov ecx, dword [ebx + 0x24]
lea edx, [esp + 0x14]
push edx
call fcn.004bdcc0
cmp eax, 0xffffffff
je 0x4ea0c9
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
push eax
call fcn.00405440
mov ecx, dword [ebx + 0x24]
call fcn.004bdb50
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebx + 0x20]
call fcn.004f1530
lea ecx, [esp + 0x14]
call fcn.00405700
mov ecx, ebx
call fcn.004bd790
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4ea0f6
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
test eax, eax
je 0x4ea0f6
call fcn.00419560
mov dword [ebx + 0x14], 0
mov edx, dword [edi + 0x264]
push 0x553d98
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [edi + 0x264]
push str.www._s.com
push 0x21
push eax
mov ecx, ebx
call fcn.004d9130
lea ecx, [esp + 0x18]
push 0x12d
push ecx
call fcn.004bc8d0
add esp, 8
lea ecx, [esp + 0x18]
push 0x553d98
push 0x547a3c
call fcn.004139f0
mov edx, dword [0x546560]
mov eax, 0x548308
test eax, eax
mov dword [esp + 0x14], edx
je 0x4ea18f
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x4ea18f
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x4ea18f
mov ecx, dword [esp + 0x14]
inc esi
push esi
push 0x548308
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00405bb0
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00412dc0
push eax
lea ecx, [esp + 0x1c]
call fcn.00413220
lea ecx, [esp + 0x20]
call fcn.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
push 0x5dc
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
push edx
call fcn.00405440
mov ecx, edi
call fcn.004e9b20
lea ecx, [esp + 0x18]
call fcn.00405700
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00405700
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret