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

Disassembly:
push 0xffffffffffffffff
push 0x10028bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10032f68]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10032f68]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, ecx
push 0xffffffffffffffff
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x20], eax
add eax, 0x114
push esi
mov word [esp + 0x38], cx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], esi
call fcn.10009d10
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x54], esi
cmp ecx, 8
jb 0x10013ac0
mov edi, edx
mov dword [esp + 0x14], edi
cmp edx, esi
je 0x100138f3
mov eax, edx
cmp ecx, 8
jae 0x100138d9
lea eax, [esp + 0x30]
cmp eax, edi
ja 0x100138f3
mov eax, edx
cmp ecx, 8
jae 0x100138e8
lea eax, [esp + 0x30]
mov ebp, dword [esp + 0x40]
lea eax, [eax + ebp*2]
cmp edi, eax
jbe 0x10013904
call fcn.10015e05
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
lea ebx, [esp + 0x2c]
mov eax, edx
cmp ecx, 8
jae 0x10013913
lea eax, [esp + 0x30]
lea edi, [eax + ebp*2]
cmp edi, esi
je 0x1001393b
mov eax, edx
cmp ecx, 8
jae 0x10013925
lea eax, [esp + 0x30]
cmp eax, edi
ja 0x1001393b
mov eax, edx
cmp ecx, 8
jae 0x10013934
lea eax, [esp + 0x30]
lea eax, [eax + ebp*2]
cmp edi, eax
jbe 0x1001394c
call fcn.10015e05
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
cmp ecx, 8
jb 0x10013acf
mov esi, edx
test edx, edx
je 0x1001397c
mov eax, edx
cmp ecx, 8
jae 0x10013966
lea eax, [esp + 0x30]
cmp eax, esi
ja 0x1001397c
mov eax, edx
cmp ecx, 8
jae 0x10013975
lea eax, [esp + 0x30]
lea ecx, [eax + ebp*2]
cmp esi, ecx
jbe 0x10013981
call fcn.10015e05
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x18], 0
mov edx, dword [esp + 0x18]
push edx
push eax
push fcn.10016f5c
push ecx
push ebx
push edi
lea edx, [esp + 0x3c]
push esi
push edx
call fcn.1000f490
add esp, 0x20
cmp dword [0x100347e8], 0
mov ebx, 8
jne 0x10013a8e
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebx
jae 0x100139ca
lea eax, [esp + 0x30]
push str.Halowp.exe
push eax
call fcn.100154be
add esp, 8
test eax, eax
jne 0x10013a00
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebx
jae 0x100139ea
lea eax, [esp + 0x30]
push str.Holowp.exe
push eax
call fcn.100154be
add esp, 8
test eax, eax
je 0x10013a8e
mov dword [0x100347e8], 1
call fcn.10010c20
test eax, eax
jne 0x10013a8e
call fcn.10008110
mov esi, eax
test esi, esi
je 0x10013a8e
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
push 0
push str.LivepUpdateDate
mov edi, 4
push esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
call fcn.10015c25
mov dword [esp + 0x28], eax
sub eax, dword [esp + 0x18]
add esp, 4
cmp eax, 0x15180
jbe 0x10013a87
push edi
lea eax, [esp + 0x28]
push eax
push edi
push 0
push str.LivepUpdateDate
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x1c]
call fcn.10013570
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x44], ebx
jb 0x10013aa1
mov ecx, dword [esp + 0x30]
push ecx
call fcn.10015436
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100157eb
add esp, 0x44
ret
lea eax, [esp + 0x30]
mov dword [esp + 0x14], eax
mov edi, eax
jmp 0x100138ce
lea esi, [esp + 0x30]
jmp 0x1001395b