Function at 0x10005196
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Query or enumerate registry key

Disassembly:
push 0x4c0
mov eax, 0x1001f7d3
call fcn.1001b357
mov esi, dword [ebp + 8]
mov ebx, edx
push esi
mov dword [ebp - 0x4b0], ecx
call fcn.1000499d
pop ecx
test eax, eax
je 0x100055f1
xor eax, eax
push 0xee
mov word [ebp - 0x19c], ax
xor edi, edi
lea eax, [ebp - 0x19a]
push edi
push eax
mov dword [ebp - 0xac], 0x66296635
mov dword [ebp - 0xa8], 0x66326620
mov dword [ebp - 0xa4], 0x66276631
mov dword [ebp - 0xa0], 0x66236634
mov dword [ebp - 0x9c], 0x6625663a
mov dword [ebp - 0x98], 0x6607660a
mov dword [ebp - 0x94], 0x66156615
mov dword [ebp - 0x90], 0x66156603
mov dword [ebp - 0x8c], 0x6622663a
mov dword [ebp - 0x88], 0x6614660f
mov dword [ebp - 0x84], 0x66056603
mov dword [ebp - 0x80], 0x66096612
mov dword [ebp - 0x7c], 0x661f6614
mov dword [ebp - 0x78], 0x6624663a
mov dword [ebp - 0x74], 0x66056607
mov dword [ebp - 0x70], 0x6601660d
mov dword [ebp - 0x6c], 0x66096614
mov dword [ebp - 0x68], 0x66086613
mov dword [ebp - 0x64], 0x663a6602
mov dword [ebp - 0x60], 0x660e6615
mov dword [ebp - 0x5c], 0x660a6603
mov dword [ebp - 0x58], 0x6603660a
mov dword [ebp - 0x54], 0x663a661e
mov dword [ebp - 0x50], 0x66096625
mov dword [ebp - 0x4c], 0x66126608
mov dword [ebp - 0x48], 0x661e6603
mov dword [ebp - 0x44], 0x662b6612
mov dword [ebp - 0x40], 0x66086603
mov dword [ebp - 0x3c], 0x662e6613
mov dword [ebp - 0x38], 0x66086607
mov dword [ebp - 0x34], 0x660a6602
mov dword [ebp - 0x30], 0x66146603
mov dword [ebp - 0x2c], 0x66666615
call fcn.1000f470
add esp, 0xc
mov dword [ebp - 0x4a4], edi
mov dword [ebp - 0x4a0], edi
mov dword [ebp - 0x49c], edi
mov dword [ebp - 4], edi
xor eax, eax
xor byte [ebp + eax - 0xac], 0x66
inc eax
cmp eax, 0x84
jb 0x100052fe
xor eax, eax
cmp esi, edi
setne al
add eax, 0x80000001
mov dword [ebp - 0x4ac], eax
call fcn.1000b059
neg eax
sbb eax, eax
lea ecx, [ebp - 0xac]
push ecx
push dword [ebp - 0x4ac]
and eax, 0x100
or eax, 0x20019
lea ebx, [ebp - 0x4a4]
call fcn.1000b6ef
test eax, eax
jne 0x100054f4
push 0x78
pop esi
mov dword [ebp - 0x4a8], esi
mov dword [ebp - 0x18], edi
call fcn.10004c01
mov dword [eax], eax
mov dword [ebp - 0x1c], eax
mov dword [eax + 4], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x498], edi
lea eax, [ebp - 0x4cc]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x4a8]
push eax
lea eax, [ebp - 0x19c]
push eax
push dword [ebp - 0x498]
push dword [ebp - 0x4a4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10005498
lea eax, [ebp - 0x4b4]
push eax
lea edi, [ebp - 0x19c]
call fcn.100050d6
lea eax, [ebp - 0x4b4]
push eax
lea edi, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.10004cef
lea eax, [ebp - 0x4b4]
mov byte [ebp - 4], 1
call fcn.1000513f
lea eax, [ebp - 0x19c]
push eax
push dword [ebp - 0x4a4]
xor edi, edi
mov eax, 0x20019
lea ebx, [ebp - 0x4c0]
mov dword [ebp - 0x4a8], esi
mov dword [ebp - 0x4c0], edi
mov dword [ebp - 0x4bc], edi
mov dword [ebp - 0x4b8], edi
call fcn.1000b6ef
test eax, eax
jne 0x10005455
push edi
mov eax, ebx
mov dword [ebp - 0x4c4], esi
push eax
lea esi, [ebp - 0x4c4]
lea edi, [ebp - 0x28c]
call fcn.100056ce
test eax, eax
jne 0x1000544a
mov eax, edi
push eax
push dword [ebp - 0x4b0]
call fcn.1000dfd1
pop ecx
pop ecx
test eax, eax
je 0x10005470
lea esi, [ebp - 0x4c0]
call fcn.1000b7ae
lea esi, [ebp - 0x4c0]
call fcn.1000b7ae
inc dword [ebp - 0x498]
push 0x78
xor edi, edi
pop esi
jmp 0x10005376
lea esi, [ebp - 0x4c0]
call fcn.1000b7ae
lea esi, [ebp - 0x1c]
call fcn.10004bca
xor edi, edi
inc edi
lea esi, [ebp - 0x4a4]
call fcn.1000b7ae
mov eax, edi
jmp 0x100055f3
lea esi, [ebp - 0x4a4]
call fcn.1000b7ae
cmp dword [ebp - 0x18], edi
je 0x100054ec
push edi
call fcn.1000db6e
push eax
call fcn.1000ec6d
pop ecx
pop ecx
call fcn.1000ec7f
xor edx, edx
div dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, edx
cmp edx, edi
jmp 0x100054cc
dec ecx
cmp ecx, edi
mov eax, dword [eax]
jg 0x100054c9
cmp ecx, edi
jge 0x100054dc
neg ecx
dec ecx
mov eax, dword [eax + 4]
jne 0x100054d6
push dword [eax + 8]
lea eax, [ebp - 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea esi, [ebp - 0x1c]
call fcn.10004bca
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp word [ebp - 0x19c], di
jne 0x1000554d
mov dword [ebp - 0x28], 0x660f6620
mov dword [ebp - 0x24], 0x6603660a
mov dword [ebp - 0x20], 0x661f6635
mov dword [ebp - 0x1c], 0x66126615
mov dword [ebp - 0x18], 0x660b6603
mov dword [ebp - 0x14], 0x66666654
xor eax, eax
xor byte [ebp + eax - 0x28], 0x66
inc eax
cmp eax, 0x18
jb 0x1000552f
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x1000555b
push 0x10024320
lea eax, [ebp - 0x19c]
push eax
call esi
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x494]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x1002431c
lea eax, [ebp - 0x494]
push eax
call esi
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x494]
push eax
call esi
call fcn.1000b059
neg eax
sbb eax, eax
lea ecx, [ebp - 0x494]
push ecx
push dword [ebp - 0x4ac]
and eax, 0x100
or eax, 0x20006
lea ecx, [ebp - 0x4a4]
call fcn.1000b627
test eax, eax
jne 0x100055e6
push dword [ebp - 0x4b0]
lea eax, [ebp - 0x4a4]
push edi
push eax
call fcn.10005161
mov edi, eax
neg edi
sbb edi, edi
lea esi, [ebp - 0x4a4]
inc edi
call fcn.1000b7ae
jmp 0x10005486
lea esi, [ebp - 0x4a4]
call fcn.1000b7ae
xor eax, eax
call fcn.1001b3a1
ret