Function at 0x4282a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455eb2
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x476040]
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], 7
jbe 0x428308
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 0x428373
cmp dword [edi + 0x14], 7
jbe 0x42832a
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 0x428373
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 0x42881b
push dword [ebp - 0x2b8]
lea eax, [ebp - 0x280]
lea edx, [ebp - 0x27c]
mov dword [ebp - 0x27c], eax
lea ecx, [ebp - 0x2c0]
call fcn.00429ea0
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.00436700
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 0x4287ee
cmp dword [ebp - 0x294], eax
je 0x4287ee
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.00404160
mov eax, dword [ebp - 0x290]
lea ecx, [ebp - 0x248]
inc eax
push 0
push eax
mov dword [ebp - 0x290], eax
call fcn.00404160
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 0x42877d
mov eax, dword [ebp - 0x28c]
lea edx, [ebp - 0x2b0]
cmp dword [ebp - 0x234], 7
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x248]
cmova eax, dword [ebp - 0x248]
cmp dword [ebp - 0x24c], 7
push edx
cmova 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 0x428764
mov eax, dword [ebp - 0x2a8]
cmp eax, 1
je 0x4285b1
cmp eax, 7
je 0x4285b1
cmp eax, 2
jne 0x428764
push dword [ebp - 0x2ac]
lea eax, [ebp - 0x278]
push 0
push eax
lea ecx, [ebp - 0x260]
call fcn.00415470
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.00415470
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x4286ea
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x230]
mov esi, dword [ebp - 0x230]
cmp edx, 7
cmova eax, esi
cmp word [eax + ecx*2 - 2], 0
jne 0x4286ea
cmp edx, 7
lea eax, [ebp - 0x230]
push 0
cmova eax, esi
lea eax, [eax + ecx*2]
mov dword [ebp - 0x284], eax
lea eax, [ebp - 0x230]
cmova eax, esi
lea eax, [eax + ecx*2]
lea ecx, [ebp - 0x230]
cmova ecx, esi
push eax
push ecx
call fcn.004343b0
cmp dword [ebp - 0x21c], 7
lea ecx, [ebp - 0x230]
mov edi, eax
cmova 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], 7
lea eax, [ebp - 0x230]
mov dword [ebp - 0x284], esi
cmova 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.00436180
mov dword [ebp - 0x220], edi
add esp, 0xc
mov edi, dword [ebp - 0x27c]
mov esi, dword [ebp - 0x29c]
cmp esi, dword [ebp - 0x298]
je 0x42872c
lea eax, [ebp - 0x278]
mov dword [ebp - 0x2c4], esi
push eax
mov ecx, esi
call fcn.00404240
mov byte [ebp - 4], 7
lea eax, [ebp - 0x230]
lea ecx, [esi + 0x18]
push eax
call fcn.00404240
mov byte [ebp - 4], 6
add dword [ebp - 0x29c], 0x30
jmp 0x428746
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x278]
push eax
push esi
lea ecx, [ebp - 0x2a0]
call fcn.0042abf0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x230]
call fcn.00404310
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x278]
call fcn.00404310
inc edi
mov dword [ebp - 0x27c], edi
cmp edi, dword [ebp - 0x294]
jb 0x428520
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.00429770
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.00404310
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.00404310
jmp 0x42880c
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.004296f0
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.0043488a
mov esp, ebp
pop ebp
ret