Function at 0x48d040
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 + 0xdc0]
test al, al
jne 0x48d3ba
lea esi, [edi + 0x3a0]
lea eax, [edi + 0x428]
push eax
mov ecx, esi
call fcn.0060a90e
mov eax, dword [0x6f6360]
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 0x48d0a7
cmp dword [esp + 0x1c], 1
je 0x48d0a7
xor bl, bl
mov eax, dword [0x6f6360]
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 0x48d0da
cmp dword [esp + 0x1c], 1
je 0x48d0da
mov byte [esp + 0x13], 0
test bl, bl
je 0x48d0f0
lea ecx, [edi + 0x8c8]
push ecx
mov ecx, esi
call fcn.0060a90e
mov byte [edi + 0xd], 1
mov edx, dword [edi]
mov eax, dword [edx + 4]
test eax, eax
jne 0x48d113
mov al, byte [esp + 0x13]
test al, al
je 0x48d113
lea eax, [edi + 0x650]
mov ecx, esi
push eax
call fcn.0060a90e
mov byte [edi + 0xe], 1
push 0
mov ecx, esi
call fcn.0060a3d8
mov ecx, dword [edi + 0x10]
push 0x6e0
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x48d148
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 0x48d180
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.00601397
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.00601454
mov eax, dword [edi + 0x3bc]
push 0
push 0
push 0x474
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.005fe230
push 1
push ebp
push ebx
push 0
push 0
mov ecx, eax
call fcn.00601454
push 0
mov ecx, esi
call fcn.0060a8ae
push 5
mov ecx, esi
call fcn.006014e4
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetCursorPos]
mov byte [edi + 0xdc0], 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.0060490f
mov ebp, eax
test ebp, ebp
je 0x48d309
push 1
push ebp
push esi
call fcn.0048cce0
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.0060a865
test eax, eax
jle 0x48d2ea
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0060a8ae
mov ecx, esi
call fcn.0060a522
push 1
push ebp
push eax
call fcn.0048cce0
mov edx, dword [esp + 0x20]
add esp, 0xc
inc edx
mov ecx, esi
mov dword [esp + 0x14], edx
call fcn.0060a865
cmp dword [esp + 0x14], eax
jl 0x48d2b5
push 0
mov ecx, esi
call fcn.0060a8ae
push 5
mov ecx, esi
call fcn.006014e4
push 0
push 0
push 0
mov ecx, edi
call fcn.0048fbd0
push 0
mov byte [esp + 0x17], 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x48d3ba
mov ebp, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push esi
call ebp
push 0x58
push esi
call ebp
cmp eax, 0x60
je 0x48d33a
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 0x48d3ba
mov eax, dword [edi + 0x5fc]
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 0x48d3ba
cmp ebx, 0x1f7
jle 0x48d389
add ebx, 0xfffffe09
jmp 0x48d38b
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