Function at 0x4a18b0
Capabilities:
Hide graphical window
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xe4
push esi
mov esi, ecx
cmp byte [esi + 0xbf8], 0
jne 0x4a2142
push ebx
push ebp
push edi
lea eax, [esi + 0x4d0]
lea ebp, [esi + 0x414]
push eax
mov ecx, ebp
call fcn.0060af44
mov edx, dword [0x75dbe4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x38]
push ecx
push 0
push 0
push str.bHideSLTabOnDwnlDlg
mov ebx, 4
push edx
mov byte [esp + 0x2b], 1
mov byte [esp + 0x2a], 1
mov dword [esp + 0x50], ebx
call edi
test eax, eax
jne 0x4a1921
cmp dword [esp + 0x34], 1
je 0x4a1921
mov byte [esp + 0x13], al
mov edx, dword [0x75dbe4]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x38]
push ecx
push 0
push 0
push str.bHideCTabOnDwnlDlg
push edx
mov dword [esp + 0x50], ebx
call edi
test eax, eax
jne 0x4a1950
cmp dword [esp + 0x34], 1
je 0x4a1950
mov byte [esp + 0x12], al
cmp byte [esp + 0x13], 0
je 0x4a196c
lea eax, [esi + 0x7c0]
push eax
mov ecx, ebp
call fcn.0060af44
mov byte [esi + 0x81], 1
mov ecx, dword [esi + 0x74]
cmp dword [ecx + 4], 0
jne 0x4a1991
cmp byte [esp + 0x12], 0
je 0x4a1991
lea edx, [esi + 0x5f8]
push edx
mov ecx, ebp
call fcn.0060af44
mov byte [esi + 0x82], 1
push 0
mov ecx, ebp
call fcn.00609c53
mov eax, dword [esi + 0x20]
push 0x6e0
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x4a19c6
lea ecx, [esp + 0x24]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4a19fe
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add eax, 0x26
add ecx, 0xf
mov dword [esp + 0x28], eax
add eax, 0xa4
mov dword [esp + 0x24], ecx
add ecx, 0x1f7
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x8c]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [0x75da78], 0
mov eax, dword [0x75da7c]
jne 0x4a1a1f
mov eax, dword [0x75dbb8]
test eax, eax
je 0x4a1a7b
mov eax, dword [esi + 0x3e0]
lea edx, [esp + 0x54]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x7c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x84]
sub eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
push 1
sub eax, 3
sub edx, ecx
push edx
mov dword [esp + 0x64], eax
dec eax
push eax
push ecx
push 1
lea ecx, [esi + 0x3c0]
mov dword [esp + 0x68], 1
call fcn.005f526c
cmp dword [0x75da78], 0
mov eax, dword [0x75da7c]
jne 0x4a1a8e
mov eax, dword [0x75dbb8]
test eax, eax
je 0x4a1a9a
lea eax, [esi + 0x3c0]
jmp 0x4a1aa3
mov eax, dword [esi + 0x20]
push eax
call fcn.005f9031
mov edx, dword [ebp]
push 0x2000000
push 0x50010000
push eax
mov eax, dword [edx + 0x13c]
mov ecx, ebp
call eax
test eax, eax
je 0x4a213f
push 0
push 0x10000
push 0
mov ecx, ebp
call fcn.005f51b5
cmp dword [esi + 0x930], 0
je 0x4a1af6
lea ecx, [esi + 0x928]
push ecx
push 1
push 0
push 0
push 0
push ebp
call fcn.0045b6f0
add esp, 0x18
jmp 0x4a1aff
push ebp
call fcn.0045c110
add esp, 4
cmp dword [0x75dd30], 0
je 0x4a1bd7
mov edx, dword [esi + 0x434]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x474
push edx
call ebx
push eax
call fcn.005f9031
test eax, eax
je 0x4a1bd7
mov eax, dword [esi + 0x434]
mov edi, dword [esi + 0x934]
push 0
push 0
push 0x474
push eax
call ebx
push eax
call fcn.005f9031
mov ebx, eax
push edi
lea eax, [esi + 0x4d0]
push eax
mov ecx, ebp
call fcn.0060a2fa
mov ecx, dword [ebx + 0x20]
push eax
push ecx
call fcn.00516ee0
add esp, 0xc
cmp byte [esp + 0x13], 0
je 0x4a1b9e
mov eax, dword [esi + 0x93c]
push eax
lea edx, [esi + 0x7c0]
push edx
mov ecx, ebp
call fcn.0060a2fa
push eax
mov ecx, ebp
call fcn.004a0a50
mov eax, dword [eax + 0x20]
push eax
call fcn.00516ee0
add esp, 0xc
mov ecx, dword [esi + 0x74]
cmp dword [ecx + 4], 0
jne 0x4a1bd7
cmp byte [esp + 0x12], 0
je 0x4a1bd7
mov eax, dword [esi + 0x938]
push eax
lea edx, [esi + 0x5f8]
push edx
mov ecx, ebp
call fcn.0060a2fa
push eax
mov ecx, ebp
call fcn.004a0a50
mov eax, dword [eax + 0x20]
push eax
call fcn.00516ee0
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0x20]
mov edi, dword [esp + 0x2c]
sub ebx, ecx
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x74]
push ecx
push edx
sub edi, eax
mov dword [esp + 0x7c], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x24], eax
add eax, edi
mov dword [esp + 0x28], ecx
add ecx, ebx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x30], ecx
push eax
lea ecx, [esp + 0xa8]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa4]
push 1
sub edx, eax
push edx
mov edx, dword [esp + 0xb4]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, ebp
call fcn.005f526c
mov eax, dword [esi + 0x434]
push 0
push 0
push 0x474
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.005f9031
test eax, eax
je 0x4a1c90
mov ecx, dword [eax + 0x20]
push 0
push ebx
push edi
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
mov ecx, ebp
call fcn.0060a2ce
push 5
mov ecx, ebp
call fcn.005f52ac
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
push edx
push eax
call dword [sym.imp.USER32.dll_SetCursorPos]
mov edx, dword [esi + 0x5bc]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0xc4]
push ecx
push edx
mov byte [esi + 0xbf8], 1
call ebx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x54]
push eax
push ecx
call ebx
mov edx, dword [esi + 0x20]
push 0x6e0
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4a1cfb
lea ecx, [esp + 0x7c]
push ecx
jmp 0x4a1d06
mov eax, dword [esi + 0x434]
lea edx, [esp + 0x7c]
push edx
push eax
call ebx
push 0
lea ecx, [esp + 0x98]
push ecx
push 0
push 0x30
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x4a1d53
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0xa0]
sub ebp, dword [esp + 0x94]
sub eax, dword [esp + 0x98]
mov dword [esp + 0x40], 1
mov dword [esp + 0x64], eax
jmp 0x4a1d57
mov ebp, dword [esp + 0x64]
cmp dword [esi + 0x930], 0
mov eax, 0x60
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
je 0x4a1d7a
fld qword [esi + 0x928]
jmp 0x4a1d7c
fld1
push 3
fstp qword [esp + 0x48]
lea ecx, [esp + 0x18]
call fcn.0040d050
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
fmul qword [esp + 0x44]
call fcn.006223d0
mov edx, dword [esp + 0xcc]
mov edi, dword [esp + 0x84]
lea ecx, [edx + eax]
cmp ecx, edi
jle 0x4a1e06
lea ecx, [eax + eax]
mov eax, dword [esp + 0x54]
sub ecx, eax
sub ecx, edi
add ecx, dword [esp + 0x5c]
add ecx, edx
cmp dword [esp + 0x40], 0
je 0x4a1dda
cmp ebp, ecx
jle 0x4a1dd8
mov eax, ebp
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
jmp 0x4a1dda
xor eax, eax
movzx edx, byte [esi + 0x80]
mov edi, dword [esp + 0x60]
neg edx
sbb edx, edx
and edx, 0x10
add edx, 0x20
push edx
mov edx, dword [esp + 0x5c]
sub edi, edx
push edi
push ecx
push edx
push eax
mov eax, dword [esi + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi + 0x56c]
lea ecx, [esp + 0xb4]
push ecx
push edx
call ebx
mov ecx, dword [esi + 0xa4]
lea eax, [esp + 0xe4]
push eax
push ecx
call ebx
cmp dword [esi + 0x930], 0
je 0x4a1e39
fld qword [esi + 0x928]
jmp 0x4a1e3b
fld1
push 0xa
fstp qword [esp + 0x48]
lea ecx, [esp + 0x18]
call fcn.0040d050
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
fmul qword [esp + 0x44]
call fcn.006223d0
mov edx, dword [esp + 0xc0]
mov ebp, eax
add edx, ebp
cmp edx, dword [esp + 0x88]
jle 0x4a213f
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x54]
push eax
push ecx
call ebx
mov edi, dword [esp + 0xc0]
sub edi, dword [esp + 0x88]
mov eax, dword [esp + 0x58]
add edi, ebp
mov ecx, edi
sub ecx, eax
add ecx, dword [esp + 0x60]
cmp dword [esp + 0x40], 0
je 0x4a1ebf
mov edx, dword [esi + 0x9bc]
mov eax, dword [esp + 0x64]
lea ebp, [edi + edx]
cmp eax, ebp
jle 0x4a1ebd
sub eax, edi
sub eax, edx
cdq
sub eax, edx
sar eax, 1
jmp 0x4a1ebf
xor eax, eax
movzx edx, byte [esi + 0x80]
neg edx
sbb edx, edx
and edx, 0x10
add edx, 0x20
push edx
mov edx, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x5c]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x20]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
push 0
push 0x499
mov ecx, esi
call fcn.005f5077
push eax
mov ecx, esi
call fcn.004a0ca0
push edi
push 0
lea ecx, [esi + 0x114]
push ecx
mov ecx, esi
call fcn.004a0ca0
push edi
push 0
push 0x519
mov ecx, esi
call fcn.005f5077
push eax
mov ecx, esi
call fcn.004a0ca0
push edi
push 0
lea edx, [esi + 0xc0]
push edx
mov ecx, esi
call fcn.004a0ca0
mov eax, dword [esi + 0x94]
push edi
push 0
push eax
call fcn.005f9031
push eax
mov ecx, esi
call fcn.004a0ca0
mov ecx, dword [esi + 0xa4]
push edi
push 0
push ecx
call fcn.005f9031
push eax
mov ecx, esi
call fcn.004a0ca0
mov edx, dword [esi + 0xb4]
push edi
push 0
push edx
call fcn.005f9031
push eax
mov ecx, esi
call fcn.004a0ca0
cmp dword [0x75da78], 0
mov eax, dword [0x75da7c]
jne 0x4a1f93
mov eax, dword [0x75dbb8]
test eax, eax
je 0x4a1fe1
mov ecx, dword [esi + 0x3e0]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x64]
push edx
push eax
call ebx
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x64]
add dword [esp + 0x20], edi
sub ecx, 3
push 1
lea edx, [esp + 0x18]
mov dword [esp + 0x20], ecx
push edx
lea ecx, [esi + 0x3c0]
mov dword [esp + 0x1c], 1
call fcn.00424470
mov eax, dword [esi + 0x20]
push 0x6e0
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4a20b0
lea ecx, [esp + 0x14]
push ecx
push eax
call ebx
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
lea edx, [esp + 0x64]
sub ebx, eax
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x20]
push edx
sub ebp, ecx
push eax
add ebp, edi
mov dword [esp + 0x70], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], ecx
add ecx, ebp
mov dword [esp + 0x20], ecx
push 1
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], eax
add eax, ebx
push 0x6e0
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.005f5077
mov ecx, eax
call fcn.00424470
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0xd8]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push 1
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esi + 0x414]
call fcn.00424470
lea ecx, [esi + 0x414]
call fcn.004a0a50
test eax, eax
je 0x4a20aa
push 1
push ebp
dec ebx
push ebx
push 0
push 0
mov ecx, eax
call fcn.005f526c
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
push 0
lea ecx, [esi + 0x414]
call fcn.0060a2ce
mov eax, dword [esi + 0x20]
add dword [esi + 0xc08], edi
add dword [esi + 0x9bc], edi
lea edx, [esp + 0x44]
push edx
push eax
call ebx
movzx ecx, byte [esi + 0x80]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
neg ecx
sbb ecx, ecx
and ecx, 0x10
sub edx, eax
add ecx, 0x20
push ecx
mov ecx, dword [esp + 0x48]
dec edx
push edx
mov edx, dword [esp + 0x54]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x20]
push ecx
push 0
push eax
call edi
movzx ecx, byte [esi + 0x80]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
neg ecx
sbb ecx, ecx
and ecx, 0x10
add ecx, 0x20
push ecx
mov ecx, dword [esp + 0x48]
sub edx, eax
push edx
mov edx, dword [esp + 0x54]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x20]
push ecx
push 0
push eax
call edi
pop edi
pop ebp
pop ebx
pop esi
add esp, 0xe4
ret