Function at 0x47ec80
Capabilities:
Hide graphical window
Query or enumerate registry value

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0xd78]
test al, al
jne 0x47ef6b
lea ebp, [esi + 0x398]
lea eax, [esi + 0x420]
push eax
mov ecx, ebp
call fcn.005e859e
mov eax, dword [0x6cce6c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0
mov bl, 1
push str.bHideSLTabOnDwnlDlg
push eax
mov byte [esp + 0x2b], bl
mov dword [esp + 0x2c], 4
call edi
test eax, eax
jne 0x47ece7
cmp dword [esp + 0x18], 1
je 0x47ece7
xor bl, bl
mov eax, dword [0x6cce6c]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0
push str.bHideCTabOnDwnlDlg
push eax
mov dword [esp + 0x2c], 4
call edi
test eax, eax
jne 0x47ed1a
cmp dword [esp + 0x18], 1
je 0x47ed1a
mov byte [esp + 0x13], 0
test bl, bl
je 0x47ed30
lea ecx, [esi + 0x884]
push ecx
mov ecx, ebp
call fcn.005e859e
mov byte [esi + 9], 1
mov edx, dword [esi]
mov eax, dword [edx + 4]
test eax, eax
jne 0x47ed53
mov al, byte [esp + 0x13]
test al, al
je 0x47ed53
lea eax, [esi + 0x648]
mov ecx, ebp
push eax
call fcn.005e859e
mov byte [esi + 0xa], 1
push 0
mov ecx, ebp
call fcn.005e8068
mov ecx, dword [esi + 0xc]
push 0x6e0
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x47ed88
lea edx, [esp + 0x2c]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x47edc0
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add eax, 0x26
add ecx, 0xf
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
add eax, 0xa4
add ecx, 0x1f7
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0xc]
push 0
push 0
push 0x1482
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x10000
push 0
mov ecx, ebp
call fcn.005deb09
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 0xc]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
sub edi, ecx
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x1c]
push ecx
push edx
sub ebx, eax
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
add eax, ebx
add ecx, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
sub edx, eax
push 1
push edx
mov edx, dword [esp + 0x4c]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, ebp
call fcn.005debc6
mov eax, dword [esi + 0x3b4]
push 0
push 0
push 0x474
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.005dbec0
push 1
push edi
push ebx
push 0
push 0
mov ecx, eax
call fcn.005debc6
push 0
mov ecx, ebp
call fcn.005e853e
push 5
mov ecx, ebp
call fcn.005dec56
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetCursorPos]
mov byte [esi + 0xd78], 1
mov byte [esp + 0x13], 0
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x47ef6b
mov ebp, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push edi
call ebp
push 0x58
push edi
call ebp
cmp eax, 0x60
je 0x47eeeb
mov byte [esp + 0x13], 1
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov al, byte [esp + 0x13]
test al, al
je 0x47ef6b
mov ecx, dword [esi + 0x5f4]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x5c]
push eax
push ecx
call edi
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x4c]
push edx
push eax
call edi
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x54]
add ecx, 0xa
cmp ecx, edx
jle 0x47ef6b
cmp ebx, 0x1f7
jle 0x47ef3a
add ebx, 0xfffffe09
jmp 0x47ef3c
xor ebx, ebx
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
sub ecx, eax
push 0x20
push ecx
mov ecx, dword [esp + 0x54]
mov edi, ebx
sub edi, ecx
add edi, edx
push edi
push eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esi + 0xc]
sar eax, 1
sub ecx, eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret