Function at 0x422c80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546acd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push esi
mov esi, ecx
lea ecx, [ebp - 0x70]
push edi
push ecx
mov ecx, esi
mov dword [ebp - 0x4c], esi
mov eax, dword [esi]
call dword [eax + 0x74]
xor edi, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
push 0x20019
cmovae ecx, dword [ebp - 0x70]
xor eax, eax
cmp byte [esi + 0xb5], al
push ecx
sete al
mov byte [ebp - 4], 1
add eax, 0x80000001
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00432d30
add esp, 0x10
mov ecx, dword [eax]
test ecx, ecx
je 0x422d25
mov edx, dword [eax + 4]
mov edi, ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x48], edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x422d33
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x278]
mov dword [ebp - 0x10], 0x208
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.LaunchExp
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x422f2c
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x422d8f
cmp eax, 2
jne 0x422f2c
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x422db3
test cl, 1
jne 0x422f2c
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x27a], 0
je 0x422dbc
jmp 0x422f2c
xor eax, eax
mov word [ebp - 0x278], ax
shr ecx, 1
cmp byte [0x5cb084], 0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x30], 7
je 0x422e52
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x34], 0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422df0
sub ecx, edx
lea eax, [ebp - 0x278]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0041ffd0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x422f1a
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422e43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423077
push edx
push ecx
call fcn.004b9160
add esp, 8
jmp 0x422f1a
cmp ecx, 7
ja 0x422e7a
lea esi, [ecx + ecx]
mov dword [ebp - 0x34], ecx
push esi
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00518310
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x44], ax
jmp 0x422edd
cmp ecx, 0x7ffffffe
ja 0x423072
mov eax, ecx
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x422e99
mov eax, 0x7ffffffe
jmp 0x422ea3
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x44]
inc eax
push eax
call fcn.0041fba0
mov esi, dword [ebp - 0x14]
mov edi, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], esi
add esi, esi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x278]
push esi
push eax
push edi
call fcn.00518310
add esp, 0xc
mov dword [ebp - 0x44], edi
xor eax, eax
mov word [esi + edi], ax
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x422f17
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422f0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423077
push edx
push ecx
call fcn.004b9160
add esp, 8
mov esi, dword [ebp - 0x4c]
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [ebp - 0x1c], xmm0
cmp byte [0x5cb084], 0
je 0x422fe0
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x64]
call eax
test al, al
jne 0x422fe0
mov esi, dword [ebp + 8]
xor eax, eax
mov edx, dword [ebp - 0x18]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
cmp edx, 8
jb 0x422fa4
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422f9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423077
push edx
push ecx
call fcn.004b9160
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
test edi, edi
je 0x422fc4
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call eax
lea ecx, [ebp - 0x70]
call fcn.00416700
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
xor eax, eax
movups xmm0, xmmword [ebp - 0x2c]
mov word [ebp - 0x2c], ax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
test edi, edi
je 0x423028
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call eax
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x42305e
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423054
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423077
push edx
push ecx
call fcn.004b9160
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.0041fab0
call fcn.0051bb5f
int3