Function at 0x425908
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x42d0b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x210], edi
test edx, edx
jne 0x425ab8
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], ebx
push eax
mov esi, 0x104
push ebx
push edi
mov dword [ebp - 0x218], esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
jne 0x425aa7
push 0x2e
pop eax
cmp word [ebp - 0x20c], ax
je 0x425a74
lea edi, [ebp - 0x20c]
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
cmp ax, bx
jne 0x42597e
sub edi, ecx
sar edi, 1
lea eax, [edi + 0x14]
cmp eax, esi
ja 0x425a6e
mov edx, esi
lea eax, [ebp - 0x20c]
cmp word [eax], bx
je 0x4259ad
add eax, 2
sub edx, 1
jne 0x4259a0
mov eax, esi
mov ecx, edx
sub eax, edx
neg ecx
sbb ecx, ecx
and ecx, eax
test edx, edx
je 0x425a05
mov edx, esi
lea eax, [ebp - 0x20c]
lea eax, [eax + ecx*2]
sub edx, ecx
je 0x4259fd
mov ebx, 0x403c5c
mov ecx, 0x7ffffffe
sub ebx, eax
test ecx, ecx
je 0x4259f1
movzx esi, word [ebx + eax]
test si, si
je 0x4259f1
mov word [eax], si
add eax, 2
dec ecx
sub edx, 1
jne 0x4259d8
mov esi, 0x104
push 0
pop ebx
test edx, edx
jne 0x425a00
sub eax, 2
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
call fcn.00426273
add edi, edi
mov edx, eax
mov dword [ebp - 0x21c], edx
cmp edi, 0x208
jae 0x425aa2
xor eax, eax
mov word [ebp + edi - 0x20c], ax
test edx, edx
je 0x425a67
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x425a3b
sub ecx, edi
sar ecx, 1
je 0x425a67
push edx
lea eax, [ebp - 0x20c]
push eax
push 0x403b6c
call fcn.00409950
mov edx, dword [ebp - 0x21c]
add esp, 0xc
mov ecx, edx
call fcn.0040dc60
mov edi, dword [ebp - 0x210]
cmp dword [0x43159c], 0
jne 0x425aea
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x218]
push ebx
push ebx
push ebx
push ebx
push ecx
lea ecx, [ebp - 0x20c]
inc eax
push ecx
mov dword [ebp - 0x214], eax
push eax
jmp 0x425950
call fcn.00416c98
lea esi, [eax - 0x103]
neg esi
sbb esi, esi
and esi, eax
jmp 0x425c03
cmp word [edx], 0x2e
jne 0x425ad6
push edx
push 1
push 0x400023a5
call fcn.004078e4
add esp, 0xc
push 0x7b
pop eax
jmp 0x425c05
mov ecx, edx
call fcn.0040ab7f
mov ecx, eax
call fcn.0040acb0
mov edi, eax
test edi, edi
jne 0x425af2
xor eax, eax
inc eax
jmp 0x425c05
push 0x20
pop edx
mov ecx, edi
call fcn.004101f5
test eax, eax
je 0x425b05
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x425b0c
sub ecx, edx
mov esi, 0x104
sar ecx, 1
push edi
lea eax, [ecx + 0x14]
cmp eax, esi
jbe 0x425b3f
push 1
push 0x400023db
call fcn.004078e4
add esp, 0xc
push 0x7b
pop esi
jmp 0x425bfc
mov edx, esi
lea ecx, [ebp - 0x20c]
call fcn.0040f3a0
push 0x403c5c
mov edx, esi
lea ecx, [ebp - 0x20c]
call fcn.0040fc40
lea eax, [ebp - 0x224]
push eax
push 0x2000000
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x425b96
push edi
push 1
push 0x400023a5
call fcn.004078e4
add esp, 0xc
jmp 0x425bfc
mov ecx, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
call fcn.00426273
mov edx, eax
mov dword [ebp - 0x214], edx
test edx, edx
je 0x425be1
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x21c], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x425bbe
sub ecx, dword [ebp - 0x21c]
sar ecx, 1
je 0x425be1
push edx
push edi
push 0x403b6c
call fcn.00409950
jmp 0x425bee
push edi
push 1
push 0x400023a5
call fcn.004078e4
mov ecx, dword [ebp - 0x214]
add esp, 0xc
call fcn.0040dc60
mov ecx, edi
call fcn.0040dc60
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416b50
leave
ret