Function at 0x48fa00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a1dd
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x18], eax
xor esi, esi
mov dword [ebp - 0x48], eax
call fcn.0045abd0
mov ecx, dword [ebp + 0xc]
call fcn.0045abd0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
lea eax, [ebp - 0x54]
mov dword [ebp - 4], esi
push eax
mov ecx, 0x5de840
call fcn.005154d0
test eax, eax
je 0x48ffd0
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 0x48], ebx
test ebx, ebx
jle 0x48ffd0
mov dword [ebp - 0x34], 1
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x48fa95
push 0x80004005
call fcn.0045a8f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
call fcn.005071b0
xor esi, esi
add esp, 4
or ecx, 0xffffffff
mov dword [ebp - 0x24], esi
test ebx, ebx
jle 0x48ffaf
test esi, esi
js 0x48ffff
cmp esi, dword [ebp - 0x50]
jge 0x48ffff
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + esi*4]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x48fa8b
push ecx
push dword [ebp - 0x2c]
call fcn.00526fc5
xor ebx, ebx
add esp, 8
test eax, eax
sete bl
mov dword [ebp - 0x20], ebx
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x48fa8b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
cmp esi, dword [ebp - 0x50]
jge 0x48ffff
mov eax, dword [ebp - 0x54]
push dword [eax + esi*4]
lea eax, [ebp - 0x30]
push dword [0x5d67e8]
push eax
call fcn.0045acb0
add esp, 0xc
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov edi, dword [ebp - 0x30]
lea ecx, [ebp - 0x60]
push 0x20019
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 3
call fcn.0045b220
test eax, eax
jne 0x48fdae
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x48fa8b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], 0x104
jge 0x48fbc2
push 0x104
lea ecx, [ebp - 0x14]
call fcn.0045b530
mov eax, dword [ebp - 0x14]
or dword [ebp - 0x18], 1
lea ecx, [ebp - 0x28]
push ecx
push eax
push dword [0x5d6940]
lea ecx, [ebp - 0x60]
call fcn.0045d730
test eax, eax
jne 0x48fbf5
push 0x57da10
push dword [ebp - 0x14]
call fcn.00526fc5
add esp, 8
mov byte [ebp - 0xd], 1
test eax, eax
je 0x48fbf9
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 4
test al, 1
je 0x48fc3e
and eax, 0xfffffffe
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
push dword [eax - 8]
push eax
call fcn.00526d13
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x48fff5
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax - 8]
jg 0x48fff5
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x14]
mov word [eax + ecx*2], dx
cmp byte [ebp - 0xd], 0
je 0x48fc7e
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x48fc62
test ebx, ebx
jne 0x48fc7e
push 0x580680
call fcn.0045a5f0
mov ecx, dword [ebp + 8]
jmp 0x48fc66
test ebx, ebx
jne 0x48fc7e
cmp esi, dword [ebp - 0x50]
jge 0x48ffff
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + esi*4]
push dword [eax - 0xc]
push eax
call fcn.00472540
lea ecx, [ebp - 0x14]
call fcn.0045abd0
mov eax, dword [ebp - 0x14]
mov edx, 1
mov dword [ebp - 0x28], 0x104
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x48fcb5
push 0x104
lea ecx, [ebp - 0x14]
call fcn.0045b530
mov eax, dword [ebp - 0x14]
or dword [ebp - 0x18], 2
lea ecx, [ebp - 0x28]
push ecx
push eax
push dword [0x5d6918]
lea ecx, [ebp - 0x60]
call fcn.0045d730
test eax, eax
jne 0x48fce8
push 0x57da10
push dword [ebp - 0x14]
call fcn.00526fc5
add esp, 8
mov byte [ebp - 0xd], 1
test eax, eax
je 0x48fcec
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 4
test al, 2
je 0x48fd31
and eax, 0xfffffffd
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
push dword [eax - 8]
push eax
call fcn.00526d13
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x48fff5
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax - 8]
jg 0x48fff5
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x14]
mov word [eax + ecx*2], dx
cmp byte [ebp - 0xd], 0
je 0x48fd71
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x48fd55
test ebx, ebx
jne 0x48fd71
push 0x580680
call fcn.0045a5f0
mov ecx, dword [ebp + 0xc]
jmp 0x48fd59
test ebx, ebx
jne 0x48fd71
cmp esi, dword [ebp - 0x50]
jge 0x48ffff
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + esi*4]
push dword [eax - 0xc]
push eax
call fcn.00472540
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x48fd84
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48fdb1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x48fdb1
mov ebx, dword [ebp - 0x60]
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x48fa8b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 7
cmp esi, dword [ebp - 0x50]
jge 0x48ffff
mov eax, dword [ebp - 0x54]
push dword [eax + esi*4]
lea eax, [ebp - 0x28]
push dword [0x5d67d4]
push 0x57e340
push eax
call fcn.0045acb0
add esp, 0x10
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x6c]
push 0x20019
push esi
push reloc.WS2_32.dll_accept
mov byte [ebp - 4], 8
call fcn.0045b220
test eax, eax
jne 0x48ff2b
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x38], 4
push eax
lea eax, [ebp - 0x3c]
push eax
push 0
push dword [0x5d6924]
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48feae
cmp dword [ebp - 0x3c], 4
jne 0x48feae
cmp dword [ebp - 0x1c], 1
jne 0x48feb4
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x48fe8b
cmp dword [ebp - 0x20], 0
jne 0x48ff2b
push 0x580680
call fcn.0045a5f0
jmp 0x48fe95
cmp dword [ebp - 0x20], 0
jne 0x48ff2b
push dword [ebp - 0x24]
lea ecx, [ebp - 0x54]
call fcn.00524020
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00472540
cmp dword [ebp - 0x1c], 1
je 0x48ff2b
lea eax, [ebp - 0x40]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x40], 4
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push dword [0x5d6930]
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48ff2b
cmp dword [ebp - 0x44], 4
jne 0x48ff2b
cmp dword [ebp - 0x1c], 1
jne 0x48ff2b
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x48ff0c
cmp dword [ebp - 0x20], 0
jne 0x48ff2b
push 0x580680
call fcn.0045a5f0
jmp 0x48ff12
cmp dword [ebp - 0x20], 0
jne 0x48ff2b
push dword [ebp - 0x24]
lea ecx, [ebp - 0x54]
call fcn.00524020
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00472540
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x48ff40
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x6c], 0
add esi, 0xfffffff0
mov dword [ebp - 0x68], 0
mov byte [ebp - 4], 3
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48ff65
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x48ff77
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x60], 0
add edi, 0xfffffff0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 1
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48ff9c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x24]
inc esi
mov dword [ebp - 0x24], esi
cmp esi, dword [ebp - 0x48]
jl 0x48fac0
or ecx, 0xffffffff
mov esi, dword [ebp - 0x2c]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48ffcd
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
call fcn.004cdef0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.0045a8f0
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]