Function at 0x425838
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4505ec
call fcn.004419dc
mov eax, 0x10060
call fcn.00442420
push ebx
mov dword [ebp - 0x1c], ecx
push esi
xor ebx, ebx
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], ebx
call fcn.00401000
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.00401000
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00401000
mov esi, str.0123456789ABCDEF
lea edi, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
push 0x45cb90
movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 2
movsb byte es:[edi], byte [esi]
call fcn.00403875
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
push ebx
mov ecx, edi
call fcn.0040530e
mov ecx, eax
call fcn.00403136
sub esp, 0xc
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0040101d
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.0042542f
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x40]
sub esp, 0xc
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.00401079
mov ecx, esi
call fcn.00425514
cmp al, bl
jne 0x4258fd
push ebx
push 2
mov ecx, esi
call fcn.0040cbad
jmp 0x425b80
lea ecx, [ebp - 0x30]
call fcn.00401438
test al, al
jne 0x425928
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryA]
test eax, eax
je 0x425922
push ebx
push 3
jmp 0x4258f1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x50]
or eax, 0x20019
push eax
push ebx
push dword [ebp - 0x4c]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x425960
lea ecx, [ebp - 0x30]
call fcn.00401438
test al, al
jne 0x42595b
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
jmp 0x4258f1
push ebx
lea eax, [ebp - 0x34]
push ebx
push eax
push ebx
push 1
mov ecx, edi
call fcn.0040530e
mov ecx, eax
call fcn.00403136
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push dword [ebp - 0x14]
call esi
test eax, eax
push ebx
je 0x42598f
push 0xffffffffffffffff
jmp 0x425b5c
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
call fcn.0040cbe1
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x10], 0xffff
cmp ecx, ebx
jbe 0x425b59
cmp ecx, 2
jbe 0x425b23
cmp ecx, 3
je 0x425a9e
push 4
pop eax
cmp ecx, eax
je 0x425a5d
cmp ecx, 7
jne 0x425b59
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 0x1006c]
push eax
push ebx
push ebx
push 1
call fcn.0040530e
mov ecx, eax
call fcn.00403136
push eax
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x425b59
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x1006c], bl
cmp byte [ebp + edx - 0x1006d], bl
jne 0x425a14
dec edx
mov dword [ebp - 0x10], edx
cmp edx, ebx
jbe 0x425a49
xor eax, eax
cmp edx, ebx
jbe 0x425a36
cmp byte [ebp + eax - 0x1006c], bl
lea ecx, [ebp + eax - 0x1006c]
jne 0x425a31
mov byte [ecx], 0xa
inc eax
cmp eax, edx
jb 0x425a1e
cmp byte [ebp + eax - 0x1006d], 0xa
lea eax, [ebp + eax - 0x1006d]
jne 0x425a49
mov byte [eax], bl
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x1006c]
push eax
call fcn.00403875
jmp 0x425b64
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push 1
mov ecx, edi
call fcn.0040530e
mov ecx, eax
call fcn.00403136
push eax
push dword [ebp - 0x14]
call esi
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], eax
push ecx
fild qword [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 0xc]
fstp qword [esp]
call fcn.0040385a
jmp 0x425b64
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 0x1006c]
push eax
push ebx
push ebx
push 1
call fcn.0040530e
mov ecx, eax
call fcn.00403136
push eax
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x425b59
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax + 1]
push eax
call fcn.00441226
mov esi, eax
pop ecx
xor edi, edi
xor ecx, ecx
mov byte [esi], bl
cmp dword [ebp - 0x10], ebx
jbe 0x425b0e
movsx eax, byte [ebp + ecx - 0x1006c]
mov edx, eax
shr eax, 4
and edx, 0xf
and eax, 0xf
mov dl, byte [ebp + edx - 0x68]
mov al, byte [ebp + eax - 0x68]
mov byte [edi + esi + 1], dl
mov byte [edi + esi], al
inc edi
inc edi
inc ecx
cmp ecx, dword [ebp - 0x10]
jb 0x425ae4
mov ecx, dword [ebp + 0xc]
push esi
mov byte [edi + esi], bl
call fcn.00403875
push esi
call fcn.004415fb
pop ecx
jmp 0x425b64
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 0x1006c]
push eax
push ebx
push ebx
push 1
call fcn.0040530e
mov ecx, eax
call fcn.00403136
push eax
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x425b59
mov eax, dword [ebp - 0x10]
mov byte [ebp + eax - 0x1006c], bl
jmp 0x425a49
push ebx
push 0xfffffffffffffffe
mov ecx, dword [ebp - 0x1c]
call fcn.0040cbad
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
lea ecx, [ebp - 0x30]
call fcn.00401438
test al, al
jne 0x425b80
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.004415fb
push dword [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.004415fb
push dword [ebp - 0x30]
or dword [ebp - 4], 0xffffffff
call fcn.004415fb
mov ecx, dword [ebp - 0xc]
add esp, 0xc
xor eax, eax
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8