Function at 0x48be70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc360
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x5a205c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
mov dword [0x5b4244], 0
mov dword [0x5b4254], 0
mov dword [0x5b4258], 0
mov byte [ebp - 4], 0
xor eax, eax
mov dword [0x5b4254], 0
mov dword [0x5b4258], 7
mov word [0x5b4244], ax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x48c230
cmp dword [ebp - 0x814], 0
je 0x48c230
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00498440
add esp, 0xc
mov dword [ebp - 0x818], 0x800
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push 0x20010002
push str.ProgramFilesDir
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x48c230
lea esi, [ebp - 0x810]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x48bf74
sub esi, ecx
mov ecx, dword [0x5b4258]
sar esi, 1
mov dword [ebp - 0x81c], ecx
cmp esi, ecx
ja 0x48bfc6
cmp ecx, 8
mov dword [0x5b4254], esi
mov edi, 0x5b4244
lea eax, [ebp - 0x810]
cmovae edi, dword [0x5b4244]
add esi, esi
push esi
push eax
push edi
call fcn.00497eb0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x48c0ca
cmp esi, 0x7ffffffe
ja 0x48c269
mov ebx, esi
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x48bfeb
mov ebx, 0x7ffffffe
mov eax, 0xfffffffe
jmp 0x48c025
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x48c006
mov ebx, 0x7ffffffe
mov eax, 0xfffffffe
jmp 0x48c025
lea eax, [edx + ecx]
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
cmp eax, 0x7fffffff
ja 0x48c273
add eax, eax
cmp eax, 0x1000
jb 0x48c04c
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x48c273
push ecx
call fcn.004959e3
add esp, 4
test eax, eax
je 0x48c26e
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x48c05f
test eax, eax
je 0x48c05d
push eax
call fcn.004959e3
add esp, 4
mov edi, eax
jmp 0x48c05f
xor edi, edi
mov dword [0x5b4254], esi
lea eax, [ebp - 0x810]
add esi, esi
mov dword [0x5b4258], ebx
push esi
push eax
push edi
call fcn.00497eb0
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
mov eax, dword [ebp - 0x81c]
cmp eax, 8
jb 0x48c0c4
mov ecx, dword [0x5b4244]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48c0ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48c26e
push edx
push ecx
call fcn.00495c64
add esp, 8
mov dword [0x5b4244], edi
mov ebx, dword [0x5b4254]
test ebx, ebx
je 0x48c230
mov ecx, 0x5b4244
call fcn.0048ced0
movzx eax, word [eax]
cmp eax, 0x5c
je 0x48c230
cmp eax, 0x2f
je 0x48c230
mov esi, dword [0x5b4258]
mov dword [ebp - 0x820], esi
cmp ebx, esi
jae 0x48c127
lea eax, [ebx + 1]
cmp esi, 8
mov dword [0x5b4254], eax
mov eax, ecx
cmovae eax, dword [0x5b4244]
mov dword [eax + ebx*2], 0x5c
jmp 0x48c230
mov ecx, 0x7ffffffe
mov eax, ecx
sub eax, ebx
cmp eax, 1
jb 0x48c269
lea edi, [ebx + 1]
or edi, 7
cmp edi, ecx
jbe 0x48c14c
mov edi, ecx
mov eax, 0xfffffffe
jmp 0x48c180
mov eax, esi
shr eax, 1
sub ecx, eax
cmp esi, ecx
jbe 0x48c162
mov edi, 0x7ffffffe
mov eax, 0xfffffffe
jmp 0x48c180
add eax, esi
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x48c273
add eax, eax
cmp eax, 0x1000
jb 0x48c1a7
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x48c273
push ecx
call fcn.004959e3
add esp, 4
test eax, eax
je 0x48c26e
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x48c1ba
test eax, eax
je 0x48c1b8
push eax
call fcn.004959e3
add esp, 4
mov esi, eax
jmp 0x48c1ba
xor esi, esi
lea eax, [ebx + 1]
mov dword [0x5b4258], edi
lea edi, [ebx + ebx]
mov dword [0x5b4254], eax
mov ebx, dword [ebp - 0x820]
mov dword [ebp - 0x81c], edi
cmp ebx, 8
jb 0x48c251
push dword [ebp - 0x81c]
mov edi, dword [0x5b4244]
push edi
push esi
call fcn.00497eb0
mov eax, dword [ebp - 0x81c]
lea ebx, [ebx*2 + 2]
add esp, 0xc
mov dword [eax + esi], 0x5c
cmp ebx, 0x1000
jb 0x48c220
mov ecx, dword [edi - 4]
add ebx, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x48c26e
mov edi, ecx
push ebx
push edi
call fcn.00495c64
add esp, 8
mov dword [0x5b4244], esi
mov eax, 0x5b4244
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004959d0
mov esp, ebp
pop ebp
ret
push edi
push 0x5b4244
push esi
call fcn.00497eb0
add esp, 0xc
mov dword [edi + esi], 0x5c
jmp 0x48c22a
call fcn.004017df
call fcn.0049ed71
call fcn.00401759
int3