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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [esi + 4]
mov ax, word [edi]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
test ax, ax
je 0x7cf7169c
cmp ax, 0x23
je 0x7cf716d6
inc edi
inc edi
jmp 0x7cf71684
lea eax, [ebp - 0xd0]
push 0x40
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [esi + 4]
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x1b0]
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x1b0]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x7cf716ec
and word [edi], 0
push dword [esi + 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
add edi, 2
mov dword [esi + 4], edi
lea eax, [ebp - 0xd0]
push 0x40
mov edi, 0x3500
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push dword [esi + 4]
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x1b0]
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x1b0]
push eax
push edi
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
call edi
push dword [esi + 8]
push 0x350d
push dword [ebp + 8]
call edi
push 0
push dword [esi]
push 0x170
push 0x3009
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp dword [esi], 0
jne 0x7cf7176d
push 0
push 0x3009
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0x40
push eax
call fcn.7d03f645
mov eax, dword [ebp - 0x108]
mov edx, dword [ebp - 0x104]
add eax, 0x200
push 0xa
adc edx, 0
pop ecx
call fcn.7d0419b0
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x130]
push 0x10
push eax
push 0x3e
push dword [0x7d04cdfc]
mov dword [ebp - 0xc], edx
call esi
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.7cf55cfb
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0xd0]
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0xd0]
push eax
push 0x3503
push dword [ebp + 8]
call edi
lea eax, [ebp + 0xc]
push eax
push 0x20019
push 0
push 0x7cf31ff0
push reloc.SHLWAPI.dll_ParseURLW
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7cf719ef
mov eax, 0x100
push eax
push 0x40
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [ebp - 4], eax
je 0x7cf719e6
lea eax, [ebp - 0x2c4]
mov dword [ebp - 0x2c4], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x7cf71865
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 0x2b8], eax
mov word [ebp - 0x2b0], ax
lea eax, [ebp - 0xd0]
push 0x40
push eax
push 0x3c
push dword [0x7d04cdfc]
call esi
and word [ebp - 0x1b0], 0
cmp word [ebp - 0x2b0], 0
je 0x7cf718a2
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x1b0]
push 0x7cf31fe4
push eax
call ebx
add esp, 0xc
and word [ebp - 0x50], 0
push 0x16
call fcn.7cf5b11e
test eax, eax
je 0x7cf718c8
lea eax, [ebp - 0x4e]
push 0x20
push eax
push 0x3d
push dword [0x7d04cdfc]
mov word [ebp - 0x50], 0x20
call esi
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0xd0]
push dword [ebp - 0x2b8]
push dword [ebp - 0x2bc]
push dword [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x454]
push eax
call ebx
mov esi, dword [ebp + 8]
add esp, 0x1c
lea eax, [ebp - 0x454]
push eax
push 0x350b
push esi
call edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x7cf31f70
push dword [ebp + 0xc]
call fcn.7cf715f9
test eax, eax
jne 0x7cf7192e
push dword [ebp - 4]
push 0x3507
push esi
call edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x7cf31f90
push dword [ebp + 0xc]
call fcn.7cf715f9
test eax, eax
jne 0x7cf71952
push dword [ebp - 4]
push 0x3508
push esi
call edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x7cf31fd8
push dword [ebp + 0xc]
call fcn.7cf715f9
test eax, eax
jne 0x7cf7199f
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 0x3510
push esi
call ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 0
push 0x3509
push dword [ebp + 8]
call ebx
push eax
call esi
push dword [ebp - 4]
push 0x3511
push dword [ebp + 8]
jmp 0x7cf719db
cmp eax, 2
jne 0x7cf719dd
push 0
push 0x3511
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x7cf31fc0
push dword [ebp + 0xc]
call fcn.7cf715f9
test eax, eax
jne 0x7cf719dd
push dword [ebp - 4]
push 0x3509
push esi
call edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 8