Function at 0x1000c880
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020465
mov eax, dword fs:[0]
push eax
mov eax, 0x133c
call fcn.1000f3f0
mov eax, dword [0x1002b130]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x1318], 0
mov dword [ebp - 0x1314], 0
mov dword [ebp - 0x1310], 0
xor edi, edi
mov dword [ebp - 0x130c], edi
mov dword [ebp - 0x1308], edi
mov dword [ebp - 0x1304], edi
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x12fc]
mov dword [ebp - 0x98], 0x6f0053
mov dword [ebp - 0x94], 0x740066
mov dword [ebp - 0x90], 0x610077
mov dword [ebp - 0x8c], 0x650072
mov dword [ebp - 0x88], 0x5c005c
mov dword [ebp - 0x84], 0x69004d
mov dword [ebp - 0x80], 0x720063
mov dword [ebp - 0x7c], 0x73006f
mov dword [ebp - 0x78], 0x66006f
mov dword [ebp - 0x74], 0x5c0074
mov dword [ebp - 0x70], 0x57005c
mov dword [ebp - 0x6c], 0x6e0069
mov dword [ebp - 0x68], 0x6f0064
mov dword [ebp - 0x64], 0x730077
mov dword [ebp - 0x60], 0x5c005c
mov dword [ebp - 0x5c], 0x750043
mov dword [ebp - 0x58], 0x720072
mov dword [ebp - 0x54], 0x6e0065
mov dword [ebp - 0x50], 0x560074
mov dword [ebp - 0x4c], 0x720065
mov dword [ebp - 0x48], 0x690073
mov dword [ebp - 0x44], 0x6e006f
mov dword [ebp - 0x40], 0x5c005c
mov dword [ebp - 0x3c], 0x780045
mov dword [ebp - 0x38], 0x5c0074
mov dword [ebp - 0x34], 0x53005c
mov dword [ebp - 0x30], 0x740065
mov dword [ebp - 0x2c], 0x690074
mov dword [ebp - 0x28], 0x67006e
mov dword [ebp - 0x24], 0x5c0073
mov dword [ebp - 0x20], 0x5c
call fcn.10001490
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x12fc]
mov byte [ebp - 4], 3
push dword [eax - 0xc]
push eax
call fcn.10001eb0
push 0x20006
push 0x10021a14
push VariantInit
lea ecx, [ebp - 0x1318]
call fcn.100028a0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x2a0], ax
lea eax, [ebp - 0x29e]
push eax
call fcn.1000fa70
add esp, 0xc
mov dword [ebp - 0x1320], 0x104
lea eax, [ebp - 0x1348]
mov dword [ebp - 0x12f4], edi
push eax
lea eax, [ebp - 0x1338]
push eax
lea eax, [ebp - 0x1330]
push eax
lea eax, [ebp - 0x1340]
push eax
lea eax, [ebp - 0x1328]
push eax
lea eax, [ebp - 0x132c]
push eax
lea eax, [ebp - 0x1334]
push eax
lea eax, [ebp - 0x12f4]
push eax
push edi
lea eax, [ebp - 0x1320]
push eax
lea eax, [ebp - 0x2a0]
push eax
push dword [ebp - 0x1318]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or esi, 0xffffffff
cmp dword [ebp - 0x12f4], edi
je 0x1000ccde
lea ecx, [ebp - 0x12f0]
call fcn.100015b0
xor ebx, ebx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x12f4], ebx
jbe 0x1000ccc9
nop
lea eax, [ebp - 0x1348]
mov dword [ebp - 0x1324], 0xff
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x1324]
push eax
lea eax, [ebp - 0x4a0]
push eax
push ebx
push dword [ebp - 0x1318]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1000ccbc
lea eax, [ebp - 0x4a0]
push eax
lea ecx, [ebp - 0x1300]
call fcn.10001490
mov esi, dword [ebp - 0x1300]
sub esp, 0x18
mov edx, esp
mov byte [ebp - 4], 5
xor eax, eax
mov dword [ebp - 0x12f8], esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
cmp word [esi], ax
je 0x1000cb5f
mov eax, esi
lea edi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000cb50
sub eax, edi
sar eax, 1
push eax
push esi
mov ecx, edx
call fcn.10003840
mov esi, dword [ebp + 8]
sub esp, 0x18
mov edx, esp
mov byte [ebp - 4], 6
xor eax, eax
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
cmp word [esi], ax
jne 0x1000cb90
xor ecx, ecx
jmp 0x1000cba4
mov ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000cb95
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.10003840
lea ecx, [ebp - 0x12f0]
mov byte [ebp - 4], 5
call fcn.10001f80
mov eax, dword [ebp - 0x1300]
add eax, 0xfffffff0
push eax
call fcn.100021c0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x12f8], eax
push 1
push 0x10021298
lea ecx, [ebp - 0x12f8]
mov byte [ebp - 4], 7
call fcn.10001eb0
mov eax, dword [ebp - 0x12fc]
lea ecx, [ebp - 0x12f8]
push dword [eax - 0xc]
push eax
call fcn.10001eb0
mov esi, dword [ebp - 0x12f8]
lea ecx, [ebp - 0x130c]
push 0xf003f
push esi
push VariantInit
call fcn.100028a0
mov edi, dword [ebp - 0x130c]
test eax, eax
jne 0x1000cc78
push 4
mov dword [ebp - 0x131c], eax
lea eax, [ebp - 0x131c]
push eax
push 4
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x6c0046
push eax
push edi
mov dword [ebp - 0x18], 0x670061
mov dword [ebp - 0x14], 0x73
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x1000cc6e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x130c], edi
mov dword [ebp - 0x1308], 0
add esi, 0xfffffff0
mov byte [ebp - 4], 5
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000cc96
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1300]
or esi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 4
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000ccbc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
cmp ebx, dword [ebp - 0x12f4]
jb 0x1000cad0
lea ecx, [ebp - 0x12f0]
mov byte [ebp - 4], 3
call fcn.10001a80
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x12fc]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000cd01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x1000cd08
push edi
call ebx
mov eax, dword [ebp - 0x1318]
test eax, eax
je 0x1000cd15
push eax
call ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x1000cd36
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000ef8b
mov esp, ebp
pop ebp
ret