Function at 0x468d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b999d
mov eax, dword fs:[0]
push eax
mov eax, 0x1050
call fcn.0057bfb0
mov eax, dword [0x634b28]
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 edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x104c], edi
mov dword [ebp - 0x1044], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1048], eax
lea eax, [ebp - 0x1048]
push eax
push 0x20019
push 0
push 0x5d3984
push SysReAllocString
mov dword [ebp - 0x1044], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 0x1048]
test esi, esi
je 0x4692c4
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0057e5f0
add esp, 0xc
mov dword [ebp - 0x1054], 1
lea eax, [ebp - 0x1050]
mov dword [ebp - 0x1050], 0x800
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x1054]
push eax
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4692b8
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x1028], eax
mov dword [ebp - 0x1018], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468e35
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1028]
call fcn.0040491a
push 0xb
xor eax, eax
mov dword [ebp - 0x1040], 0
push 0x5d39b8
lea ecx, [ebp - 0x1040]
mov dword [ebp - 4], 1
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 7
mov word [ebp - 0x1040], ax
call fcn.0040491a
push 0
lea eax, [ebp - 0x1040]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1028]
push eax
call fcn.00449de0
mov edx, dword [ebp - 0x102c]
add esp, 0xc
mov byte [ebp - 4], 1
mov esi, eax
cmp edx, 8
jb 0x468ef9
mov ecx, dword [ebp - 0x1040]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x468eef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4692e2
push edx
push ecx
call fcn.0057b69e
add esp, 8
cmp esi, 0xffffffff
je 0x46927c
lea ecx, [esi + 0xb]
mov dword [ebp - 0x1040], 0
cmp dword [ebp - 0x1018], ecx
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x1030], 0
cmovb ecx, dword [ebp - 0x1018]
cmp dword [ebp - 0x1014], 8
push ecx
cmovae eax, dword [ebp - 0x1028]
lea ecx, [ebp - 0x1040]
push eax
mov dword [ebp - 0x102c], 7
call fcn.0040491a
mov edx, dword [ebp - 0x1014]
mov dword [ebp - 0x1044], 3
cmp edx, 8
jb 0x468f9b
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x468f91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4692f1
push edx
push ecx
call fcn.0057b69e
add esp, 8
mov eax, dword [ebp - 0x103c]
mov edx, dword [ebp - 0x102c]
cmp edx, 8
mov ecx, dword [ebp - 0x1040]
mov esi, dword [ebp - 0x1030]
mov dword [ebp - 0x1024], eax
mov eax, dword [ebp - 0x1038]
mov dword [ebp - 0x1020], eax
mov eax, dword [ebp - 0x1034]
mov dword [ebp - 0x101c], eax
lea eax, [ebp - 0x1028]
cmovae eax, ecx
mov dword [ebp - 0x1028], ecx
mov dword [ebp - 0x1018], esi
mov dword [ebp - 0x1014], edx
cmp word [eax], 0x22
jne 0x4690d6
mov dword [ebp - 0x1040], 0
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 7
cmp esi, 1
jb 0x4692e7
lea eax, [esi - 1]
cmp eax, esi
cmovb esi, eax
cmp edx, 8
lea eax, [ebp - 0x1028]
cmovae eax, ecx
lea ecx, [ebp - 0x1040]
push esi
add eax, 2
push eax
call fcn.0040491a
mov edx, dword [ebp - 0x1014]
mov dword [ebp - 0x1044], 7
cmp edx, 8
jb 0x46908e
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x469084
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4692f1
push edx
push ecx
call fcn.0057b69e
add esp, 8
mov eax, dword [ebp - 0x1040]
mov esi, dword [ebp - 0x1030]
mov dword [ebp - 0x1028], eax
mov eax, dword [ebp - 0x103c]
mov dword [ebp - 0x1024], eax
mov eax, dword [ebp - 0x1038]
mov dword [ebp - 0x1020], eax
mov eax, dword [ebp - 0x1034]
mov dword [ebp - 0x101c], eax
mov eax, dword [ebp - 0x102c]
mov dword [ebp - 0x1018], esi
mov dword [ebp - 0x1014], eax
cmp dword [ebp - 0x1014], 8
lea ebx, [ebp - 0x1028]
cmovae ebx, dword [ebp - 0x1028]
test esi, esi
je 0x46917c
mov eax, esi
xor edx, edx
mov ecx, ebx
test eax, eax
je 0x469113
cmp word [ebx], 0x7e
je 0x469111
cmp eax, 1
je 0x469113
add ecx, 2
dec eax
cmp word [ecx], 0x7e
jne 0x469102
mov edx, ecx
test edx, edx
je 0x46917c
sub edx, ebx
sar edx, 1
cmp edx, 0xffffffff
je 0x46917c
cmp dword [ebp - 0x1014], 8
lea ecx, [ebp - 0x1010]
push 0x400
lea eax, [ebp - 0x1028]
cmovae eax, dword [ebp - 0x1028]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x469176
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469154
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1028]
call fcn.0040491a
mov esi, dword [ebp - 0x1018]
lea eax, [ebp - 0x1028]
cmp edi, eax
je 0x46927c
cmp dword [ebp - 0x1014], 8
mov ecx, dword [edi + 0x14]
cmovae eax, dword [ebp - 0x1028]
mov dword [ebp - 0x1058], eax
mov dword [ebp - 0x105c], ecx
cmp esi, ecx
ja 0x4691cf
mov ebx, edi
cmp ecx, 8
jb 0x4691b4
mov ebx, dword [edi]
mov dword [edi + 0x10], esi
add esi, esi
push esi
push eax
push ebx
call fcn.0057e070
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
jmp 0x46927c
cmp esi, 0x7ffffffe
ja 0x4692ec
mov ebx, esi
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x4691ef
mov ebx, SysReAllocString
jmp 0x46920d
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x469205
mov ebx, SysReAllocString
jmp 0x46920d
lea eax, [ecx + edx]
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
mov ecx, edi
push eax
call fcn.004048d3
mov dword [edi + 0x10], esi
add esi, esi
push esi
push dword [ebp - 0x1058]
mov dword [edi + 0x14], ebx
mov ebx, eax
push ebx
mov dword [ebp - 0x104c], eax
call fcn.0057e070
xor eax, eax
add esp, 0xc
mov word [ebx + esi], ax
mov eax, dword [ebp - 0x105c]
cmp eax, 8
jb 0x46927a
lea ecx, [eax*2 + 2]
mov eax, dword [edi]
cmp ecx, 0x1000
jb 0x469270
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4692f1
mov eax, edx
push ecx
push eax
call fcn.0057b69e
add esp, 8
mov dword [edi], ebx
mov edx, dword [ebp - 0x1014]
cmp edx, 8
jb 0x4692b8
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4692ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4692f1
push edx
push ecx
call fcn.0057b69e
add esp, 8
push dword [ebp - 0x1048]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
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.0057b6ac
mov esp, ebp
pop ebp
ret
call fcn.00582360
call fcn.004048b9
call fcn.004048ae
call fcn.00582360
int3