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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov al, byte [edi + 0xa78]
test al, al
jne 0x48cbda
lea esi, [edi + 0x3a0]
lea eax, [edi + 0x428]
push eax
mov ecx, esi
call fcn.0060bb1e
mov eax, dword [0x6d12f4]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push 0
mov bl, 1
push str.bHideSLTabOnDwnlDlg
push eax
mov byte [esp + 0x2b], bl
mov dword [esp + 0x30], 4
call ebp
test eax, eax
jne 0x48c8c7
cmp dword [esp + 0x1c], 1
je 0x48c8c7
xor bl, bl
mov eax, dword [0x6d12f4]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push 0
push str.bHideCTabOnDwnlDlg
push eax
mov dword [esp + 0x30], 4
call ebp
test eax, eax
jne 0x48c8fa
cmp dword [esp + 0x1c], 1
je 0x48c8fa
mov byte [esp + 0x13], 0
test bl, bl
je 0x48c910
lea ecx, [edi + 0x68c]
push ecx
mov ecx, esi
call fcn.0060bb1e
mov byte [edi + 0xd], 1
mov edx, dword [edi]
mov eax, dword [edx + 4]
test eax, eax
jne 0x48c933
mov al, byte [esp + 0x13]
test al, al
je 0x48c933
lea eax, [edi + 0x548]
mov ecx, esi
push eax
call fcn.0060bb1e
mov byte [edi + 0xe], 1
push 0
mov ecx, esi
call fcn.0060b5e8
mov ecx, dword [edi + 0x10]
push 0x6e0
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x48c968
lea edx, [esp + 0x30]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x48c9a0
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add eax, 0x26
add ecx, 0xf
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
add eax, 0xa4
add ecx, 0x1f7
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 0x10]
push 0
push 0
push 0x1482
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x10000
push 0
mov ecx, esi
call fcn.0060208d
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov edx, dword [edi + 0x10]
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
sub ebp, ecx
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
push edx
sub ebx, eax
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
add eax, ebx
add ecx, ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
sub edx, eax
push 1
push edx
mov edx, dword [esp + 0x50]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, esi
call fcn.0060214a
mov eax, dword [edi + 0x3bc]
push 0
push 0
push 0x474
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.005ff43f
push 1
push ebp
push ebx
push 0
push 0
mov ecx, eax
call fcn.0060214a
push 0
mov ecx, esi
call fcn.0060babe
push 5
mov ecx, esi
call fcn.006021da
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetCursorPos]
mov byte [edi + 0xa78], 1
push 0
mov eax, dword [edi + 0x70]
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.00605b1f
mov ebp, eax
test ebp, ebp
je 0x48cb29
push 1
push ebp
push esi
call fcn.0048c500
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.0060ba75
test eax, eax
jle 0x48cb0a
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0060babe
mov ecx, esi
call fcn.0060b732
push 1
push ebp
push eax
call fcn.0048c500
mov edx, dword [esp + 0x20]
add esp, 0xc
inc edx
mov ecx, esi
mov dword [esp + 0x14], edx
call fcn.0060ba75
cmp dword [esp + 0x14], eax
jl 0x48cad5
push 0
mov ecx, esi
call fcn.0060babe
push 5
mov ecx, esi
call fcn.006021da
push 0
push 0
push 0
mov ecx, edi
call fcn.0048f600
push 0
mov byte [esp + 0x17], 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x48cbda
mov ebp, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push esi
call ebp
push 0x58
push esi
call ebp
cmp eax, 0x60
je 0x48cb5a
mov byte [esp + 0x13], 1
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov al, byte [esp + 0x13]
test al, al
je 0x48cbda
mov eax, dword [edi + 0x518]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x60]
push edx
push eax
call esi
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0x50]
push ecx
push edx
call esi
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x58]
add eax, 0xa
cmp eax, edx
jle 0x48cbda
cmp ebx, 0x1f7
jle 0x48cba9
add ebx, 0xfffffe09
jmp 0x48cbab
xor ebx, ebx
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
sub ecx, eax
push 0x20
push ecx
mov ecx, dword [esp + 0x58]
mov esi, ebx
sub esi, ecx
add esi, edx
push esi
push eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [edi + 0x10]
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, 0x60
ret