Function at 0x1034169
Capabilities:
Set registry value

Disassembly:
push 0x78
mov eax, 0x10462d4
call fcn.010383ac
lea eax, [ebp - 0x2c]
push eax
mov esi, ecx
call fcn.01032526
xor edi, edi
push 0x10018f8
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.01021133
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x2c]
inc bl
call fcn.0100a063
test bl, bl
je 0x10341fa
lea ecx, [ebp - 0x2c]
call fcn.0100a369
xor ebx, ebx
lea eax, [ebp - 0x3c]
inc ebx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.RPCRT4.dll_UuidCreate]
test eax, eax
jne 0x103431d
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
jne 0x103431d
push dword [ebp - 0x5c]
mov ecx, esi
call fcn.0100a6fa
or dword [ebp - 4], 0xffffffff
push edi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0100a063
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp - 0x84]
push 0x10038b8
push eax
xor ebx, ebx
call fcn.01031502
push 0x100389c
push eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 4], 2
call fcn.0103237e
add esp, 0x18
push edi
push 1
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.0100a063
push 0xffffffffffffffff
push edi
push esi
lea ecx, [ebp - 0x58]
call fcn.01021c6c
cmp dword [ebp - 0x40], 8
mov eax, dword [ebp - 0x54]
jae 0x1034254
lea eax, [ebp - 0x54]
push edi
lea ecx, [ebp - 0x64]
push ecx
push edi
push 0x20006
push edi
push edi
push edi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10343e1
lea ebx, [esi + 0x38]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x34]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push 0x100387c
lea ecx, [ebp - 0x2c]
call fcn.0100a764
lea eax, [ebp - 0x2c]
lea ebx, [esi + 0x54]
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.01033bec
mov ecx, dword [ebp - 0x34]
push edi
mov dword [eax], ecx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0100a063
push 0x100385c
lea ecx, [ebp - 0x2c]
call fcn.0100a764
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.01033bec
mov ecx, dword [ebp - 0x30]
push edi
mov dword [eax], ecx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0100a063
mov edi, 0x104fc3c
mov dword [ebp - 0x5c], 5
lea eax, [edi - 4]
push eax
lea eax, [ebp - 0x68]
push eax
mov ecx, ebx
call fcn.01032138
mov eax, dword [eax]
cmp eax, dword [esi + 0x58]
je 0x103434f
cmp dword [edi + 0x14], 8
jb 0x103432e
mov eax, dword [edi]
mov dword [ebp - 0x60], eax
jmp 0x1034331
push edi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0100a063
xor eax, eax
jmp 0x10343ee
mov dword [ebp - 0x60], edi
push 4
lea eax, [edi - 4]
push eax
mov ecx, ebx
call fcn.01033bec
push eax
push 4
push 0
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add edi, 0x1c
dec dword [ebp - 0x5c]
jne 0x10342fa
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
mov dword [ebp - 0x60], eax
cmp eax, ecx
je 0x10343d3
lea edi, [eax + 0xc]
lea ebx, [esi + 0x48]
push edi
mov ecx, ebx
call fcn.01033b6e
cmp dword [eax + 0x18], 8
jb 0x103437c
mov eax, dword [eax + 4]
jmp 0x103437f
add eax, 4
push edi
mov ecx, ebx
mov dword [ebp - 0x5c], eax
call fcn.01033b6e
cmp dword [eax + 0x18], 8
jb 0x1034395
mov ebx, dword [eax + 4]
jmp 0x1034398
lea ebx, [eax + 4]
cmp dword [edi + 0x18], 8
jb 0x10343a3
mov edi, dword [edi + 4]
jmp 0x10343a6
add edi, 4
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push edi
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x60]
call fcn.01031e71
mov eax, dword [ebp - 0x60]
cmp eax, dword [esi + 0x4c]
jne 0x1034363
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
inc ebx
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.0100a063
mov eax, ebx
call fcn.0103843e
ret