Function at 0x4249b3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x6c
mov eax, 0x43e059
call fcn.00412746
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
cmp dword [eax + 0x18], 8
mov edi, edx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x58], ebx
jb 0x4249dd
mov eax, dword [eax + 4]
jmp 0x4249e0
add eax, 4
lea edx, [ebp - 0x50]
push edx
push 0x101
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x424a09
push 0x44668c
mov esi, edi
call fcn.00401916
mov eax, edi
jmp 0x424c6f
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x424a16
mov eax, dword [edi]
jmp 0x424a18
mov eax, edi
lea ecx, [ebp - 0x58]
push ecx
push ebx
lea ecx, [ebp - 0x5c]
push ecx
push ebx
push eax
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x424a4d
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x4c]
push 0x44668c
call fcn.00401916
mov eax, esi
jmp 0x424c6f
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], cx
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x5c]
cmp ecx, 4
jne 0x424ad9
mov dword [ebp - 0x54], ebx
cmp dword [ebp - 0x58], ecx
jne 0x424abe
cmp dword [esi + 0x18], 8
jb 0x424a77
mov edi, dword [edi]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push edi
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x424abe
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x2c]
call fcn.00423a1f
push 0xffffffffffffffff
lea ecx, [ebp - 0x48]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 1
call fcn.004010d2
push ebx
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0040115a
jmp 0x424c4c
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x4c]
push 0x44668c
call fcn.00401916
jmp 0x424c61
cmp ecx, eax
jne 0x424ba5
mov eax, dword [ebp - 0x58]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00410cae
cmp dword [esi + 0x18], 8
pop ecx
mov dword [ebp - 0x54], eax
jb 0x424b04
mov edi, dword [edi]
lea ecx, [ebp - 0x58]
push ecx
push eax
push ebx
push ebx
push edi
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x424abe
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x54]
jmp 0x424b6a
mov eax, dword [ebp - 0x18]
lea edi, [edi + eax*2 + 2]
push 0x44bdb0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00403c02
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.004028e7
push ebx
push 1
lea esi, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.0040115a
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.004020fc
cmp dword [ebp - 0x18], ebx
jne 0x424b30
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x424b89
dec eax
lea ecx, [ebp - 0x48]
call fcn.00401a23
push dword [ebp - 0x54]
call fcn.00410f30
pop ecx
push ebx
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0040115a
jmp 0x424c4c
cmp ecx, 1
je 0x424bb3
cmp ecx, 2
jne 0x424abe
mov eax, dword [ebp - 0x58]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00410cae
cmp dword [esi + 0x18], 8
pop ecx
mov dword [ebp - 0x54], eax
jb 0x424bd6
mov edi, dword [edi]
lea ecx, [ebp - 0x58]
push ecx
push eax
push ebx
push ebx
push edi
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x424abe
cmp dword [ebp - 0x5c], 2
push dword [ebp - 0x54]
jne 0x424c3a
lea esi, [ebp - 0x2c]
call fcn.00401916
mov edx, esi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call fcn.00423aca
push 0xffffffffffffffff
lea ecx, [ebp - 0x48]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 5
call fcn.004010d2
push ebx
push 1
lea esi, [ebp - 0x78]
call fcn.0040115a
push ebx
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0040115a
jmp 0x424c43
lea eax, [ebp - 0x48]
push eax
call fcn.004020fc
push dword [ebp - 0x54]
call fcn.00410f30
pop ecx
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
push eax
call fcn.004010aa
push ebx
push 1
lea esi, [ebp - 0x48]
call fcn.0040115a
mov eax, dword [ebp - 0x4c]
call fcn.004127c9
ret