Function at 0x464600
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x57fa43
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x5ecfcc]
xor eax, esp
mov dword [esp + 0x43c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x454]
mov dword fs:[0], eax
mov edi, dword [esp + 0x464]
mov eax, dword [esp + 0x46c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x45c], 1
test eax, eax
je 0x46469d
mov ebx, dword [ecx + 0x18]
mov ebp, dword [ecx]
lea edx, [esp + 0x470]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.00463c60
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x46468a
cmp eax, ebp
je 0x46468f
call fcn.0055a9e3
cmp dword [esi + 4], ebx
sete al
test al, al
je 0x464a74
mov dword [esp + 0x28], 0
call fcn.005322b0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4646bf
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x468]
add eax, 0xfffffff0
push eax
mov byte [esp + 0x460], 2
call fcn.00402a50
lea ebx, [eax + 0x10]
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x474]
add eax, 0xfffffff0
push eax
mov byte [esp + 0x464], 3
call fcn.00402a50
lea esi, [eax + 0x10]
add esp, 8
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x468]
lea ecx, [esp + 0x24]
push ecx
push 8
push 0
push edx
push edi
mov byte [esp + 0x470], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x464784
lea eax, [esi - 0x10]
mov byte [esp + 0x45c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464758
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x45c], 2
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46477c
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
lea eax, [ebp - 0x10]
jmp 0x464a53
mov edx, dword [esp + 0x24]
push 0x400
lea ecx, [esp + 0x54]
push ecx
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
je 0x4649f5
cmp eax, 6
je 0x4649f5
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
push 0x58c830
push ecx
call fcn.00407040
mov edx, dword [esp + 0x24]
add esp, 0xc
cmp dword [edx - 0xc], 0
jne 0x4647e6
lea eax, [esp + 0x470]
push eax
lea ecx, [esp + 0x18]
call fcn.00403590
jmp 0x464912
push 0x588148
lea ecx, [esp + 0x474]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.00403710
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x474], 5
call fcn.00403650
add esp, 0x18
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x460], 6
call fcn.00403590
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x45c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464852
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x45c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46487a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x588148
lea ecx, [esp + 0x46c]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00403710
lea ecx, [esp + 0x5c]
push ecx
push eax
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x474], 7
call fcn.00403710
add esp, 0x18
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x460], 8
call fcn.00403590
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x45c], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4648e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x45c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46490e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x40], esp
mov edi, esp
push esi
call fcn.00402a50
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov ecx, dword [esp + 0x34]
push ecx
push ecx
lea edi, [ebx - 0x10]
mov dword [esp + 0x54], esp
mov ebp, esp
push edi
mov byte [esp + 0x46c], 9
call fcn.00402a50
mov edx, dword [esp + 0x30]
add eax, 0x10
mov dword [ebp], eax
mov ebp, dword [esp + 0x3c]
add esp, 4
push edx
mov ecx, ebp
mov byte [esp + 0x46c], 4
call fcn.004641c0
mov eax, dword [esp + 0x20]
push ebx
push eax
mov ecx, ebp
call fcn.00463ab0
test eax, eax
je 0x4649cb
push ecx
mov dword [esp + 0x4c], esp
mov ebp, esp
push esi
call fcn.00402a50
add eax, 0x10
add esp, 4
mov dword [ebp], eax
mov ecx, dword [esp + 0x34]
push ecx
push ecx
mov dword [esp + 0x48], esp
mov esi, esp
push edi
mov byte [esp + 0x46c], 0xa
call fcn.00402a50
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
add esp, 4
add eax, 0x10
mov dword [esi], eax
push edx
mov byte [esp + 0x46c], 4
call fcn.00464600
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 0x400
lea ecx, [esp + 0x54]
inc eax
push ecx
push eax
push edx
mov dword [esp + 0x38], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
jne 0x4647a6
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x45c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464a28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x45c], 2
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464a4c
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x45c], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464a74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x468]
add eax, 0xfffffff0
mov byte [esp + 0x45c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464a9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x470]
add eax, 0xfffffff0
mov dword [esp + 0x45c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464acd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x454]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.0055953b
add esp, 0x44c
ret 0x10