Function at 0x4629b2
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x40
mov eax, 0x4c7742
call fcn.00492516
mov esi, dword [ebp + 0x10c]
xor ebx, ebx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 2
call fcn.004703d0
lea eax, [ebp + 0x110]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.0046298f
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00470710
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00470660
cmp byte [ebp - 0x19], 0xff
lea eax, [ebp - 0x20]
jne 0x462a2e
mov eax, dword [ebp - 0x20]
push eax
call fcn.004944a5
pop ecx
mov dword [0x501af0], eax
cmp eax, ebx
jne 0x462b9e
lea ecx, [ebp - 0x28]
call fcn.004703d0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.004703d0
lea eax, [ebp + 0x118]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.004705c0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.004703e0
cmp byte [ebp - 0xd], 0xff
lea ecx, [ebp - 0x14]
jne 0x462a81
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + eax - 1], 0x5c
je 0x462a95
push 0x4cf9a0
lea ecx, [ebp - 0x14]
call fcn.00470ae0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
mov edi, 0x501af0
push edi
push ecx
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
mov dword [ebp - 0x38], ebx
call fcn.004705c0
call fcn.0040fcc0
add esp, 0x18
cmp eax, ebx
jne 0x462b02
push 0x4cfa1a
mov ecx, esi
call fcn.00470680
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 6
call fcn.00470660
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00470660
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00470660
jmp 0x462bf8
cmp byte [ebp - 0x21], 0xff
mov dword [0x501af0], ebx
lea eax, [ebp - 0x28]
jne 0x462b14
mov eax, dword [ebp - 0x28]
push edi
push 0x20019
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x462b39
push 0x4cfa1a
mov ecx, esi
call fcn.00470680
jmp 0x462ad2
push dword [0x501af0]
lea eax, [ebp - 0x48]
push eax
mov dword [0x501aec], ebx
call fcn.004362ed
push eax
lea eax, [ebp + 0x110]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 8
call fcn.00462960
add esp, 0x14
lea ecx, [ebp - 0x40]
call fcn.00470660
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.00470660
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00470660
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00470660
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00470660
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp]
push eax
push dword [0x501aec]
mov dword [ebp - 0x34], 0xff
push dword [0x501af0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x462bd3
inc dword [0x501aec]
lea eax, [ebp]
push eax
jmp 0x462bea
push dword [0x501af0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x501af0], ebx
push 0x4cfa1a
mov ecx, esi
call fcn.00470680
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00470660
lea ecx, [ebp + 0x110]
mov byte [ebp - 4], 1
call fcn.00470660
lea ecx, [ebp + 0x118]
mov byte [ebp - 4], bl
call fcn.00470660
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.00492093
add ebp, 0x104
leave
ret