Function at 0x48e9c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d5f1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
xor eax, eax
mov dword [ebp - 0x20], 0
cmp dword [edi + 0xe0], eax
sete al
mov dword [0x61b448], eax
mov eax, dword [edi + 0x20]
mov dword [0x61b44c], eax
mov eax, dword [edi + 0xb0]
sub eax, 0x10
push eax
call fcn.00425f70
add esp, 4
mov dword [ebp - 0x20], 1
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x629a0c
call fcn.00427100
or ebx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48ea61
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 1
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x48eccf
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x20], 3
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
push dword [0x61b7f0]
mov dword [ebp - 0x10], 0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], 0
test eax, eax
je 0x48eb6c
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x24]
push ecx
push 0
push str.Version
push eax
call edi
mov eax, dword [ebp - 0x24]
cmp eax, 1
je 0x48eae6
cmp eax, 2
jne 0x48eb66
lea ecx, [ebp - 0x14]
call fcn.00426010
mov edx, dword [ebp - 0x18]
shr edx, 1
add edx, 1
js 0x48ecd9
mov esi, dword [ebp - 0x14]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x48eb1c
push edx
lea ecx, [ebp - 0x14]
call fcn.00426250
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push 0
push str.Version
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x48eb66
mov eax, dword [ebp - 0x18]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.0054b2c2
add esp, 8
test eax, eax
js 0x48ecd9
cmp eax, dword [esi - 8]
jg 0x48ecd9
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
test eax, eax
je 0x48eb7b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
mov ecx, 0x6299c8
call fcn.00427100
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48ebae
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [edi + 0x10]
mov ecx, 0x6299c4
push eax
call fcn.00427100
mov edi, dword [0x6299c4]
xor esi, esi
movzx eax, word [edi]
test ax, ax
je 0x48ec14
mov ecx, eax
mov edi, edi
push ecx
push 0x5b8b44
call fcn.005421e3
add esp, 8
test eax, eax
je 0x48ebed
test esi, esi
mov eax, edi
cmovne eax, esi
mov esi, eax
jmp 0x48ebef
xor esi, esi
movzx eax, word [edi + 2]
add edi, 2
mov ecx, eax
test ax, ax
jne 0x48ebd0
test esi, esi
je 0x48ec14
sub esi, dword [0x6299c4]
mov ecx, 0x6299c4
sar esi, 1
push esi
call fcn.0046c120
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
push eax
call fcn.00485d10
push eax
mov ecx, 0x6299dc
mov dword [ebp - 4], 3
call fcn.00427100
mov edx, dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x48ec51
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [0x6299dc]
xor esi, esi
movzx eax, word [edi]
test ax, ax
je 0x48eca7
mov ecx, eax
push ecx
push 0x5b8b44
call fcn.005421e3
add esp, 8
test eax, eax
je 0x48ec80
test esi, esi
mov eax, edi
cmovne eax, esi
mov esi, eax
jmp 0x48ec82
xor esi, esi
movzx eax, word [edi + 2]
add edi, 2
mov ecx, eax
test ax, ax
jne 0x48ec63
test esi, esi
je 0x48eca7
sub esi, dword [0x6299dc]
mov ecx, 0x6299dc
sar esi, 1
push esi
call fcn.0046c120
push 0
push 0x5b0144
mov ecx, 0x6299d8
call fcn.004263f0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
push 0x80070057
call fcn.00425f50
int3