Function at 0x4246c0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x825c
call fcn.00439b40
mov eax, dword [0x4713e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x8208], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.Add__s__s
mov edx, dword [0x4740f0]
push edx
call fcn.00417e60
add esp, 0x10
mov eax, dword [ebp + 0xc]
push eax
call fcn.004393f0
add esp, 4
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x821c], eax
mov dword [ebp - 0x820c], 0
mov ecx, 1
test ecx, ecx
je 0x424a33
mov dword [ebp - 0x8254], 0x1ff
mov dword [ebp - 0x8214], 0x7fff
mov edx, dword [ebp - 0x820c]
mov dword [ebp - 0x8244], edx
lea eax, [ebp - 0x8214]
push eax
lea ecx, [ebp - 0x8204]
push ecx
lea edx, [ebp - 0x8210]
push edx
push 0
lea eax, [ebp - 0x8254]
push eax
lea ecx, [ebp - 0x204]
push ecx
mov edx, dword [ebp - 0x8244]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x825c], eax
mov ecx, dword [ebp - 0x820c]
add ecx, 1
mov dword [ebp - 0x820c], ecx
cmp dword [ebp - 0x825c], 0
je 0x4247a2
jmp 0x424a33
cmp dword [ebp - 0x820c], 1
jne 0x4247bc
push str._default_registry__n
mov edx, dword [ebp + 0x14]
push edx
call fcn.0043b3bc
add esp, 8
mov eax, 1
imul ecx, eax, 0x1ff
mov dword [ebp - 0x823c], ecx
cmp dword [ebp - 0x823c], 0x200
jae 0x4247db
jmp 0x4247e0
call fcn.0043920a
mov edx, dword [ebp - 0x823c]
mov byte [ebp + edx - 0x204], 0
mov eax, 1
imul ecx, eax, 0x7fff
mov dword [ebp - 0x8240], ecx
cmp dword [ebp - 0x8240], 0x8000
jae 0x42480d
jmp 0x424812
call fcn.0043920a
mov edx, dword [ebp - 0x8240]
mov byte [ebp + edx - 0x8204], 0
cmp dword [ebp - 0x8210], 2
je 0x42483f
cmp dword [ebp - 0x8210], 1
je 0x42483f
cmp dword [ebp - 0x8210], 7
jne 0x424914
mov eax, dword [ebp - 0x8208]
add eax, 1
mov dword [ebp - 0x8208], eax
mov ecx, dword [ebp - 0x8210]
push ecx
mov edx, dword [ebp - 0x8214]
push edx
lea eax, [ebp - 0x8204]
push eax
call fcn.004245b0
add esp, 0xc
mov dword [ebp - 0x8220], eax
cmp dword [ebp - 0x8210], 2
jne 0x424886
mov dword [ebp - 0x822c], str.expsz
jmp 0x4248d2
cmp dword [ebp - 0x8210], 1
jne 0x42489b
mov dword [ebp - 0x8238], 0x46ac60
jmp 0x4248c6
cmp dword [ebp - 0x8210], 7
jne 0x4248b0
mov dword [ebp - 0x8234], str.multsz
jmp 0x4248ba
mov dword [ebp - 0x8234], 0x46ac6c
mov ecx, dword [ebp - 0x8234]
mov dword [ebp - 0x8238], ecx
mov edx, dword [ebp - 0x8238]
mov dword [ebp - 0x822c], edx
mov eax, dword [ebp - 0x8220]
push eax
lea ecx, [ebp - 0x204]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x822c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._s:_s:_s:_s_s_n
mov edx, dword [ebp + 0x14]
push edx
call fcn.0043b3bc
add esp, 0x1c
mov eax, dword [ebp - 0x8220]
push eax
call fcn.004397f5
add esp, 4
jmp 0x424a2e
cmp dword [ebp - 0x8210], 4
jne 0x424958
mov ecx, dword [ebp - 0x8208]
add ecx, 1
mov dword [ebp - 0x8208], ecx
mov edx, dword [ebp - 0x8204]
push edx
lea eax, [ebp - 0x204]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s:dword:_s:_s_u_n
mov eax, dword [ebp + 0x14]
push eax
call fcn.0043b3bc
add esp, 0x18
jmp 0x424a2e
cmp dword [ebp - 0x8210], 3
jne 0x424a2e
cmp dword [ebp - 0x8214], 0x100
jbe 0x42497d
mov dword [ebp - 0x8224], 0x100
jmp 0x424989
mov ecx, dword [ebp - 0x8214]
mov dword [ebp - 0x8224], ecx
mov edx, dword [ebp - 0x8224]
mov dword [ebp - 0x8258], edx
mov eax, dword [ebp - 0x8208]
add eax, 1
mov dword [ebp - 0x8208], eax
lea ecx, [ebp - 0x204]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str._s:binary:_s:_s
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.0043b3bc
add esp, 0x14
lea edx, [ebp - 0x8204]
mov dword [ebp - 0x8218], edx
mov eax, dword [ebp - 0x8258]
lea ecx, [ebp + eax - 0x8204]
cmp dword [ebp - 0x8218], ecx
jae 0x424a1d
mov edx, dword [ebp - 0x8218]
movzx eax, byte [edx]
mov dword [ebp - 0x8250], eax
mov ecx, dword [ebp - 0x8250]
push ecx
push 0x46acb8
mov edx, dword [ebp + 0x14]
push edx
call fcn.0043b3bc
add esp, 0xc
mov eax, dword [ebp - 0x8218]
add eax, 1
mov dword [ebp - 0x8218], eax
jmp 0x4249d0
push 0x46acc8
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.0043b3bc
add esp, 8
jmp 0x42471c
cmp dword [ebp - 0x820c], 1
jle 0x424a4d
push 0x46accc
mov edx, dword [ebp + 0x14]
push edx
call fcn.0043b3bc
add esp, 8
mov eax, dword [ebp + 0x14]
push eax
call fcn.0043be36
add esp, 4
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x821c]
mov byte [eax + edx], 0x5c
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0x821c]
mov byte [edx + ecx], 0
mov dword [ebp - 0x820c], 0
mov eax, 1
test eax, eax
je 0x424b80
mov ecx, dword [ebp - 0x820c]
mov dword [ebp - 0x8248], ecx
push 0x200
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp - 0x8248]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 0x824c], eax
mov edx, dword [ebp - 0x820c]
add edx, 1
mov dword [ebp - 0x820c], edx
cmp dword [ebp - 0x824c], 0
je 0x424ae0
jmp 0x424b80
mov eax, 1
imul ecx, eax, 0x1ff
mov dword [ebp - 0x8228], ecx
cmp dword [ebp - 0x8228], 0x200
jae 0x424aff
jmp 0x424b04
call fcn.0043920a
mov edx, dword [ebp - 0x8228]
mov byte [ebp + edx - 0x204], 0
lea eax, [ebp - 0x8230]
push eax
lea ecx, [ebp - 0x204]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x424b7b
lea eax, [ebp - 0x204]
push eax
mov ecx, dword [ebp - 0x821c]
add ecx, 1
push ecx
call fcn.004392f0
add esp, 8
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x8230]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004246c0
add esp, 0x10
add eax, dword [ebp - 0x8208]
mov dword [ebp - 0x8208], eax
mov eax, dword [ebp - 0x8230]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x424a87
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x821c]
mov byte [eax + edx], 0x5c
mov eax, dword [ebp - 0x8208]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439b24
mov esp, ebp
pop ebp
ret