Function at 0x48524e
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x144
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc30
push ebx
push esi
push edi
push ebp
push dword [esp + 0x158]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
jne 0x485285
mov eax, 0x12
jmp 0x485d35
mov esi, dword [esp + 0x15c]
xor eax, eax
mov edi, esi
mov ecx, 0x30c
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x100]
cmp eax, 1
je 0x4852b5
cmp eax, 2
je 0x485427
mov eax, 0xe
jmp 0x485d35
xor eax, eax
cmp byte [ebx + 0x181], al
je 0x4852f5
mov ebp, dword [ebx + 0x182]
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll__llseek]
mov edi, 0xc30
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll__lread]
cmp eax, edi
je 0x4853db
push ebp
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, 8
jmp 0x485d35
push 0
push ebx
call sub.MSVCRT.dll__access
add esp, 8
cmp eax, 0xffffffff
jne 0x48530f
mov eax, 0xf
jmp 0x485d35
lea eax, [ebx + 0x196]
lea ecx, [ebx + 0x18a]
push eax
push ecx
push ebx
call fcn.0048991b
add esp, 0xc
push ebx
call fcn.00489910
add esp, 4
mov dword [ebx + 0x186], eax
test al, 6
je 0x485352
push 0
push ebx
call fcn.00489901
add esp, 8
test eax, eax
jne 0x485352
mov eax, 3
jmp 0x485d35
xor edi, edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll__lopen]
cmp eax, 0xffffffff
mov ebp, eax
jne 0x4852ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x4853d1
test byte [ebx + 0x1aa], 0x10
jne 0x4853c7
lea eax, [esp + 0xa0]
push 1
push edi
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x485354
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [esp + 0xa0]
push 1
push edi
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x485392
jmp 0x485354
mov eax, 0x25
jmp 0x485d35
mov eax, 7
jmp 0x485d35
cmp byte [ebx + 0x181], 0
jne 0x485528
push ebp
call dword [sym.imp.KERNEL32.dll__lclose]
test eax, eax
je 0x4853fd
mov eax, 6
jmp 0x485d35
mov eax, dword [ebx + 0x186]
test al, 6
je 0x485528
push eax
push ebx
call fcn.00489901
add esp, 8
test eax, eax
jne 0x485528
mov eax, 3
jmp 0x485d35
xor edi, edi
mov al, byte [edi + ebx]
test al, al
je 0x48544b
movsx eax, al
push eax
inc edi
call sub.MSVCRT.dll_toupper
add esp, 4
add al, 7
cmp edi, 0x32
mov byte [esp + edi + 0xbb], al
jl 0x485429
lea eax, [esp + 0xf0]
push str.softwareclasses_vdsp
mov byte [esp + edi + 0xc0], 0
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
cmp byte [ebx], 0x3a
jne 0x4854a6
xor eax, eax
cmp byte [ebx + 4], 0x3a
je 0x485488
mov cl, byte [eax + ebx + 4]
mov byte [esp + eax + 0xf0], cl
inc eax
cmp byte [eax + ebx + 4], 0x3a
jne 0x485475
mov byte [esp + eax + 0xf0], 0
add eax, ebx
lea ecx, [esp + 0xbc]
add eax, 5
push eax
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0xf0]
push eax
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4854cc
mov eax, 0x2a
jmp 0x485d35
lea eax, [esp + 0x14]
lea ecx, [esp + 0x9c]
push eax
push esi
lea eax, [esp + 0xc4]
push ecx
push 0
push eax
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4854fc
mov eax, 0x2b
jmp 0x485d35
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x485514
mov eax, 0x2c
jmp 0x485d35
cmp dword [esp + 0x14], 0xc30
je 0x485528
mov eax, 0x2d
jmp 0x485d35
xor edx, edx
mov al, byte [edx + esi]
mov edi, esi
sub edi, edx
add edi, 0xc2f
mov cl, byte [edi]
mov byte [edx + esi], cl
add edx, 2
mov byte [edi], al
cmp edx, 0x616
jb 0x48552a
mov eax, 4
movsx ecx, byte [eax + esi]
inc eax
add dword [esp + 0x18], ecx
cmp eax, 0xc30
jb 0x48554e
mov eax, dword [esp + 0x18]
cmp dword [esi], eax
je 0x485570
mov eax, 0x26
jmp 0x485d35
lea edi, [ebx + 0x104]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0x137]
push edi
push ecx
call fcn.004898be
lea eax, [esp + 0x1c]
push eax
push str.38810806
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x4855a8
mov eax, 0xd
jmp 0x485d35
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x3bc]
push eax
push edi
push ecx
call fcn.004898be
lea eax, [esp + 0x1c]
push eax
push str.SAA_482
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x4855da
mov eax, 0xd
jmp 0x485d35
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x41e]
push eax
push edi
push ecx
call fcn.004898be
lea eax, [esp + 0x1c]
push eax
push str.YAP00667
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x48560c
mov eax, 0xd
jmp 0x485d35
lea ebp, [esi + 5]
lea eax, [esp + 0x1c]
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x38]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x6b]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x9e]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0xd1]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
call fcn.0048924c
add esp, 0xc
lea ebp, [esi + 0x104]
lea eax, [esp + 0x1c]
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x141]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x174]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x1a7]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x1da]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x20d]
call fcn.0048924c
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x240]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x273]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x2a6]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x2d9]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x30c]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x33f]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x372]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x3a5]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
add ebx, 0x106
push ebp
call fcn.0048924c
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add esp, 0xc
sub dword [esi + 0x3a8], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3ac], eax
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
sub dword [esi + 0x3b0], ecx
movsx eax, byte [edi]
movsx edx, byte [ebx]
imul eax, edx
sub dword [esi + 0x3b4], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3b8], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3c6], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3ca], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3ce], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3d2], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3d6], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3da], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x3de], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3e2], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3e6], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3ea], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3ee], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3f2], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3f6], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3fa], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x3fe], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x402], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x406], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x40a], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x40e], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x412], eax
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
add dword [esi + 0x416], ecx
movsx eax, byte [edi]
movsx edx, byte [ebx]
imul eax, edx
add dword [esi + 0x41a], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x428], eax
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
add dword [esi + 0x42c], ecx
movsx eax, byte [edi]
movsx edx, byte [ebx]
imul eax, edx
add dword [esi + 0x430], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x434], eax
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
add dword [esi + 0x438], ecx
movsx eax, byte [edi]
movsx edx, byte [ebx]
imul eax, edx
add dword [esi + 0x43c], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x440], eax
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
add dword [esi + 0x444], ecx
movsx eax, byte [edi]
movsx edx, byte [ebx]
imul eax, edx
add dword [esi + 0x448], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x44c], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add dword [esi + 0x450], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
mov ecx, dword [esi + 0x5f8]
add dword [esi + 0x454], eax
mov al, byte [edi]
movsx ebp, byte [ebx]
movsx edx, al
imul edx, ebp
sub ecx, edx
cmp ecx, 1
jne 0x485d23
imul byte [ebx]
sub byte [esi + 0x5f0], al
mov al, byte [edi]
imul byte [ebx]
sub byte [esi + 0x5f1], al
mov al, byte [edi]
imul byte [ebx]
sub byte [esi + 0x5f2], al
mov al, byte [edi]
imul byte [ebx]
sub byte [esi + 0x5f3], al
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
sub dword [esi + 0x5f4], eax
mov eax, dword [esi + 0x5f8]
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
sub eax, ecx
lea ebp, [esi + 0x608]
mov dword [esi + 0x5f8], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
lea ecx, [esp + 0x1c]
sub dword [esi + 0x5fc], eax
push ecx
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
lea ebp, [esi + 0x60e]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
call fcn.0048924c
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add esp, 0xc
lea ebp, [esi + 0x69f]
sub dword [esi + 0x697], eax
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
lea ecx, [esp + 0x1c]
sub dword [esi + 0x69b], eax
push ecx
push edi
push ebp
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
call fcn.0048924c
movsx eax, byte [edi]
movsx ecx, byte [ebx]
imul eax, ecx
add esp, 0xc
sub dword [esi + 0x6a5], eax
movsx ecx, byte [edi]
movsx edx, byte [ebx]
imul ecx, edx
lea ebx, [esi + 0x61d]
lea eax, [esp + 0x1c]
push eax
sub dword [esi + 0x6a9], ecx
push edi
push ebx
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebx
lea ebx, [esi + 0x65a]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebx
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebx
lea ebx, [esi + 0x6ad]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebx
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebx
lea ebx, [esi + 0x6f4]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebx
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebx
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
lea ebx, [esi + 0x726]
push eax
push edi
push ebx
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebx
lea ebx, [esi + 0x776]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebx
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebx
lea ebx, [esi + 0x7da]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebx
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push ebx
lea ebx, [esi + 0x82a]
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push ebx
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
add esi, 0x87a
push ebx
call fcn.0048924c
lea eax, [esp + 0x28]
add esp, 0xc
push eax
push edi
push esi
call fcn.004898be
lea eax, [esp + 0x1c]
push 0
push eax
push esi
call fcn.0048924c
add esp, 0xc
push dword [esp + 0x158]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x144
ret