Function at 0x1003e260
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb386
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x100f2384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x36c], eax
mov dword [ebp - 0x370], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], cx
cmp dword [eax + 0x44], 8
lea edi, [eax + 0x30]
mov byte [ebp - 4], 1
mov dword [ebp - 0x364], edi
jb 0x1003e2f2
mov eax, dword [edi]
mov dword [ebp - 0x364], eax
mov esi, dword [edi + 0x10]
test esi, esi
je 0x1003e372
push 0x100
lea eax, [ebp - 0x360]
push 0
push eax
call fcn.1008e100
mov edx, 0x100
add esp, 0xc
mov ecx, 0x100c346c
mov dword [ebp - 0x368], edx
nop
movzx eax, word [ecx]
cmp ax, dx
jae 0x1003e40d
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x360], 1
cmp ecx, 0x100c346e
jne 0x1003e320
mov edx, dword [ebp - 0x364]
lea ecx, [edx + esi*2]
mov esi, edx
cmp edx, ecx
jae 0x1003e372
movzx eax, word [esi]
cmp ax, word [ebp - 0x368]
jae 0x1003e36b
cmp byte [ebp + eax - 0x360], 0
jne 0x1003e404
add esi, 2
cmp esi, ecx
jb 0x1003e351
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x1003e4ed
xor eax, eax
mov dword [ebp - 0x250], 0
cmp dword [edi + 0x10], esi
mov ecx, esi
mov word [ebp - 0x260], ax
mov eax, edi
cmovb ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x24c], 7
jb 0x1003e3ae
mov eax, dword [edi]
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.100112e0
movups xmm0, xmmword [ebp - 0x260]
xor eax, eax
inc esi
mov word [ebp - 0x260], ax
mov eax, dword [edi + 0x10]
movups xmmword [ebp - 0x248], xmm0
movq xmm0, qword [ebp - 0x250]
movq qword [ebp - 0x238], xmm0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
cmp eax, esi
jb 0x1003e724
jmp 0x1003e46a
sub esi, edx
sar esi, 1
jmp 0x1003e375
mov eax, dword [ebp - 0x364]
lea ecx, [eax + esi*2]
mov esi, eax
mov dword [ebp - 0x368], ecx
cmp eax, ecx
jae 0x1003e372
nop word [eax + eax]
movzx edx, word [esi]
mov ecx, 1
mov eax, 0x100c346c
nop dword [eax]
cmp word [eax], dx
je 0x1003e45d
add eax, 2
sub ecx, 1
jne 0x1003e440
add esi, 2
cmp esi, dword [ebp - 0x368]
jb 0x1003e430
jmp 0x1003e372
sub esi, dword [ebp - 0x364]
sar esi, 1
jmp 0x1003e375
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [edi + 0x14], 8
jb 0x1003e47d
mov edi, dword [edi]
push ecx
lea eax, [edi + esi*2]
push eax
lea ecx, [ebp - 0x260]
call fcn.100112e0
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x1003e4cd
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e4c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e729
push edx
push ecx
call fcn.10066bf2
add esp, 8
movups xmm0, xmmword [ebp - 0x260]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [ebp - 0x250]
movq qword [ebp - 0x220], xmm0
jmp 0x1003e4ff
push 0x12
push str.HKEY_LOCAL_MACHINE
lea ecx, [ebp - 0x248]
call fcn.100112e0
lea eax, [ebp - 0x248]
mov esi, 0x80000002
push str.HKEY_CLASSES_ROOT
push eax
call fcn.1003bd50
add esp, 8
test al, al
je 0x1003e523
mov esi, 0x80000000
jmp 0x1003e57f
lea eax, [ebp - 0x248]
push str.HKEY_CURRENT_USER
push eax
call fcn.1003bd50
add esp, 8
test al, al
je 0x1003e542
mov esi, 0x80000001
jmp 0x1003e57f
lea eax, [ebp - 0x248]
push str.HKEY_USERS
push eax
call fcn.1003bd50
add esp, 8
test al, al
je 0x1003e561
mov esi, 0x80000003
jmp 0x1003e57f
lea eax, [ebp - 0x248]
push str.HKEY_CURRENT_CONFIG
push eax
call fcn.1003bd50
add esp, 8
mov ecx, 0x80000005
test al, al
cmovne esi, ecx
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x364]
push ecx
push 0x20219
lea eax, [ebp - 0x230]
mov dword [ebp - 0x364], 0
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003e631
mov eax, dword [ebp - 0x36c]
mov esi, dword [ebp - 0x364]
add eax, 0x48
cmp dword [eax + 0x14], 8
jb 0x1003e5ce
mov eax, dword [eax]
lea ecx, [ebp - 0x368]
mov dword [ebp - 0x368], 0x208
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x36c]
push ecx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003e626
mov eax, dword [ebp - 0x36c]
cmp eax, 1
je 0x1003e60b
cmp eax, 2
jne 0x1003e626
mov eax, dword [ebp - 0x368]
test eax, eax
je 0x1003e668
test al, 1
jne 0x1003e626
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x1003e671
test esi, esi
je 0x1003e631
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x230]
call fcn.10004bc0
lea ecx, [ebp - 0x248]
call fcn.10004bc0
mov eax, dword [ebp - 0x370]
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.10066f71
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [ebp - 0x218], ax
mov dword [ebp - 0x370], 1
test esi, esi
je 0x1003e686
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x1003e6c2
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e6b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e72e
push edx
push ecx
call fcn.10066bf2
add esp, 8
mov edx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp edx, 8
jb 0x1003e647
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e715
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e733
push edx
push ecx
call fcn.10066bf2
add esp, 8
jmp 0x1003e647
call fcn.100074f0
call fcn.10091885
call fcn.10091885
call fcn.10091885
int3