Function at 0x42f3d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bde7d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4f4164]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x34]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x18]
push edx
push 0
push 0
push 2
push ecx
push eax
push dword [ebx]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x44], edi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x42f441
mov dword [edi], eax
xor ecx, ecx
mov dword [edi + 4], 0x4f5d44
mov eax, dword [edi + 4]
jmp 0x42f456
mov ecx, dword [ebp - 0x34]
mov eax, 0x4f5d38
mov dword [edi], 0
mov dword [edi + 4], 0x4f5d38
mov eax, dword [eax + 4]
cmp eax, dword [0x4f5d3c]
jne 0x42f698
cmp dword [edi], 0
jne 0x42f698
xor eax, eax
test ecx, ecx
je 0x42f69a
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
shr ecx, 1
mov dword [ebp - 4], eax
mov byte [ebp - 4], 1
jne 0x42f49e
mov dword [ebp - 0x1c], ecx
mov word [ebp + ecx*2 - 0x2c], ax
jmp 0x42f4ac
push 0
push ecx
lea ecx, [ebp - 0x2c]
lfence
call fcn.0040f760
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push edi
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
add eax, eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
push 2
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push ebx
call fcn.0042f8d0
mov ecx, dword [edi + 4]
add esp, 0x18
mov edx, eax
mov ecx, dword [ecx + 4]
cmp ecx, dword [0x4f5d3c]
jne 0x42f5dc
cmp dword [edi], 0
jne 0x42f5dc
mov eax, dword [ebp - 0x1c]
shr edx, 1
dec edx
cmp edx, eax
ja 0x42f515
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [eax + edx*2], cx
jmp 0x42f525
push 0
sub edx, eax
lea ecx, [ebp - 0x2c]
push edx
lfence
call fcn.0040f760
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x42f58e
mov edi, dword [ebp - 0x1c]
cmp edi, 8
jae 0x42f53f
lea ecx, [ebp - 0x2c]
call fcn.0040f700
jmp 0x42f58e
or edi, 7
mov ecx, SysReAllocString
cmp edi, ecx
cmova edi, ecx
cmp edi, eax
jae 0x42f58e
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x2c]
lfence
call fcn.00403d40
mov ecx, dword [ebp - 0x1c]
mov ebx, eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x2c]
push ebx
call fcn.00495210
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
add esp, 0xc
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.00403a30
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00403780
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x42f6b1
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f5cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f6d4
push edx
push ecx
call fcn.00450975
add esp, 8
jmp 0x42f6b1
mov edx, dword [ebp - 0x18]
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
cmp edx, 8
jb 0x42f6b1
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f5cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f6cf
jmp 0x42f5cd
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00450df0
mov esp, ebp
pop ebp
ret
call fcn.004984ff
call fcn.004984ff
int3