Function at 0x48c500
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 0x48c87a
lea esi, [edi + 0x3a0]
lea eax, [edi + 0x428]
push eax
mov ecx, esi
call fcn.0060389e
mov eax, dword [0x6ec7a0]
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 0x6bf9d8
push eax
mov byte [esp + 0x2b], bl
mov dword [esp + 0x30], 4
call ebp
test eax, eax
jne 0x48c567
cmp dword [esp + 0x1c], 1
je 0x48c567
xor bl, bl
mov eax, dword [0x6ec7a0]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push 0
push 0x6bf9c4
push eax
mov dword [esp + 0x30], 4
call ebp
test eax, eax
jne 0x48c59a
cmp dword [esp + 0x1c], 1
je 0x48c59a
mov byte [esp + 0x13], 0
test bl, bl
je 0x48c5b0
lea ecx, [edi + 0x8c8]
push ecx
mov ecx, esi
call fcn.0060389e
mov byte [edi + 0xd], 1
mov edx, dword [edi]
mov eax, dword [edx + 4]
test eax, eax
jne 0x48c5d3
mov al, byte [esp + 0x13]
test al, al
je 0x48c5d3
lea eax, [edi + 0x650]
mov ecx, esi
push eax
call fcn.0060389e
mov byte [edi + 0xe], 1
push 0
mov ecx, esi
call fcn.00603368
mov ecx, dword [edi + 0x10]
push 0x6e0
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x48c608
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 0x48c640
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.005f9e09
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.005f9ec6
mov eax, dword [edi + 0x3bc]
push 0
push 0
push 0x474
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.005f71bf
push 1
push ebp
push ebx
push 0
push 0
mov ecx, eax
call fcn.005f9ec6
push 0
mov ecx, esi
call fcn.0060383e
push 5
mov ecx, esi
call fcn.005f9f56
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.005fd89f
mov ebp, eax
test ebp, ebp
je 0x48c7c9
push 1
push ebp
push esi
call fcn.0048c1a0
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.006037f5
test eax, eax
jle 0x48c7aa
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0060383e
mov ecx, esi
call fcn.006034b2
push 1
push ebp
push eax
call fcn.0048c1a0
mov edx, dword [esp + 0x20]
add esp, 0xc
inc edx
mov ecx, esi
mov dword [esp + 0x14], edx
call fcn.006037f5
cmp dword [esp + 0x14], eax
jl 0x48c775
push 0
mov ecx, esi
call fcn.0060383e
push 5
mov ecx, esi
call fcn.005f9f56
push 0
push 0
push 0
mov ecx, edi
call fcn.0048f090
push 0
mov byte [esp + 0x17], 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x48c87a
mov ebp, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push esi
call ebp
push 0x58
push esi
call ebp
cmp eax, 0x60
je 0x48c7fa
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 0x48c87a
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 0x48c87a
cmp ebx, 0x1f7
jle 0x48c849
add ebx, 0xfffffe09
jmp 0x48c84b
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