Function at 0x428f3a
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4310b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x210], esi
push edi
test edx, edx
jne 0x42908a
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 edi, 0x104
push ebx
push esi
mov dword [ebp - 0x218], edi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
jne 0x429079
push 0x2e
pop eax
cmp word [ebp - 0x20c], ax
je 0x429047
lea esi, [ebp - 0x20c]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bx
jne 0x428fb0
sub esi, ecx
sar esi, 1
lea eax, [esi + 0x14]
cmp eax, edi
ja 0x429041
push 0x403f94
mov edx, edi
lea ecx, [ebp - 0x20c]
call fcn.0040ebf0
mov ecx, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
call fcn.0042986e
add esi, esi
mov edx, eax
mov dword [ebp - 0x21c], edx
cmp esi, 0x208
jae 0x429074
xor eax, eax
mov word [ebp + esi - 0x20c], ax
test edx, edx
je 0x42903a
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x42900e
sub ecx, esi
sar ecx, 1
je 0x42903a
push edx
lea eax, [ebp - 0x20c]
push eax
push 0x4036c8
call fcn.00408ec2
mov edx, dword [ebp - 0x21c]
add esp, 0xc
mov ecx, edx
call fcn.0040cb50
mov esi, dword [ebp - 0x210]
cmp dword [0x435614], ebx
jne 0x4290bc
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 0x428f82
call fcn.00417cea
lea esi, [eax - 0x103]
neg esi
sbb esi, esi
and esi, eax
jmp 0x4291d5
cmp word [edx], 0x2e
jne 0x4290a8
push edx
push 1
push 0x400023a5
call fcn.004128ff
add esp, 0xc
push 0x7b
pop eax
jmp 0x4291d7
mov ecx, edx
call fcn.0040974c
mov ecx, eax
call fcn.00409880
mov edi, eax
test edi, edi
jne 0x4290c4
xor eax, eax
inc eax
jmp 0x4291d7
push 0x20
pop edx
mov ecx, edi
call fcn.0040f211
test eax, eax
je 0x4290d7
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 0x4290de
sub ecx, edx
mov esi, 0x104
sar ecx, 1
push edi
lea eax, [ecx + 0x14]
cmp eax, esi
jbe 0x429111
push 1
push 0x400023db
call fcn.004128ff
add esp, 0xc
push 0x7b
pop esi
jmp 0x4291ce
mov edx, esi
lea ecx, [ebp - 0x20c]
call fcn.0040dfe0
push 0x403f94
mov edx, esi
lea ecx, [ebp - 0x20c]
call fcn.0040ebf0
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 0x429168
push edi
push 1
push 0x400023a5
call fcn.004128ff
add esp, 0xc
jmp 0x4291ce
mov ecx, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
call fcn.0042986e
mov edx, eax
mov dword [ebp - 0x214], edx
test edx, edx
je 0x4291b3
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x21c], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x429190
sub ecx, dword [ebp - 0x21c]
sar ecx, 1
je 0x4291b3
push edx
push edi
push 0x4036c8
call fcn.00408ec2
jmp 0x4291c0
push edi
push 1
push 0x400023a5
call fcn.004128ff
mov ecx, dword [ebp - 0x214]
add esp, 0xc
call fcn.0040cb50
mov ecx, edi
call fcn.0040cb50
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417b90
leave
ret