Function at 0x10011fa9
Capabilities:
Create thread
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100385bd
mov eax, dword fs:[0]
push eax
sub esp, 0x858
mov eax, dword [0x10045390]
xor eax, esp
mov dword [esp + 0x850], eax
push ebx
push esi
push edi
mov eax, dword [0x10045390]
xor eax, esp
push eax
lea eax, [esp + 0x868]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x54], eax
push str.A686911000006E71
lea eax, [esp + 0x1c]
push eax
call fcn.1000cba8
push str.PLUG0
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
mov dword [esp + 0x878], ebx
call fcn.1000cc63
lea eax, [esp + 0x34]
push eax
push 0xf003f
push ebx
push dword [esp + 0x24]
mov dword [esp + 0x44], ebx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x1001238e
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], 0x400
push ebx
jmp 0x10012372
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea eax, [esp + 0x44]
push eax
push 0x20019
push ebx
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x880], 1
push dword [esp + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x10012331
push ebx
push ebx
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x48]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esp + 0x70]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
jne 0x100121ce
mov esi, dword [esp + 0x40]
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
mov dword [esp + 0x20], esi
neg ecx
or ecx, eax
mov edi, ecx
push edi
call fcn.10019ca9
mov esi, eax
pop ecx
cmp esi, ebx
je 0x10012101
push edi
push ebx
push esi
call fcn.100207d0
add esp, 0xc
mov dword [esp + 0x1c], esi
jmp 0x10012105
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x1c], ebx
je 0x1001238e
mov eax, dword [esp + 0x3c]
inc eax
push eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x4c], eax
mov esi, eax
call fcn.10019ca9
mov edi, eax
pop ecx
cmp edi, ebx
je 0x10012138
push esi
push ebx
push edi
call fcn.100207d0
add esp, 0xc
jmp 0x1001213a
xor edi, edi
cmp edi, ebx
je 0x1001238e
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x38], ebx
jbe 0x100121bd
mov eax, dword [esp + 0x40]
inc eax
push eax
push ebx
push dword [esp + 0x24]
mov dword [esp + 0x2c], eax
call fcn.100207d0
mov eax, dword [esp + 0x48]
inc eax
push eax
push ebx
push edi
mov dword [esp + 0x60], eax
call fcn.100207d0
add esp, 0x18
lea eax, [esp + 0x48]
push eax
push edi
lea eax, [esp + 0x60]
push eax
push ebx
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x30]
push dword [esp + 0x2c]
push dword [esp + 0x60]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
push edi
push dword [esp + 0x30]
add eax, edi
lea esi, [esp + 0x30]
call fcn.10013c82
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x38]
jb 0x1001214c
push dword [esp + 0x1c]
call fcn.1001d3d4
push edi
call fcn.1001d3d4
pop ecx
pop ecx
push dword [esp + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
sub esi, edi
mov eax, 0xd8
mov dword [esp + 0x20], esi
cmp esi, eax
jae 0x10012204
mov byte [esp + 0x870], bl
cmp edi, ebx
je 0x10012354
push edi
jmp 0x1001234e
push eax
call fcn.1001cd81
pop ecx
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x100123c0
cmp esi, ebx
je 0x100121ef
push 0x36
mov esi, edi
pop ecx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x20]
add ecx, 0xffffff20
cmp dword [eax + 0x6c], ecx
je 0x1001224f
push eax
call fcn.1001c63a
mov byte [esp + 0x874], bl
push dword [esp + 0x28]
call fcn.1001c63a
pop ecx
jmp 0x10012353
push 8
call fcn.1001cd81
mov esi, eax
pop ecx
mov dword [esp + 0x20], esi
cmp esi, ebx
je 0x100123cd
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xd8]
mov edi, dword [esp + 0x14]
mov dword [esi], ecx
mov eax, dword [eax + 0xdc]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x6c]
push eax
mov dword [esp + 0x18], eax
call fcn.10019ca9
pop ecx
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x100122ac
push dword [esp + 0x14]
push ebx
push eax
call fcn.100207d0
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x100122b0
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x14], ebx
je 0x100123cd
push dword [edi + 0x6c]
mov eax, dword [esp + 0x28]
add eax, 0xe0
push eax
push dword [esp + 0x1c]
call fcn.1001ff30
mov eax, dword [esp + 0x20]
mov dword [esi], edi
mov dword [esi + 4], eax
push dword [edi + 0x6c]
push eax
call fcn.1000ad05
mov esi, dword [esp + 0x68]
add esp, 0x14
add esi, 0x2c
lea eax, [esp + 0x20]
call fcn.10013334
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x28]
je 0x1001230d
push ebx
push dword [esp + 0x2c]
push eax
call fcn.1001c6b0
add esp, 0xc
cmp byte [edi + 0xd4], bl
je 0x10012331
push ebx
push ebx
push dword [esp + 0x28]
push 0x1000efae
push ebx
push ebx
call fcn.1001dafd
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [esp + 0x50]
mov byte [esp + 0x870], bl
mov dword [esp + 0x4c], 0x400
cmp dword [esp + 0x24], ebx
je 0x10012354
push dword [esp + 0x24]
call fcn.1001c63a
pop ecx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x68]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
push dword [esp + 0x50]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1001205d
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.1000160d
mov ecx, dword [esp + 0x868]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x850]
xor ecx, esp
call fcn.1001c645
mov esp, ebp
pop ebp
ret 4
cmp edi, ebx
je 0x1001238e
push edi
call fcn.1001c63a
pop ecx
jmp 0x1001238e
push dword [esp + 0x24]
jmp 0x100123c5