Function at 0x4a6cf0
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x1148
call fcn.005e00d0
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x1144], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1158]
push edi
lea eax, [esp + 0x18]
push eax
xor ebx, ebx
push 0x20019
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], ebx
xor ebp, ebp
mov dword [esp + 0x2c], ebx
call fcn.004dc0a0
add esp, 0x14
test eax, eax
jne 0x4a6fcd
push 0x3ff
lea ecx, [esp + 0x949]
push ebx
push ecx
mov byte [esp + 0x950], bl
call fcn.005dfd60
push 0x40f
lea edx, [esp + 0x135]
push ebx
push edx
mov byte [esp + 0x13c], bl
call fcn.005dfd60
push 0x40f
lea eax, [esp + 0x551]
push ebx
push eax
mov byte [esp + 0x558], bl
call fcn.005dfd60
push 0x103
lea ecx, [esp + 0x49]
push ebx
push ecx
mov byte [esp + 0x50], bl
call fcn.005dfd60
mov eax, dword [esp + 0x48]
add esp, 0x30
push 0x400
lea edx, [esp + 0x948]
push edx
push ebx
push eax
mov dword [esp + 0x24], 0x410
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x4a6fd5
jmp 0x4a6de4
mov esi, dword [esp + 0x1c]
cmp byte [esp + 0x944], bl
je 0x4a6fd5
lea ecx, [esp + 0x944]
push ecx
push esi
lea edx, [esp + 0x12c]
push 0x612438
push edx
call fcn.005dfb23
add esp, 0x10
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x538]
push ecx
push str.BackupLocation
lea edx, [esp + 0x130]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d5770
cmp al, 1
jne 0x4a6efd
cmp byte [esp + 0x534], bl
je 0x4a6efd
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x63f00c
lea edx, [esp + 0x130]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 0x104
call fcn.004d5770
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x53c]
push ecx
call fcn.004f5880
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x124]
inc eax
cmp cl, bl
jne 0x4a6e90
push ebx
lea edx, [esp + 0x128]
push str.FBackup_
push edx
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
je 0x4a6efd
lea esi, [esp + eax + 0x124]
cmp esi, ebx
je 0x4a6efd
push str.FBackUp_
call fcn.004dd6c0
push ebx
push ebx
push ebx
add esi, eax
lea eax, [esp + 0x544]
push eax
push 4
mov edi, 1
push edi
push esi
push 0x7431c8
call fcn.004f7420
add dword [0x743d78], edi
add esp, 0x24
add ebp, edi
add dword [esp + 0x10], edi
jmp 0x4a6f3b
lea ecx, [esp + 0x124]
push ecx
call fcn.004a6cf0
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x4a6f30
push ebx
push ebx
lea edx, [esp + 0x12c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004e9480
cmp eax, 1
jne 0x4a6f32
mov edi, eax
jmp 0x4a6f32
jl 0x4a6f3a
add dword [esp + 0x10], esi
cmp edi, ebx
jne 0x4a6f3b
inc ebp
push 0x3ff
lea eax, [esp + 0x949]
push ebx
push eax
mov byte [esp + 0x950], bl
call fcn.005dfd60
push 0x40f
lea ecx, [esp + 0x135]
push ebx
push ecx
mov byte [esp + 0x13c], bl
call fcn.005dfd60
push 0x40f
lea edx, [esp + 0x551]
push ebx
push edx
mov byte [esp + 0x558], bl
call fcn.005dfd60
push 0x103
lea eax, [esp + 0x49]
push ebx
push eax
mov byte [esp + 0x50], bl
call fcn.005dfd60
mov edx, dword [esp + 0x48]
add esp, 0x30
push 0x400
lea ecx, [esp + 0x948]
push ecx
push ebp
push edx
mov dword [esp + 0x24], 0x410
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x4a6de0
jmp 0x4a6fd5
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
cmp eax, ebx
pop ebx
je 0x4a6fe8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1144]
mov eax, dword [esp]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x1148
ret