Function at 0x48f9e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x635829
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x6cd400]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [case.0x79a990.0]
test al, 1
jne 0x48fa61
or eax, 1
mov dword [case.0x79a990.0], eax
mov dword [esp + 0xa0], 0
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov dword [esp + 0xa0], 0xffffffff
mov eax, dword [0x6d66e8]
push 0x68d10c
push 0x6d66e8
call dword [eax + 0x10]
add esp, 8
xor eax, eax
push 0x42
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
push 0x68cfe8
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
call fcn.00403c30
mov dword [esp + 0xa0], 1
push 0xb
xor eax, eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
push 0x67c208
lea ecx, [esp + 0x68]
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
call fcn.00403c30
mov byte [esp + 0xa0], 2
cmp dword [esp + 0x5c], 8
lea ecx, [esp + 0x40]
push ecx
push 1
lea eax, [esp + 0x50]
cmovae eax, dword [esp + 0x50]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x48fb2f
push dword [esp + 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x48fd1c
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0
push 0x67c208
push dword [esp + 0x54]
mov dword [esp + 0x5c], 0
call esi
test eax, eax
je 0x48fb68
push dword [esp + 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x48fd1c
mov eax, dword [esp + 0x44]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c56b9
add esp, 4
mov edi, eax
lea eax, [esp + 0x44]
push eax
push edi
push 0
push 0
push 0x67c208
push dword [esp + 0x54]
call esi
push dword [esp + 0x40]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
test esi, esi
je 0x48fbbc
call fcn.004c56c2
add esp, 4
xor bl, bl
jmp 0x48fd1c
lea ecx, [esp + 0x7c]
call fcn.004035b0
mov byte [esp + 0xa0], 3
push edi
call fcn.004c56c2
mov eax, dword [ebx]
add esp, 4
cmp dword [esp + 0x8c], 8
lea ecx, [esp + 0x78]
cmovae ecx, dword [esp + 0x78]
push ecx
push 0x68d070
push ebx
call dword [eax + 0x14]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
add esp, 0xc
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0xa0], 4
push 0x676964
lea ecx, [esp + 0x2c]
call fcn.004035b0
mov byte [esp + 0xa0], 5
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
call fcn.00466880
mov byte [esp + 0xa0], 4
cmp dword [esp + 0x3c], 8
jb 0x48fc7d
push dword [esp + 0x28]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov word [esp + 0x28], ax
sub esp, 0xc
lea eax, [esp + 0x2c]
push eax
push ecx
lea eax, [esp + 0x38]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x90]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
call fcn.004a4a30
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
push 0x68d1bc
push eax
call dword [ecx + 0x10]
add esp, 0x20
mov bl, 1
mov byte [esp + 0xa0], 3
lea ecx, [esp + 0x14]
call fcn.0042a050
mov byte [esp + 0xa0], 2
cmp dword [esp + 0x8c], 8
jb 0x48fcff
push dword [esp + 0x78]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], 0
mov word [esp + 0x78], ax
mov byte [esp + 0xa0], 1
cmp dword [esp + 0x74], 8
jb 0x48fd37
push dword [esp + 0x60]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 0
mov word [esp + 0x60], ax
mov dword [esp + 0xa0], 0xffffffff
cmp dword [esp + 0x5c], 8
jb 0x48fd6c
push dword [esp + 0x48]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov word [esp + 0x48], ax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov al, bl
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret