Function at 0x1004e740
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010cfb2
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x10158f9c]
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, ecx
mov dword [ebp - 0x248], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x244], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
xor edi, edi
mov dword [ebp - 4], 0
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x240], 1
push ecx
lea ecx, [ebp - 0x218]
push ecx
push edi
push dword [eax + 4]
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x238], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x1004e9e5
mov edx, 0xa
test eax, eax
jne 0x1004e9c2
mov dword [ebp - 0x230], eax
mov dword [ebp - 4], 1
lea esi, [ebp - 0x218]
mov dword [ebp - 0x220], eax
lea ecx, [esi + 2]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov byte [ebp - 4], al
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1004e830
sub esi, ecx
sar esi, 1
cmp esi, 7
ja 0x1004e872
mov dword [ebp - 0x220], esi
lea eax, [ebp - 0x218]
add esi, esi
push esi
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100c9030
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x230], ax
jmp 0x1004e933
cmp esi, 0x7ffffffe
ja 0x1004ea0e
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x1004e892
mov edi, 0x7ffffffe
jmp 0x1004e898
cmp edi, 0xa
cmovb edi, edx
xor ecx, ecx
mov eax, edi
add eax, 1
setb cl
neg ecx
or ecx, eax
cmp ecx, 0x7fffffff
ja 0x1004ea09
add ecx, ecx
cmp ecx, 0x1000
jb 0x1004e8e5
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x1004ea09
push eax
call fcn.100c742f
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1004ea04
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x1004e8f6
test ecx, ecx
je 0x1004e8f4
push ecx
call fcn.100c742f
add esp, 4
jmp 0x1004e8f6
xor eax, eax
mov dword [ebp - 0x220], esi
lea ecx, [ebp - 0x218]
add esi, esi
mov dword [ebp - 0x234], eax
push esi
push ecx
push eax
mov dword [ebp - 0x21c], edi
call fcn.100c9030
mov eax, dword [ebp - 0x234]
add esp, 0xc
mov edi, dword [ebp - 0x23c]
xor ecx, ecx
mov dword [ebp - 0x230], eax
mov word [eax + esi], cx
mov dword [ebp - 4], 2
mov esi, dword [ebp - 0x244]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x1004e973
movups xmm0, xmmword [ebp - 0x230]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x220]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov ecx, 7
add dword [esi + 4], 0x18
mov word [ebp - 0x230], ax
jmp 0x1004e988
lea ecx, [ebp - 0x230]
push ecx
push eax
mov ecx, esi
call fcn.100431f0
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
cmp ecx, 8
jb 0x1004e9c2
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1004e9b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ea04
push ecx
push edx
call fcn.100c7421
add esp, 8
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x238]
inc edi
push eax
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x248]
push edi
jmp 0x1004e7c8
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.100c7413
mov esp, ebp
pop ebp
ret 4
call fcn.100ccb4f
call fcn.10001dde
call fcn.10001cdc
int3