Function at 0x420340
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5524ad
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x70
mov eax, dword [0x5ec3c8]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x34], eax
mov esi, dword [ebx + 8]
mov dword [ebp - 4], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], esi
test eax, eax
jne 0x4203aa
mov dword [esi], 6
mov byte [esi + 0x20], 1
jmp 0x420695
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], 0
push ecx
push 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
push ecx
push 0
push dword [ebx + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4203dd
mov dword [esi], eax
mov byte [esi + 0x20], 1
jmp 0x420695
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0x2c], ecx
xor edx, edx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x420476
lea ecx, [ebp - 0x35]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00421730
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push edi
push dword [ebx + 0xc]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x2c]
test eax, eax
je 0x420470
mov dword [esi], eax
mov byte [esi + 0x20], 1
test ecx, ecx
je 0x420695
mov edx, dword [ebp - 0x24]
sub edx, ecx
mov eax, ecx
cmp edx, 0x1000
jb 0x42068b
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4206b7
jmp 0x42068b
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
dec eax
cmp eax, 0xa
ja case.0x42048a.2
movzx eax, byte [eax + 0x4206d0]
jmp dword [eax*4 + 0x4206bc]
cmp dword [ebp - 0x20], 4
je 0x4204ab
mov dword [esi], 0xd
mov byte [esi + 0x20], 1
test ecx, ecx
je 0x420695
jmp 0x420447
mov eax, dword [ecx]
mov dword [esi], eax
mov byte [esi + 0x18], 0
mov byte [esi + 0x20], 0
jmp 0x420447
cmp dword [ebp - 0x20], 8
jne 0x420497
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 0x34], 0
push dword [ebp - 0x34]
mov dword [ebp - 0x5c], ecx
mov ecx, esi
mov byte [ebp - 0x48], 1
call fcn.00421a90
mov byte [esi + 0x20], 0
lea ecx, [ebp - 0x60]
call fcn.00420b90
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x420695
mov ecx, dword [ebp - 0x24]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x42051a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4206b7
push ecx
push edx
jmp 0x42068d
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x420599
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5f519c]
cmp eax, dword [ecx + 8]
jle 0x42056a
push 0x5f519c
call fcn.0050a9ba
add esp, 4
cmp dword [0x5f519c], 0xffffffff
jne 0x42056a
push 0x55ea80
call fcn.0050a85d
push 0x5f519c
call fcn.0050a970
add esp, 8
push 0x5ece58
lea ecx, [ebp - 0x80]
call fcn.0041f0a0
lea eax, [ebp - 0x80]
mov byte [ebp - 0x34], 0
push eax
push dword [ebp - 0x34]
mov ecx, esi
mov byte [ebp - 0x68], 3
call fcn.00421a90
mov byte [esi + 0x20], 0
lea ecx, [ebp - 0x80]
jmp 0x4204e7
test al, 1
jne 0x420497
sub edi, ecx
xor eax, eax
shr edi, 1
cmp ax, word [ecx + edi*2 - 2]
jne 0x420497
mov edx, ecx
mov dword [ebp - 0x48], eax
xorps xmm0, xmm0
mov dword [ebp - 0x44], eax
movups xmmword [ebp - 0x58], xmm0
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4205c4
sub edx, edi
sar edx, 1
push edx
push ecx
lea ecx, [ebp - 0x58]
call fcn.00419c40
movups xmm0, xmmword [ebp - 0x58]
xor eax, eax
mov byte [ebp - 0x68], 3
mov byte [ebp - 0x34], al
mov ecx, esi
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x34]
movups xmmword [ebp - 0x80], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [ebp - 0x70], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
call fcn.00421a90
lea ecx, [ebp - 0x80]
mov byte [esi + 0x20], 0
call fcn.00420b90
lea ecx, [ebp - 0x58]
call fcn.004196c0
jmp 0x4204ec
mov dword [esi], ecx
mov dword [esi + 4], edi
mov dword [esi + 8], edx
mov byte [esi + 0x18], 4
mov byte [esi + 0x20], 0
jmp 0x420695
mov dword [esi], 0xd
mov byte [esi + 0x20], 1
test ecx, ecx
je 0x420695
sub edx, ecx
mov eax, ecx
cmp edx, 0x1000
jb 0x42068b
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4206b7
push edx
push ecx
call fcn.0050a4c5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0050a47b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.00522dda
and dword [0x64f0042], eax
inc edx
add byte [ecx - 0x46ffbdfc], dl
add al, 0x42
add byte [ecx + 6], ah
inc edx
add byte [eax], al
add al, 1
add al, byte [esp + eax]
add al, 4
add al, 4
add ecx, esp
int3