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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0xa00]
test al, al
jne 0x49c602
lea eax, [esi + 0x3a0]
lea edi, [esi + 0x318]
push eax
mov ecx, edi
call fcn.0062f5f4
mov edx, dword [0x6fcafc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push 0
mov ebp, 4
push str.bHideSLTabOnDwnlDlg
push edx
mov byte [esp + 0x2a], 1
mov byte [esp + 0x2b], 1
mov dword [esp + 0x30], ebp
call ebx
test eax, eax
jne 0x49c1d0
cmp dword [esp + 0x1c], 1
je 0x49c1d0
mov byte [esp + 0x12], 0
mov edx, dword [0x6fcafc]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push 0
push str.bHideCTabOnDwnlDlg
push edx
mov dword [esp + 0x30], ebp
call ebx
test eax, eax
jne 0x49c200
cmp dword [esp + 0x1c], 1
je 0x49c200
mov byte [esp + 0x13], 0
mov al, byte [esp + 0x12]
test al, al
je 0x49c21a
lea eax, [esi + 0x610]
mov ecx, edi
push eax
call fcn.0062f5f4
mov byte [esi + 0xd], 1
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x49c23d
mov al, byte [esp + 0x13]
test al, al
je 0x49c23d
lea edx, [esi + 0x4c0]
mov ecx, edi
push edx
call fcn.0062f5f4
mov byte [esi + 0xe], 1
push 0
mov ecx, edi
call fcn.0062f0be
mov eax, dword [esi + 0x10]
push 0x6e0
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x49c272
lea ecx, [esp + 0x34]
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x49c2aa
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
add eax, 0x26
add ecx, 0xf
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
add eax, 0xa4
add ecx, 0x1f7
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x10]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1482
push edx
call ebp
push 0
push 0x10000
push 0
mov ecx, edi
call fcn.006233ad
mov eax, dword [0x6fca98]
test eax, eax
je 0x49c3c0
mov eax, dword [esi + 0x334]
mov ebx, dword [esi + 0x750]
push 0
push 0
push 0x474
push eax
call ebp
push eax
call fcn.00623b6b
mov dword [esp + 0x14], eax
lea eax, [esi + 0x3a0]
push ebx
push eax
mov ecx, edi
call fcn.0062f5c1
mov ecx, dword [esp + 0x18]
push eax
mov edx, dword [ecx + 0x1c]
push edx
call fcn.0051ebd0
mov al, byte [esp + 0x1e]
add esp, 0xc
test al, al
je 0x49c373
mov eax, dword [esi + 0x334]
mov ebx, dword [esi + 0x758]
push 0
push 0
push 0x474
push eax
call ebp
push eax
call fcn.00623b6b
lea ecx, [esi + 0x610]
push ebx
push ecx
mov ecx, edi
mov dword [esp + 0x1c], eax
call fcn.0062f5c1
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx + 0x1c]
push eax
call fcn.0051ebd0
add esp, 0xc
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x49c3c0
mov al, byte [esp + 0x13]
test al, al
je 0x49c3c0
mov edx, dword [esi + 0x334]
mov ebx, dword [esi + 0x754]
push 0
push 0
push 0x474
push edx
call ebp
push eax
call fcn.00623b6b
mov ebp, eax
lea eax, [esi + 0x4c0]
push ebx
push eax
mov ecx, edi
call fcn.0062f5c1
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
call fcn.0051ebd0
add esp, 0xc
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
sub ebx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x24]
push edx
push eax
sub ebp, ecx
mov dword [esp + 0x30], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], ecx
add ecx, ebp
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
lea edx, [esp + 0x44]
add eax, ebx
push ecx
push edx
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub ecx, eax
push 1
push ecx
mov ecx, dword [esp + 0x4c]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, edi
call fcn.0062344f
mov eax, dword [esi + 0x334]
push 0
push 0
push 0x474
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.00623b6b
push 1
push ebp
push ebx
push 0
push 0
mov ecx, eax
call fcn.0062344f
push 0
mov ecx, edi
call fcn.0062f594
push 5
mov ecx, edi
call fcn.006234df
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetCursorPos]
mov byte [esi + 0xa00], 1
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
push eax
call fcn.0062325c
mov ecx, dword [eax + 0x1c]
push 0
push 0
push 0x31
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.006296f3
mov ebp, eax
test ebp, ebp
je 0x49c551
push 1
push ebp
push edi
call fcn.0049be10
add esp, 0xc
mov ecx, edi
mov dword [esp + 0x14], 0
call fcn.0062f54b
test eax, eax
jle 0x49c51a
mov edx, dword [esp + 0x14]
mov ecx, edi
push edx
call fcn.0062f594
mov ecx, edi
call fcn.0062f208
push 1
push ebp
push eax
mov dword [esp + 0x2c], eax
call fcn.0049be10
mov eax, dword [esp + 0x2c]
push eax
call fcn.0045c340
mov edx, dword [esp + 0x24]
add esp, 0x10
inc edx
mov ecx, edi
mov dword [esp + 0x14], edx
call fcn.0062f54b
cmp dword [esp + 0x14], eax
jl 0x49c4d7
mov ecx, dword [esi + 0x10]
push ecx
call fcn.00623b6b
push eax
call fcn.0045c340
push edi
call fcn.0045c340
add esp, 8
mov ecx, edi
push 0
call fcn.0062f594
push 5
mov ecx, edi
call fcn.006234df
push 0
push 0
push 0
mov ecx, esi
call fcn.0049f350
push 0
mov byte [esp + 0x17], 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x49c602
mov ebp, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push edi
call ebp
push 0x58
push edi
call ebp
cmp eax, 0x60
je 0x49c582
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 0x49c602
mov eax, dword [esi + 0x490]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x64]
push edx
push eax
call edi
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x54]
push ecx
push edx
call edi
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x5c]
add eax, 0xa
cmp eax, edx
jle 0x49c602
cmp ebx, 0x1f7
jle 0x49c5d1
add ebx, 0xfffffe09
jmp 0x49c5d3
xor ebx, ebx
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x58]
sub ecx, eax
push 0x20
push ecx
mov ecx, dword [esp + 0x5c]
mov edi, ebx
sub edi, ecx
add edi, edx
push edi
push eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esi + 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, 0x64
ret