Function at 0x464b30
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a116
mov eax, dword fs:[0]
push eax
sub esp, 0x5f0
mov eax, dword [0x604654]
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 ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x5c4], ebx
mov dword [ebp - 0x5b0], edi
nop
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0053c7b0
add esp, 0xc
mov dword [ebp - 0x424], 0x104
lea eax, [ebp - 0x43c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x465480
call fcn.0040c960
mov ecx, eax
test ecx, ecx
je 0x4654af
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5a8], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x464bfe
movzx eax, ax
lea ecx, [ebp - 0x5a8]
push eax
call fcn.00412300
jmp 0x464c29
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464c07
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5a8]
call fcn.0040e8d0
mov edi, dword [ebp - 0x5a8]
mov dword [ebp - 4], 1
mov ebx, dword [edi - 0xc]
mov dword [ebp - 0x5a0], ebx
test ebx, ebx
js 0x4654a5
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x464c6a
push ebx
lea ecx, [ebp - 0x5a8]
call fcn.0040d9d0
mov edi, dword [ebp - 0x5a8]
mov edx, edi
mov eax, edx
lea ecx, [edx + ebx*2]
mov dword [ebp - 0x5ac], ecx
cmp edx, ecx
jae 0x464cc6
mov ebx, ecx
nop dword [eax]
cmp word [edx], 0x2e
lea ecx, [edx + 2]
mov dword [ebp - 0x5a4], ecx
je 0x464cba
lea ebx, [eax + 2]
xor esi, esi
cmp eax, ebx
je 0x464cb4
cmp esi, 1
jae 0x464cae
mov cx, word [edx]
inc esi
mov word [eax], cx
add edx, 2
add eax, 2
cmp eax, ebx
jne 0x464c98
mov ecx, dword [ebp - 0x5a4]
mov ebx, dword [ebp - 0x5ac]
mov edx, ecx
cmp ecx, ebx
jb 0x464c80
mov ebx, dword [ebp - 0x5a0]
sub edx, eax
xor ecx, ecx
sar edx, 1
sub ebx, edx
mov word [eax], cx
js 0x4654a5
cmp ebx, dword [edi - 8]
jg 0x4654a5
xor eax, eax
mov dword [edi - 0xc], ebx
mov word [edi + ebx*2], ax
mov esi, dword [edi - 0xc]
test esi, esi
js 0x4654a5
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x464d17
push esi
lea ecx, [ebp - 0x5a8]
call fcn.0040d9d0
mov edi, dword [ebp - 0x5a8]
lea eax, [esi + 1]
push eax
push edi
call fcn.0054e7c5
lea eax, [edi - 0x10]
add esp, 8
mov dword [ebp - 0x5ac], eax
cmp esi, dword [eax + 8]
jg 0x4654a5
mov ecx, edi
mov dword [eax + 4], esi
xor eax, eax
mov dword [ebp - 0x5c8], 7
mov word [edi + esi*2], ax
mov dword [ebp - 0x5cc], eax
mov word [ebp - 0x5dc], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464d60
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x5dc]
call fcn.00413b10
mov esi, dword [0x60fef8]
mov ebx, esi
mov esi, dword [esi + 4]
cmp byte [esi + 0xd], 0
jne 0x464ddd
nop dword [eax]
lea eax, [ebp - 0x5dc]
mov ecx, 0x60fef8
push eax
lea eax, [esi + 0x10]
push eax
call fcn.0040c2c0
test al, al
je 0x464dae
mov esi, dword [esi + 8]
jmp 0x464db2
mov ebx, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x464d90
mov esi, dword [0x60fef8]
cmp ebx, esi
je 0x464de3
lea eax, [ebx + 0x10]
mov ecx, 0x60fef8
push eax
lea eax, [ebp - 0x5dc]
push eax
call fcn.0040c2c0
test al, al
jne 0x464de3
jmp 0x464de5
mov esi, dword [0x60fef8]
mov ebx, esi
mov edx, dword [ebp - 0x5c8]
cmp ebx, esi
sete bl
cmp edx, 8
jb 0x464e2a
mov ecx, dword [ebp - 0x5dc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x464e20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4654a0
push edx
push ecx
call fcn.004a3dd5
add esp, 8
test bl, bl
je 0x464e6c
mov edi, dword [ebp - 0x5b0]
inc edi
mov dword [ebp - 0x5b0], edi
mov edx, dword [ebp - 0x5ac]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x465452
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x5c4]
jmp 0x464b70
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0053c7b0
xor ebx, ebx
mov dword [ebp - 0x5b4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x5b4], ebx
movq qword [ebp - 0x5bc], xmm0
add esp, 0xc
mov dword [ebp - 0x5bc], ebx
mov dword [ebp - 0x5b8], ebx
lea eax, [ebp - 0x218]
push eax
push str.SOFTWAREClasses
push str._s_s
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.00465cd0
add esp, 0x14
cmp byte [ebp + 0xc], bl
je 0x464f0a
lea eax, [ebp - 0x5a0]
mov dword [ebp - 0x5a0], ebx
push eax
push 0x20119
push ebx
lea eax, [ebp - 0x420]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x464f50
mov dword [ebp - 0x5b8], 0x100
jmp 0x464f42
lea eax, [ebp - 0x5a0]
mov dword [ebp - 0x5a0], 0
push eax
push 0x20219
push 0
lea eax, [ebp - 0x420]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x464f50
mov dword [ebp - 0x5b8], 0x200
mov ebx, dword [ebp - 0x5a0]
xor eax, eax
mov dword [ebp - 0x5bc], ebx
mov byte [ebp - 4], 2
test eax, eax
jne 0x46545d
mov dword [ebp - 0x5a0], eax
lea eax, [ebp - 0x5a0]
push eax
push 0
lea eax, [ebp - 0x428]
push eax
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46528e
mov eax, dword [ebp - 0x428]
cmp eax, 1
je 0x464f99
cmp eax, 2
jne 0x46528e
mov eax, dword [ebp - 0x5a0]
shr eax, 1
mov dword [ebp - 0x5a4], eax
je 0x46528e
mov byte [ebp - 4], 7
call fcn.0040c960
mov ecx, eax
test ecx, ecx
je 0x4654af
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x5a0], esi
mov edx, dword [ebp - 0x5a4]
sub edx, 1
mov byte [ebp - 4], 8
js 0x4654a5
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x465004
push edx
lea ecx, [ebp - 0x5a0]
call fcn.0040d9d0
mov esi, dword [ebp - 0x5a0]
mov eax, dword [ebp - 0x5a4]
add eax, eax
mov dword [ebp - 0x5a4], eax
lea eax, [ebp - 0x5a4]
push eax
push esi
lea eax, [ebp - 0x42c]
push eax
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x465245
mov eax, dword [ebp - 0x42c]
cmp eax, 1
je 0x465048
cmp eax, 2
jne 0x465245
test esi, esi
je 0x465072
mov eax, dword [ebp - 0x5a4]
test eax, eax
je 0x46506d
test al, 1
jne 0x465245
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x465072
jmp 0x465245
xor eax, eax
mov word [esi], ax
cmp dword [esi - 0xc], 0
jge 0x46507d
or eax, 0xffffffff
jmp 0x465098
push str.BiscuitZip
push esi
call fcn.0053b619
add esp, 8
test eax, eax
jne 0x465094
or eax, 0xffffffff
jmp 0x465098
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
mov eax, dword [0x60fb58]
mov dword [ebp - 0x5a4], eax
setne byte [ebp - 0x5c0]
test eax, eax
jne 0x465118
push 0x603080
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x60fb58], 0
jne 0x465102
push 4
call fcn.004a3da5
add esp, 4
mov dword [ebp - 0x5e0], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x4650ec
mov ecx, eax
mov dword [eax], 0
call fcn.00410770
jmp 0x4650ee
xor eax, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x430]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x60fb58], eax
push 0x603080
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x60fb58]
mov dword [ebp - 0x5a4], eax
mov ebx, dword [edi - 0xc]
test ebx, ebx
js 0x4654a5
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x465146
push ebx
lea ecx, [ebp - 0x5a8]
call fcn.0040d9d0
mov edi, dword [ebp - 0x5a8]
lea eax, [ebx + 1]
push eax
push edi
call fcn.0054e7c5
lea eax, [edi - 0x10]
add esp, 8
mov dword [ebp - 0x5ac], eax
cmp ebx, dword [eax + 8]
jg 0x4654a5
mov dword [eax + 4], ebx
xor eax, eax
push 0xb0
push eax
mov word [edi + ebx*2], ax
lea eax, [ebp - 0x4ec]
push eax
call fcn.0053c7b0
add esp, 0xc
lea ecx, [ebp - 0x4ec]
push 1
push 3
call fcn.00462580
push dword [ebp - 0x5c0]
lea ecx, [ebp - 0x4dc]
mov byte [ebp - 4], 0xa
call fcn.004369e0
mov eax, dword [ebp - 0x5a4]
lea ecx, [ebp - 0x4ec]
mov ebx, dword [eax]
lea eax, [ebp - 0x5fc]
push eax
call fcn.00415160
cmp dword [eax + 0x14], 8
jb 0x4651c9
mov eax, dword [eax]
push ebx
push eax
push edi
push str.LinkType
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x5e8]
cmp edx, 8
jb 0x465217
mov ecx, dword [ebp - 0x5fc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46520d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4654a0
push edx
push ecx
call fcn.004a3dd5
add esp, 8
xor eax, eax
mov dword [ebp - 0x5ec], 0
lea ecx, [ebp - 0x4ec]
mov dword [ebp - 0x5e8], 7
mov word [ebp - 0x5fc], ax
call fcn.00411720
mov ebx, dword [ebp - 0x5bc]
mov edi, dword [ebp - 0x5b0]
add esi, 0xfffffff0
inc edi
or eax, 0xffffffff
mov dword [ebp - 0x5b0], edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46526a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x46527f
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x5bc], 0
mov dword [ebp - 0x5b8], 0
jmp 0x464e3b
mov eax, dword [0x60fb58]
mov dword [ebp - 0x5a4], eax
test eax, eax
jne 0x465304
push 0x603080
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x60fb58], 0
jne 0x4652ee
push 4
call fcn.004a3da5
add esp, 4
mov dword [ebp - 0x5e4], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4652d8
mov ecx, eax
mov dword [eax], 0
call fcn.00410770
jmp 0x4652da
xor eax, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x434]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x60fb58], eax
push 0x603080
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x60fb58]
mov dword [ebp - 0x5a4], eax
mov esi, dword [edi - 0xc]
test esi, esi
js 0x4654a5
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x465332
push esi
lea ecx, [ebp - 0x5a8]
call fcn.0040d9d0
mov edi, dword [ebp - 0x5a8]
lea eax, [esi + 1]
push eax
push edi
call fcn.0054e7c5
lea ebx, [edi - 0x10]
add esp, 8
cmp esi, dword [ebx + 8]
jg 0x4654a5
xor eax, eax
mov dword [ebx + 4], esi
push 0xb0
push eax
mov word [edi + esi*2], ax
lea eax, [ebp - 0x59c]
push eax
call fcn.0053c7b0
add esp, 0xc
lea ecx, [ebp - 0x59c]
push 1
push 3
call fcn.00462580
push 0
lea ecx, [ebp - 0x58c]
mov byte [ebp - 4], 6
call fcn.00411350
mov eax, dword [ebp - 0x5a4]
lea ecx, [ebp - 0x59c]
mov esi, dword [eax]
lea eax, [ebp - 0x5dc]
push eax
call fcn.00415160
cmp dword [eax + 0x14], 8
jb 0x4653ab
mov eax, dword [eax]
push esi
push eax
push edi
push str.LinkType
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x5c8]
cmp edx, 8
jb 0x4653f9
mov ecx, dword [ebp - 0x5dc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4653ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4654a0
push edx
push ecx
call fcn.004a3dd5
add esp, 8
lea ecx, [ebp - 0x59c]
call fcn.00411720
mov edi, dword [ebp - 0x5b0]
mov eax, dword [ebp - 0x5bc]
inc edi
mov dword [ebp - 0x5b0], edi
test eax, eax
je 0x46542c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x5bc], 0
mov dword [ebp - 0x5b8], 0
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x465452
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x5c4]
jmp 0x464b70
test ebx, ebx
je 0x465468
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x465480
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
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.004a408b
mov esp, ebp
pop ebp
ret 8
call fcn.0053fae3
push 0x80070057
call fcn.0040c4f0
push 0x80004005
call fcn.0040c4f0
int3