Function at 0x404ed0
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f86bb
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x782e08]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
xorps xmm0, xmm0
push 0xc6
push eax
mov word [ebp - 0x38], ax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
mov word [ebp - 0x100], ax
lea eax, [ebp - 0xfe]
push eax
movdqu xmmword [ebp - 0x36], xmm0
movdqu xmmword [ebp - 0x26], xmm0
call fcn.006c5570
add esp, 0xc
call fcn.00435c50
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x404f74
push str.__atl_condVal
push 0x75dc60
push ecx
push 0xcd
push 0x75ddd8
push 2
call fcn.006c34d0
add esp, 0x18
cmp eax, 1
jne 0x404f6a
int3
push 0x80004005
call fcn.00406550
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x104], esi
push 0x14
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
push eax
push dword [0x78f25c]
mov dword [ebp - 0x108], 0x64
call edi
push 0x14
lea eax, [ebp - 0x100]
push eax
push dword [0x78f258]
call edi
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jge 0x404fdf
push dword [0x78f258]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4050f1
inc dword [0x7913f0]
push 0
push dword [0x78f260]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3000
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x100]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_UrlEscapeW]
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [0x78f350]
lea eax, [ebp - 0x104]
push dword [0x78f348]
push eax
call fcn.004058f0
mov esi, dword [ebp - 0x104]
add esp, 0x14
mov ecx, esi
call fcn.00404e70
cmp dword [0x7913f0], 2
jge 0x40509d
push 0x244
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x78f34c]
push 0x7d6
push dword [0x78f260]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call edi
push 0x75e29c
push dword [0x78f258]
call edi
push 5
push dword [0x78f260]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x78f258]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4050f1
mov eax, dword [0x78f26c]
mov dword [0x7913f0], 0
test eax, eax
je 0x4050d2
push eax
push 0
push 0x800
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4050d2
push edi
call dword [0x78f344]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x403e70
push dword [0x78f248]
mov dword [0x78f268], 0x405160
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x405127
push str.nRefs___0
push 0x75dc60
push 0
push 0x56
push 0x75ddd8
push 2
call fcn.006c34d0
add esp, 0x18
cmp eax, 1
jne 0x405127
int3
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40513b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006c31f0
mov esp, ebp
pop ebp
ret