Function at 0x404ee0
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x310c
call fcn.004ad150
push ebx
push ebp
push esi
mov esi, dword [esp + 0x311c]
push edi
mov ebp, ecx
push 0x20
push esi
mov dword [esp + 0x20], ebp
call dword [sym.imp.MSVCRT.dll_wcschr]
add esp, 8
mov ecx, 0x411
neg eax
sbb eax, eax
xor ebx, ebx
neg eax
mov dword [esp + 0x3c], eax
xor eax, eax
lea edi, [esp + 0x46]
mov word [esp + 0x44], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
push 0x4c3574
lea eax, [esp + 0x4c]
push 0x823
push eax
call edi
lea ecx, [esp + 0x54]
push ecx
call fcn.0046e2e0
add esp, 0x14
cmp word [esp + 0x44], bx
mov word [ebp + 0x304c], bx
mov dword [esp + 0x10], 1
mov dword [esp + 0x20], ebx
je 0x404fd2
cmp word [ebp + 0x1eec], bx
lea esi, [ebp + 0x1eec]
je 0x404fcb
lea edx, [esp + 0x44]
push esi
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x404f97
mov eax, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
jmp 0x404fcb
lea eax, [esp + 0x44]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x404fb0
mov dword [esp + 0x10], ebx
jmp 0x404fcb
lea ecx, [esp + 0x44]
push ecx
push esi
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x404fcb
mov dword [esp + 0x20], 1
cmp word [esp + 0x44], bx
jne 0x404fe8
pop edi
mov word [ebp + 0x1eec], bx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x310c
ret 4
lea edx, [esp + 0x44]
push edx
push 0x4c3574
push 0x823
push esi
call edi
add esp, 0x10
lea ebx, [ebp + 0x4c]
xor edi, edi
mov ecx, ebx
push edi
mov dword [esp + 0x2c], ebx
call fcn.00492350
mov ecx, ebx
call fcn.00491290
push edi
call fcn.00433420
add esp, 4
mov ecx, ebx
push eax
call fcn.004912c0
lea eax, [esp + 0x44]
mov dword [esp + 0x1c], edi
push eax
call fcn.00484700
mov esi, eax
mov word [esp + 0x20d8], di
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x20da]
add esp, 4
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20d4]
push 0x823
lea edx, [esp + 0x48]
push ecx
push edx
mov ecx, 0x5b0590
mov dword [esp + 0x44], esi
stosw word es:[edi], ax
call fcn.0047f9d0
test eax, eax
je 0x40508a
lea eax, [esp + 0x44]
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, ebp
call fcn.00404c60
jmp 0x40509a
test esi, esi
jne 0x4050a2
lea edx, [esp + 0x44]
mov ecx, ebp
push edx
call fcn.00404cf0
mov dword [esp + 0x1c], 1
test esi, esi
mov dword [esp + 0x30], 8
mov dword [esp + 0x34], 0
je 0x4050c8
lea eax, [esp + 0x44]
mov ecx, ebp
push eax
call fcn.00404d70
mov dword [esp + 0x34], eax
jmp 0x4050d0
mov dword [esp + 0x30], 7
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.0042b970
mov ecx, eax
add ecx, 0x714
call fcn.00462fa0
test eax, eax
je 0x40540d
mov ecx, ebx
call fcn.004923f0
mov dword [esp + 0x24], eax
call fcn.0042b970
mov esi, dword [eax + 0x71c]
add eax, 0x718
mov dword [esp + 0x40], esi
mov dword [esp + 0x10], 1
call fcn.0042b970
add eax, 0x718
mov eax, dword [eax + 4]
mov edi, dword [eax]
cmp edi, esi
mov dword [esp + 0x14], edi
je 0x405409
mov ecx, dword [esp + 0x18]
lea ebp, [edi + 0x228]
push ebp
call fcn.00405450
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x2c], esi
je 0x40516b
mov ecx, dword [esp + 0x3120]
push ecx
push ebp
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x40516b
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x405364
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x405364
mov eax, dword [esp + 0x10]
test eax, eax
je 0x405364
push ebp
call fcn.00437500
add esp, 4
test eax, eax
je 0x405364
mov edx, dword [esp + 0x3120]
mov esi, ebp
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ebx, eax
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
jne 0x40533c
mov eax, dword [esp + 0x3120]
push ebx
push eax
push ebp
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x40523e
push 7
push 0x4c362c
push ebp
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x405207
mov ecx, dword [esp + 0x3120]
lea esi, [ebp + 0xe]
push ebx
push ecx
push esi
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x40523e
push 0xb
push str.http:__www.
push ebp
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x40533c
mov edx, dword [esp + 0x3120]
lea esi, [ebp + 0x16]
push ebx
push edx
push esi
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x40533c
mov eax, dword [0x5b510c]
test eax, eax
je 0x40533c
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x108e]
mov word [esp + 0x108c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x108c]
push 0x823
push eax
mov ecx, dword [edi + 0x2f44]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 0x108c]
push esi
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x4052d9
lea eax, [esi + ebx*2]
mov ebx, dword [esp + 0x3120]
push eax
push ebx
push 0x4c3608
lea ecx, [esp + 0x1098]
push 0x823
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [edi + 0x2f44]
add esp, 0x14
lea edx, [esp + 0x108c]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4052e0
mov ebx, dword [esp + 0x3120]
push ebx
mov dword [edi + 0x2f38], 0
call dword [sym.imp.MSVCRT.dll_wcslen]
push esi
mov edi, eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov esi, dword [esp + 0x20]
add esp, 8
mov ecx, dword [esi + 0x2f44]
push eax
push edi
push 0xb1
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0x4c3574
lea eax, [esi + 0x304c]
push 0x823
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov edi, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push 0
push 0
push 0
lea eax, [edi + 0x20]
push edx
push eax
push ebp
push ecx
mov ecx, dword [esp + 0x44]
call fcn.00491330
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
jmp 0x40537c
mov eax, dword [esp + 0x24]
push 0
push 0
push 0
lea edx, [edi + 0x20]
push esi
push edx
push ebp
push eax
mov ecx, ebx
call fcn.00491330
push esi
call fcn.00433400
add esp, 4
test eax, eax
jne 0x405390
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x10], 0
cmp eax, ecx
mov dword [esp + 0x24], eax
jge 0x405405
mov ecx, dword [edi + 8]
mov al, byte [ecx + 0x1275]
test al, al
jne 0x4053d6
mov eax, dword [ecx]
mov dl, byte [eax + 0x1275]
test dl, dl
jne 0x4053d0
mov ecx, eax
mov eax, dword [ecx]
mov dl, byte [eax + 0x1275]
test dl, dl
je 0x4053c2
mov dword [esp + 0x14], ecx
jmp 0x4053f7
mov eax, dword [edi + 4]
cmp edi, dword [eax + 8]
jne 0x4053ee
mov ecx, eax
mov eax, dword [eax + 4]
mov dword [esp + 0x14], ecx
cmp ecx, dword [eax + 8]
je 0x4053de
mov edi, ecx
cmp dword [edi + 8], eax
je 0x4053fb
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x14]
cmp edi, dword [esp + 0x40]
jne 0x405136
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
test esi, esi
jne 0x40541d
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebp
call fcn.00404d70
push 0
mov ecx, ebx
call fcn.00492300
push 1
mov ecx, ebx
call fcn.00492350
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x310c
ret 4