Function at 0x447890
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3578
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x515e20]
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 eax, dword [0x517280]
imul eax, eax
cdq
mov ecx, 0x15
idiv ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2d8], ebx
mov dword [ebp - 0x2c0], 0
cmp edx, 6
jne 0x4478ec
dec dword [0x518a0c]
lea eax, [ebp - 0x2c0]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x447915
xor al, al
jmp 0x447d43
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x2dc], 0
call fcn.0049f660
add esp, 0xc
lea eax, [ebp - 0x2d0]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 0x2c0]
mov dword [ebp - 0x2d0], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x447d18
mov edi, 0x4d3f3c
shr edi, 0x10
lea ebx, [ebp - 0x218]
mov dword [ebp - 0x2ec], edi
shr ebx, 0x10
lea esi, [eax + 0x12]
lea ecx, [ecx]
mov ecx, dword [0x517280]
mov eax, ecx
imul eax, ecx
cdq
idiv esi
cmp edx, 0xb
jne 0x4479aa
dec ecx
mov dword [0x517280], ecx
mov eax, dword [0x5159f8]
mov ecx, 0x5159f8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 4], 0
test ebx, ebx
jne 0x4479f1
lea eax, [ebp - 0x218]
movzx esi, ax
push ebx
push esi
call fcn.00403010
add esp, 8
test eax, eax
je 0x447a22
push esi
push eax
lea ecx, [ebp - 0x2c8]
call fcn.00406b10
jmp 0x447a22
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447a00
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2c8]
call fcn.00408ed0
mov esi, dword [0x517280]
mov eax, esi
imul eax, esi
cdq
mov ecx, 0x13
idiv ecx
mov dword [ebp - 4], 1
cmp edx, 0xf
jne 0x447a82
xor ecx, ecx
jmp 0x447a50
mov eax, dword [ebp + ecx*4 - 0x2b0]
add eax, dword [ebp + ecx*4 - 0x2b8]
add ecx, 4
add eax, dword [ebp + ecx*4 - 0x2c4]
add eax, dword [ebp + ecx*4 - 0x2cc]
imul eax, eax, 0x75
add esi, eax
cmp ecx, 0xa4
jb 0x447a50
mov dword [0x517280], esi
mov eax, dword [0x5159f8]
mov ecx, 0x5159f8
mov dword [ebp - 0x2d4], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2cc], eax
mov byte [ebp - 4], 2
test edi, edi
jne 0x447acf
mov eax, 0x4d3f3c
movzx esi, ax
push edi
push esi
call fcn.00403010
add esp, 8
test eax, eax
je 0x447ae1
push esi
push eax
lea ecx, [ebp - 0x2cc]
call fcn.00406b10
jmp 0x447ae1
push 0x15
push 0x4d3f3c
lea ecx, [ebp - 0x2cc]
call fcn.00408ed0
mov eax, dword [0x5159f8]
mov ecx, 0x5159f8
mov byte [ebp - 4], 3
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2e0], eax
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x2e4]
push eax
mov byte [ebp - 4], 4
call fcn.0042fa40
lea ecx, [ebp - 0x2cc]
push ecx
push eax
lea eax, [ebp - 0x2e8]
push eax
mov byte [ebp - 4], 5
call fcn.0042fa40
add esp, 0x18
lea ecx, [ebp - 0x2d4]
push ecx
push 0x20019
push 0
push dword [eax]
push VariantInit
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 0x2e8]
add esi, 0xfffffff0
mov edi, eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447b71
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2e4]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x447b95
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2e0]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x447bb9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2cc]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x447bdd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x447c9c
push dword [ebp - 0x2d4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x5159f8]
mov ecx, 0x5159f8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c4], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x218]
test ebx, ebx
jne 0x447c35
movzx esi, ax
push ebx
push esi
call fcn.00403010
add esp, 8
test eax, eax
je 0x447c62
push esi
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00406b10
jmp 0x447c62
lea edx, [eax + 2]
jmp 0x447c40
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x447c40
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00408ed0
mov ecx, dword [ebp - 0x2d8]
lea eax, [ebp - 0x2c4]
push eax
mov byte [ebp - 4], 7
call fcn.00424e60
mov edx, dword [ebp - 0x2c4]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x447c9c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2dc]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x2d0]
push ecx
lea ecx, [ebp - 0x218]
inc eax
push ecx
push eax
push dword [ebp - 0x2c0]
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2d0], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, dword [ebp - 0x2c8]
add esi, 0xfffffff0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447cff
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
mov edi, dword [ebp - 0x2ec]
mov esi, 0x12
je 0x447990
mov ebx, dword [ebp - 0x2d8]
push dword [ebp - 0x2c0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004486e0
test al, al
jne 0x447d33
inc dword [0x518a1c]
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
xor ecx, ecx
sar eax, 2
cmp ecx, eax
sbb eax, eax
neg eax
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.0049e294
mov esp, ebp
pop ebp
ret