Function at 0x47ee60
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 0x47f14b
lea ebp, [esi + 0x398]
lea eax, [esi + 0x420]
push eax
mov ecx, ebp
call fcn.005e82ae
mov eax, dword [0x6cce68]
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 0x47eec7
cmp dword [esp + 0x18], 1
je 0x47eec7
xor bl, bl
mov eax, dword [0x6cce68]
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 0x47eefa
cmp dword [esp + 0x18], 1
je 0x47eefa
mov byte [esp + 0x13], 0
test bl, bl
je 0x47ef10
lea ecx, [esi + 0x884]
push ecx
mov ecx, ebp
call fcn.005e82ae
mov byte [esi + 9], 1
mov edx, dword [esi]
mov eax, dword [edx + 4]
test eax, eax
jne 0x47ef33
mov al, byte [esp + 0x13]
test al, al
je 0x47ef33
lea eax, [esi + 0x648]
mov ecx, ebp
push eax
call fcn.005e82ae
mov byte [esi + 0xa], 1
push 0
mov ecx, ebp
call fcn.005e7d78
mov ecx, dword [esi + 0xc]
push 0x6e0
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x47ef68
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 0x47efa0
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.005de819
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.005de8d6
mov eax, dword [esi + 0x3b4]
push 0
push 0
push 0x474
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.005dbbd0
push 1
push edi
push ebx
push 0
push 0
mov ecx, eax
call fcn.005de8d6
push 0
mov ecx, ebp
call fcn.005e824e
push 5
mov ecx, ebp
call fcn.005de966
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 0x47f14b
mov ebp, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push edi
call ebp
push 0x58
push edi
call ebp
cmp eax, 0x60
je 0x47f0cb
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 0x47f14b
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 0x47f14b
cmp ebx, 0x1f7
jle 0x47f11a
add ebx, 0xfffffe09
jmp 0x47f11c
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