Function at 0x4821e0
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 0x4824cb
lea ebp, [esi + 0x398]
lea eax, [esi + 0x420]
push eax
mov ecx, ebp
call fcn.005ec8fe
mov eax, dword [0x6d116c]
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 0x482247
cmp dword [esp + 0x18], 1
je 0x482247
xor bl, bl
mov eax, dword [0x6d116c]
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 0x48227a
cmp dword [esp + 0x18], 1
je 0x48227a
mov byte [esp + 0x13], 0
test bl, bl
je 0x482290
lea ecx, [esi + 0x884]
push ecx
mov ecx, ebp
call fcn.005ec8fe
mov byte [esi + 9], 1
mov edx, dword [esi]
mov eax, dword [edx + 4]
test eax, eax
jne 0x4822b3
mov al, byte [esp + 0x13]
test al, al
je 0x4822b3
lea eax, [esi + 0x648]
mov ecx, ebp
push eax
call fcn.005ec8fe
mov byte [esi + 0xa], 1
push 0
mov ecx, ebp
call fcn.005ec3c8
mov ecx, dword [esi + 0xc]
push 0x6e0
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x4822e8
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 0x482320
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.005e2e6d
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.005e2f2a
mov eax, dword [esi + 0x3b4]
push 0
push 0
push 0x474
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.005e021f
push 1
push edi
push ebx
push 0
push 0
mov ecx, eax
call fcn.005e2f2a
push 0
mov ecx, ebp
call fcn.005ec89e
push 5
mov ecx, ebp
call fcn.005e2fba
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 0x4824cb
mov ebp, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push edi
call ebp
push 0x58
push edi
call ebp
cmp eax, 0x60
je 0x48244b
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 0x4824cb
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 0x4824cb
cmp ebx, 0x1f7
jle 0x48249a
add ebx, 0xfffffe09
jmp 0x48249c
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