Function at 0x4364a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f1901
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x675f64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x255], cl
mov eax, dword [ebp + 0x40]
mov edi, dword [ebp + 0x38]
mov esi, dword [ebp + 0x3c]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x260], edi
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x264], eax
mov dword [ebp - 4], 1
cmp byte [eax], 0
jne 0x436c4d
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x436c4d
movzx ecx, cl
lea eax, [ebp + 8]
xor ecx, 1
lea edi, [ebp - 0x254]
inc ecx
shl ecx, 8
cmp dword [ebp + 0x1c], 8
push edi
cmovae eax, dword [ebp + 8]
or ecx, 0x20019
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [esi + 0x14], 8
mov eax, esi
mov edi, dword [ebp - 0x260]
jb 0x436555
mov eax, dword [esi]
push 0
push 0
push 0
push 0
push eax
push dword [ebp - 0x254]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4369b2
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
xor ecx, ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x21c], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov edi, dword [ebp - 0x238]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x436868
mov esi, dword [ebp + 0x30]
xor ecx, ecx
mov dword [ebp - 0x25c], ecx
nop word [eax + eax]
mov eax, dword [ebp - 0x260]
mov edx, dword [eax]
mov edx, dword [edx + ecx + 0x10]
cmp esi, edx
jbe 0x436976
mov ecx, esi
mov dword [ebp - 0x284], 0
sub ecx, edx
mov dword [ebp - 0x274], 0
dec ecx
mov dword [ebp - 0x270], 7
cmp esi, ecx
jb 0x436c8b
sub esi, ecx
lea eax, [ebp + 0x20]
cmp esi, edx
cmovb edx, esi
cmp dword [ebp + 0x34], 8
push edx
cmovae eax, dword [ebp + 0x20]
lea eax, [eax + ecx*2]
push eax
lea ecx, [ebp - 0x284]
call fcn.004059e0
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x436691
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436687
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436c86
push edx
push ecx
call fcn.0058acab
add esp, 8
mov eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x250]
movups xmm0, xmmword [ebp - 0x284]
mov eax, dword [eax]
add eax, dword [ebp - 0x25c]
movups xmmword [ebp - 0x238], xmm0
movq xmm0, qword [ebp - 0x274]
movq qword [ebp - 0x228], xmm0
cmp ecx, eax
je 0x4366e0
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4366d1
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x250]
call fcn.004059e0
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
mov ecx, dword [ebp - 0x238]
lea esi, [ebp - 0x238]
mov edx, dword [ebp - 0x228]
lea edi, [ebp - 0x238]
cmovae eax, ecx
cmovae esi, ecx
cmovae edi, ecx
lea eax, [eax + edx*2]
mov dword [ebp - 0x220], eax
cmp esi, eax
je 0x436741
sub edi, esi
nop dword [eax]
movzx eax, word [esi]
push eax
call fcn.005b2372
mov word [esi + edi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x220]
jne 0x436720
mov edx, dword [ebp - 0x228]
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
mov ecx, dword [ebp - 0x250]
lea edi, [ebp - 0x250]
mov esi, dword [ebp - 0x240]
cmovae eax, ecx
cmovae edi, ecx
lea eax, [eax + esi*2]
lea esi, [ebp - 0x250]
mov dword [ebp - 0x220], eax
cmovae esi, ecx
cmp esi, eax
je 0x4367a1
sub edi, esi
nop
movzx eax, word [esi]
push eax
call fcn.005b2372
mov word [esi + edi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x220]
jne 0x436780
mov edx, dword [ebp - 0x228]
cmp dword [ebp - 0x23c], 8
lea ecx, [ebp - 0x250]
mov eax, dword [ebp - 0x250]
lea esi, [ebp - 0x238]
mov edi, dword [ebp - 0x238]
cmovae ecx, eax
cmp dword [ebp - 0x224], 8
cmovae esi, edi
cmp edx, dword [ebp - 0x240]
jne 0x436967
test edx, edx
je 0x4367f5
sub esi, ecx
nop
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x436967
add ecx, 2
sub edx, 1
jne 0x4367e0
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x268]
mov byte [eax], 1
lea eax, [ebp + 0x20]
cmp ecx, eax
je 0x436822
cmp dword [ebp + 0x34], 8
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.004059e0
mov edi, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x250]
cmp eax, 8
jb 0x436868
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436858
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436c86
push edx
push ecx
call fcn.0058acab
mov edi, dword [ebp - 0x238]
add esp, 8
xor eax, eax
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x23c], 7
cmp eax, 8
jb 0x4368bf
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x4368b5
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436c86
push ecx
push edi
call fcn.0058acab
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
cmp edx, 8
jb 0x436916
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43690c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436c86
push edx
push ecx
call fcn.0058acab
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x436c32
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436c28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436c86
jmp 0x436c28
mov esi, dword [ebp + 0x30]
mov ecx, dword [ebp - 0x25c]
mov eax, dword [ebp - 0x260]
inc dword [ebp - 0x21c]
add ecx, 0x18
mov dword [ebp - 0x25c], ecx
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x21c], eax
jae 0x436822
mov ecx, dword [ebp - 0x25c]
jmp 0x4365f0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x254]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x436ba2
xor edi, edi
test eax, eax
je 0x436ba2
nop dword [eax + eax]
xor eax, eax
mov dword [ebp - 0x220], 0x104
push eax
push eax
push eax
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
push dword [ebp - 0x254]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push dword [ebp - 0x264]
lea ecx, [ebp - 0x218]
push dword [ebp - 0x268]
lea edx, [ecx + 2]
push esi
push dword [ebp - 0x260]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436a50
sub ecx, edx
mov eax, 0x7ffffffe
mov edx, dword [ebp + 0x30]
sub eax, edx
sar ecx, 1
cmp eax, ecx
jb 0x436c90
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
push ecx
cmovae eax, dword [ebp + 0x20]
lea ecx, [ebp - 0x218]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x220]
lea ecx, [ebp - 0x284]
call fcn.00423e30
sub esp, 0x18
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x288], esp
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x26c], esi
push 1
push 0x6437f0
call fcn.00405af0
mov dword [esi], 0
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
sub esp, 0x18
mov byte [ebp - 4], 5
mov edx, esp
mov dword [edx], ecx
mov dword [edx + 0x10], ecx
lea ecx, [ebp - 0x218]
mov dword [edx + 0x14], 7
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436b14
sub ecx, esi
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.004059e0
mov edx, dword [ebp - 0x254]
mov cl, byte [ebp - 0x255]
mov byte [ebp - 4], 4
call fcn.004364a0
mov byte [ebp - 4], 1
add esp, 0x40
mov edx, dword [ebp - 0x270]
cmp edx, 8
jb 0x436b8e
mov ecx, dword [ebp - 0x284]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436b84
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436c86
push edx
push ecx
call fcn.0058acab
add esp, 8
inc edi
cmp edi, dword [ebp - 0x21c]
jae 0x436ba2
mov esi, dword [ebp - 0x25c]
jmp 0x436a00
push dword [ebp - 0x254]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x436be8
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436bde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436c86
push edx
push ecx
call fcn.0058acab
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x436c32
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436c28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436c86
push edx
push ecx
call fcn.0058acab
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x436916
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43690c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436c86
jmp 0x43690c
call fcn.005b1fdf
call fcn.00405d00
call fcn.00403140
int3