Function at 0x10002650
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x1000dcdc
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x10012324]
xor eax, esp
mov dword [esp + 0x16c], eax
push ebx
push esi
push edi
mov eax, dword [0x10012324]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
lea ecx, [esp + 0x2c]
call fcn.10001f10
mov ecx, 0xa
mov esi, str.amZqZmZTb2Z0d2FyZVxNaWNyb3NvZnRcTU1TTkc
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
push 0xdb
lea eax, [esp + 0xa5]
push ebx
push eax
mov dword [esp + 0x194], ebx
movsb byte es:[edi], byte [esi]
call fcn.100055e0
mov edi, 0xf
lea eax, [esp + 0x84]
add esp, 0xc
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100026e0
sub eax, edx
push eax
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x4c]
call fcn.10001820
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x190], 1
call fcn.10002010
add esp, 8
test al, al
mov esi, 0x10
sete byte [esp + 0x13]
mov byte [esp + 0x188], bl
cmp dword [esp + 0x5c], esi
jb 0x10002738
mov ecx, dword [esp + 0x48]
push ecx
call fcn.100057cd
add esp, 4
cmp byte [esp + 0x13], bl
je 0x1000276f
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x1000274f
push eax
call fcn.100057cd
add esp, 4
mov edx, dword [esp + 0x2c]
push edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.100057cd
add esp, 4
xor al, al
jmp 0x10002a0b
lea ecx, [esp + 0x60]
call fcn.10001f10
mov eax, dword [str.ASM0Y2NSZWdpc3RvclRN]
mov edx, dword [0x1000e474]
mov ecx, dword [0x1000e470]
mov dword [esp + 0x78], eax
mov eax, dword [0x1000e478]
push 0xef
mov dword [esp + 0x88], eax
mov dword [esp + 0x80], ecx
mov ecx, dword [0x1000e47c]
mov dword [esp + 0x84], edx
mov dl, byte [0x1000e480]
lea eax, [esp + 0x91]
push ebx
push eax
mov byte [esp + 0x194], 2
mov dword [esp + 0x94], ecx
mov byte [esp + 0x98], dl
call fcn.100055e0
lea eax, [esp + 0x84]
add esp, 0xc
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100027f5
sub eax, edx
push eax
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x4c]
call fcn.10001820
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x190], 3
call fcn.10002010
add esp, 8
test al, al
sete byte [esp + 0x13]
mov byte [esp + 0x188], 2
cmp dword [esp + 0x5c], esi
jb 0x10002849
mov ecx, dword [esp + 0x48]
push ecx
call fcn.100057cd
add esp, 4
cmp byte [esp + 0x13], bl
je 0x100028aa
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x10002860
push eax
call fcn.100057cd
add esp, 4
mov edx, dword [esp + 0x60]
push edx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.100057cd
mov eax, dword [esp + 0x3c]
add esp, 4
cmp eax, ebx
je 0x1000288a
push eax
call fcn.100057cd
add esp, 4
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.100057cd
add esp, 4
xor al, al
jmp 0x10002a0b
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
cmp ecx, 5
ja 0x100028bc
call fcn.100059ba
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x38]
sub edx, dword [esp + 0x6c]
add esi, 5
cmp edx, 5
ja 0x100028d5
call fcn.100059ba
mov edi, dword [esp + 0x6c]
lea eax, [esp + 0x28]
push eax
push 0x20019
push ebx
push esi
push 0x80000001
add edi, 5
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000292e
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
push ebx
push edi
push ecx
mov dword [esp + 0x34], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x18]
jne 0x100029b2
push ebx
lea ecx, [esp + 0x20]
push ecx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1000299c
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push 8
lea ecx, [esp + 0x18]
push ecx
push 0xb
push ebx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x2c]
push edi
push edx
mov dword [esp + 0x30], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x100029f7
lea ecx, [esp + 0x60]
call fcn.10001440
lea ecx, [esp + 0x2c]
call fcn.10001440
xor al, al
jmp 0x10002a0b
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
add ecx, 0x28e44000
adc eax, 0x580
cmp edx, eax
jb 0x100029f7
ja 0x100029f2
mov eax, dword [esp + 0x20]
cmp eax, ecx
jbe 0x100029f7
call fcn.100020a0
lea ecx, [esp + 0x60]
call fcn.10001440
lea ecx, [esp + 0x2c]
call fcn.10001440
mov al, 1
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.10005e7c
add esp, 0x17c
ret