Function at 0x426a40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454342
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x473018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x27c], edx
mov esi, ecx
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 0x288], esi
mov edi, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x280], 0
cmp dword [edi + 0x14], 8
jb 0x426aa8
mov eax, dword [edi]
lea ecx, [ebp - 0x280]
push ecx
push 0x20219
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x426b13
cmp dword [edi + 0x14], 8
jb 0x426aca
mov edi, dword [edi]
lea eax, [ebp - 0x280]
push eax
push 0x20119
push 0
push edi
push dword [ebp - 0x27c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x426b13
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2a4], 1
jmp 0x426fbb
push dword [ebp - 0x2b8]
lea eax, [ebp - 0x280]
lea edx, [ebp - 0x27c]
mov dword [ebp - 0x27c], eax
lea ecx, [ebp - 0x2c0]
call fcn.004286f0
mov dword [ebp - 4], 1
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x27c], 0
call fcn.00434cd0
add esp, 0x10
mov dword [ebp - 0x288], 0x104
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x290], 0
push eax
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x27c]
push eax
push 0
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x280]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x426f8e
cmp dword [ebp - 0x294], eax
je 0x426f8e
xorps xmm0, xmm0
mov dword [ebp - 0x250], eax
movups xmmword [ebp - 0x260], xmm0
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov byte [ebp - 4], 2
movups xmmword [ebp - 0x248], xmm0
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x260]
mov eax, dword [ebp - 0x28c]
inc eax
push 0
push eax
mov dword [ebp - 0x28c], eax
call fcn.00403ec0
mov eax, dword [ebp - 0x290]
lea ecx, [ebp - 0x248]
inc eax
push 0
push eax
mov dword [ebp - 0x290], eax
call fcn.00403ec0
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0
mov byte [ebp - 4], 4
xor edi, edi
mov dword [ebp - 0x27c], edi
cmp dword [ebp - 0x294], edi
jbe 0x426f1d
mov eax, dword [ebp - 0x28c]
lea edx, [ebp - 0x2b0]
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
cmp dword [ebp - 0x24c], 8
push edx
cmovae ecx, dword [ebp - 0x260]
push eax
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0x2a8], 0
push eax
push 0
lea eax, [ebp - 0x2ac]
push eax
push ecx
push edi
push dword [ebp - 0x280]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x426f04
mov eax, dword [ebp - 0x2a8]
cmp eax, 1
je 0x426d51
cmp eax, 7
je 0x426d51
cmp eax, 2
jne 0x426f04
push dword [ebp - 0x2ac]
lea eax, [ebp - 0x278]
push 0
push eax
lea ecx, [ebp - 0x260]
call fcn.00414ed0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x248]
mov eax, dword [ebp - 0x2b0]
shr eax, 1
push eax
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.00414ed0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x426e8a
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x230]
mov esi, dword [ebp - 0x230]
cmp edx, 8
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0
jne 0x426e8a
cmp edx, 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, esi
lea eax, [eax + ecx*2]
mov dword [ebp - 0x284], eax
lea eax, [ebp - 0x230]
cmovae eax, esi
lea eax, [eax + ecx*2]
lea ecx, [ebp - 0x230]
cmovae ecx, esi
push eax
push ecx
call fcn.00432990
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
mov edi, eax
cmovae ecx, dword [ebp - 0x230]
sub edi, ecx
mov ecx, dword [ebp - 0x284]
sub ecx, eax
sar edi, 1
sar ecx, 1
mov dword [ebp - 0x288], edi
mov edi, dword [ebp - 0x220]
mov eax, edi
mov dword [ebp - 0x284], ecx
mov ecx, dword [ebp - 0x288]
sub eax, ecx
mov esi, dword [ebp - 0x284]
cmp eax, esi
cmovb esi, eax
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x284], esi
cmovae eax, dword [ebp - 0x230]
lea edx, [eax + ecx*2]
mov eax, esi
sub edi, eax
lea ecx, [edx + eax*2]
mov eax, edi
sub eax, dword [ebp - 0x288]
lea eax, [eax*2 + 2]
push eax
push ecx
push edx
call fcn.00434750
mov dword [ebp - 0x220], edi
add esp, 0xc
mov edi, dword [ebp - 0x27c]
mov esi, dword [ebp - 0x29c]
cmp esi, dword [ebp - 0x298]
je 0x426ecc
lea eax, [ebp - 0x278]
mov dword [ebp - 0x2c4], esi
push eax
mov ecx, esi
call fcn.00403fa0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x230]
lea ecx, [esi + 0x18]
push eax
call fcn.00403fa0
mov byte [ebp - 4], 6
add dword [ebp - 0x29c], 0x30
jmp 0x426ee6
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x278]
push eax
push esi
lea ecx, [ebp - 0x2a0]
call fcn.004292d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x230]
call fcn.004040c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x278]
call fcn.004040c0
inc edi
mov dword [ebp - 0x27c], edi
cmp edi, dword [ebp - 0x294]
jb 0x426cc0
mov esi, dword [ebp - 0x2b4]
mov edx, dword [ebp - 0x298]
mov ecx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x2a0], 0
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [ebp - 0x2a4], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2a0]
call fcn.00427f10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.004040c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.004040c0
jmp 0x426fac
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x2a4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c0]
call fcn.00427e90
mov eax, esi
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.00432e76
mov esp, ebp
pop ebp
ret