Function at 0x1003f2a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc536
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x100f4384]
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 0x1003f332
mov eax, dword [edi]
mov dword [ebp - 0x364], eax
mov esi, dword [edi + 0x10]
test esi, esi
je 0x1003f3b2
push 0x100
lea eax, [ebp - 0x360]
push 0
push eax
call fcn.1008f5e0
mov edx, 0x100
add esp, 0xc
mov ecx, 0x100c546c
mov dword [ebp - 0x368], edx
nop
movzx eax, word [ecx]
cmp ax, dx
jae 0x1003f44d
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x360], 1
cmp ecx, 0x100c546e
jne 0x1003f360
mov edx, dword [ebp - 0x364]
lea ecx, [edx + esi*2]
mov esi, edx
cmp edx, ecx
jae 0x1003f3b2
movzx eax, word [esi]
cmp ax, word [ebp - 0x368]
jae 0x1003f3ab
cmp byte [ebp + eax - 0x360], 0
jne 0x1003f444
add esi, 2
cmp esi, ecx
jb 0x1003f391
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x1003f52d
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 0x1003f3ee
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 0x1003f764
jmp 0x1003f4aa
sub esi, edx
sar esi, 1
jmp 0x1003f3b5
mov eax, dword [ebp - 0x364]
lea ecx, [eax + esi*2]
mov esi, eax
mov dword [ebp - 0x368], ecx
cmp eax, ecx
jae 0x1003f3b2
nop word [eax + eax]
movzx edx, word [esi]
mov ecx, 1
mov eax, 0x100c546c
nop dword [eax]
cmp word [eax], dx
je 0x1003f49d
add eax, 2
sub ecx, 1
jne 0x1003f480
add esi, 2
cmp esi, dword [ebp - 0x368]
jb 0x1003f470
jmp 0x1003f3b2
sub esi, dword [ebp - 0x364]
sar esi, 1
jmp 0x1003f3b5
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [edi + 0x14], 8
jb 0x1003f4bd
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 0x1003f50d
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003f503
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f769
push edx
push ecx
call fcn.10068042
add esp, 8
movups xmm0, xmmword [ebp - 0x260]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [ebp - 0x250]
movq qword [ebp - 0x220], xmm0
jmp 0x1003f53f
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.1003d130
add esp, 8
test al, al
je 0x1003f563
mov esi, 0x80000000
jmp 0x1003f5bf
lea eax, [ebp - 0x248]
push str.HKEY_CURRENT_USER
push eax
call fcn.1003d130
add esp, 8
test al, al
je 0x1003f582
mov esi, 0x80000001
jmp 0x1003f5bf
lea eax, [ebp - 0x248]
push str.HKEY_USERS
push eax
call fcn.1003d130
add esp, 8
test al, al
je 0x1003f5a1
mov esi, 0x80000003
jmp 0x1003f5bf
lea eax, [ebp - 0x248]
push str.HKEY_CURRENT_CONFIG
push eax
call fcn.1003d130
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 0x1003f671
mov eax, dword [ebp - 0x36c]
mov esi, dword [ebp - 0x364]
add eax, 0x48
cmp dword [eax + 0x14], 8
jb 0x1003f60e
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 0x1003f666
mov eax, dword [ebp - 0x36c]
cmp eax, 1
je 0x1003f64b
cmp eax, 2
jne 0x1003f666
mov eax, dword [ebp - 0x368]
test eax, eax
je 0x1003f6a8
test al, 1
jne 0x1003f666
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x1003f6b1
test esi, esi
je 0x1003f671
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.100683c1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [ebp - 0x218], ax
mov dword [ebp - 0x370], 1
test esi, esi
je 0x1003f6c6
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x1003f702
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003f6f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f76e
push edx
push ecx
call fcn.10068042
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 0x1003f687
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003f755
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f773
push edx
push ecx
call fcn.10068042
add esp, 8
jmp 0x1003f687
call fcn.100074f0
call fcn.10092d65
call fcn.10092d65
call fcn.10092d65
int3