Function at 0x424cf0
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x42d0b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x210], ebx
push esi
push edi
test edx, edx
jne 0x424ec8
xor esi, esi
mov dword [ebp - 0x218], 0x104
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x218]
mov dword [ebp - 0x214], esi
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
jne 0x424ea8
lea esp, [esp]
cmp word [ebp - 0x20c], 0x2e
je 0x424e68
lea esi, [ebp - 0x20c]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x424d67
sub esi, ecx
sar esi, 1
lea eax, [esi + 0x14]
cmp eax, 0x104
ja 0x424e62
mov edx, 0x104
lea eax, [ebp - 0x20c]
nop
cmp word [eax], 0
je 0x424d9e
add eax, 2
sub edx, 1
jne 0x424d90
mov eax, 0x104
mov ecx, edx
sub eax, edx
neg ecx
sbb ecx, ecx
and ecx, eax
test edx, edx
je 0x424e05
mov edx, 0x104
lea eax, [ebp - 0x20c]
lea eax, [eax + ecx*2]
sub edx, ecx
je 0x424df5
mov ebx, 0x403a1c
mov ecx, 0x7ffffffe
sub ebx, eax
nop
test ecx, ecx
je 0x424deb
movzx edi, word [ebx + eax]
test di, di
je 0x424deb
mov word [eax], di
dec ecx
add eax, 2
sub edx, 1
jne 0x424dd0
jmp 0x424def
test edx, edx
jne 0x424dfa
mov ebx, dword [ebp - 0x210]
sub eax, 2
jmp 0x424e00
mov ebx, dword [ebp - 0x210]
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x20c]
mov ecx, ebx
call fcn.00425662
add esi, esi
mov edi, eax
cmp esi, 0x208
jae 0x424eb9
xor eax, eax
mov word [ebp + esi - 0x20c], ax
test edi, edi
je 0x424e5b
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424e35
sub ecx, edx
sar ecx, 1
je 0x424e5b
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x40392c
call fcn.004125d9
add esp, 0xc
mov ecx, edi
call fcn.00410040
mov esi, dword [ebp - 0x214]
cmp dword [0x42d544], 0
jne 0x424ebe
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0x104
push eax
lea eax, [ebp - 0x20c]
inc esi
push eax
push esi
push ebx
mov dword [ebp - 0x214], esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
je 0x424d50
lea esi, [eax - 0x103]
neg esi
sbb esi, esi
and esi, eax
jmp 0x424ffe
call fcn.0041711d
mov eax, 1
jmp 0x425000
cmp word [edx], 0x2e
jne 0x424ee8
push edx
push 1
push 0x400023a5
call fcn.0040c5a2
add esp, 0xc
mov eax, 0x7b
jmp 0x425000
mov ecx, edx
call fcn.0040def9
mov ecx, eax
call fcn.0040df40
mov edi, eax
test edi, edi
je 0x424ebe
mov edx, 0x20
mov ecx, edi
call fcn.00412349
test eax, eax
je 0x424f11
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424f16
sub ecx, edx
sar ecx, 1
push edi
lea eax, [ecx + 0x14]
cmp eax, 0x104
jbe 0x424f50
push 1
push 0x400023db
call fcn.0040c5a2
add esp, 0xc
mov ecx, edi
call fcn.00410040
mov eax, 0x7b
jmp 0x425000
mov edx, 0x104
lea ecx, [ebp - 0x20c]
call fcn.00411040
push 0x403a1c
mov edx, 0x104
lea ecx, [ebp - 0x20c]
call fcn.004118c0
lea eax, [ebp - 0x220]
push eax
push 0x2000000
push 0
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x424fa9
push edi
push 1
push 0x400023a5
call fcn.0040c5a2
add esp, 0xc
jmp 0x424ff7
lea edx, [ebp - 0x20c]
mov ecx, ebx
call fcn.00425662
mov ebx, eax
test ebx, ebx
je 0x424fe0
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424fc1
sub ecx, edx
sar ecx, 1
je 0x424fe0
push ebx
push edi
push 0x40392c
call fcn.004125d9
jmp 0x424fed
push edi
push 1
push 0x400023a5
call fcn.0040c5a2
add esp, 0xc
mov ecx, ebx
call fcn.00410040
mov ecx, edi
call fcn.00410040
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416fd0
mov esp, ebp
pop ebp
ret