Function at 0x47019a
Capabilities:
Set registry value

Disassembly:
push 0x74
mov eax, 0x494c0c
call fcn.0048e6b2
mov edi, ecx
lea eax, [ebp - 0x74]
push eax
call fcn.00470868
xor esi, esi
push esi
push 0x40efc8
mov dword [ebp - 4], esi
push dword [eax + 0x14]
push ecx
mov ecx, eax
call fcn.00472789
mov ebx, eax
lea ecx, [ebp - 0x74]
neg ebx
push esi
sbb bl, bl
or dword [ebp - 4], 0xffffffff
inc esi
push esi
call fcn.0041ab08
add bl, 1
je 0x470250
xor ebx, ebx
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], esi
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreate]
test eax, eax
jne 0x47023f
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
jne 0x47023f
push 0xff
push dword [ebp - 0x78]
mov ecx, edi
call fcn.00418e45
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
push ebx
push esi
call fcn.0041ab08
jmp 0x470252
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.0041ab08
xor eax, eax
jmp 0x470422
xor ebx, ebx
lea eax, [edi + 0x1c]
mov edx, 0x4124a8
push eax
lea ecx, [ebp - 0x74]
mov esi, ebx
call fcn.004726ea
mov edx, eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0047273a
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.0041ab08
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [ebp - 0x58]
call fcn.0042271c
cmp dword [ebp - 0x40], 8
mov eax, dword [ebp - 0x54]
jae 0x47029e
lea eax, [ebp - 0x54]
push ebx
lea ecx, [ebp - 0x7c]
push ecx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x470415
lea esi, [edi + 0x38]
push esi
call dword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetSystemTime]
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.api_ms_win_core_timezone_l1_1_0.dll_SystemTimeToFileTime]
push 0x41244c
lea ecx, [ebp - 0x2c]
call fcn.004180ac
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
lea ebx, [edi + 0x54]
push eax
mov ecx, ebx
call fcn.00470b51
mov ecx, dword [ebp - 0x34]
push 0
push 1
mov dword [eax], ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0041ab08
push 0x41246c
lea ecx, [ebp - 0x2c]
call fcn.004180ac
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
call fcn.00470b51
mov ecx, dword [ebp - 0x30]
push 0
push 1
mov dword [eax], ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0041ab08
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx]
mov dword [ebp - 0x78], eax
cmp eax, ecx
je 0x470380
add eax, 0xc
cmp dword [eax + 0x18], 8
jb 0x470354
mov esi, dword [eax + 4]
jmp 0x470357
lea esi, [eax + 4]
push 4
push eax
mov ecx, ebx
call fcn.00470b51
push eax
push 4
push 0
push esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x78]
call fcn.00470e5c
mov eax, dword [ebp - 0x78]
cmp eax, dword [edi + 0x58]
jne 0x470346
mov ecx, dword [edi + 0x4c]
mov eax, dword [ecx]
mov dword [ebp - 0x80], eax
cmp eax, ecx
je 0x470407
lea ecx, [edi + 0x48]
lea esi, [eax + 0xc]
push esi
call fcn.00470c37
cmp dword [eax + 0x18], 8
jb 0x4703a6
mov ebx, dword [eax + 4]
mov dword [ebp - 0x78], ebx
jmp 0x4703ac
add eax, 4
mov dword [ebp - 0x78], eax
push esi
lea ecx, [edi + 0x48]
call fcn.00470c37
cmp dword [eax + 0x18], 8
jb 0x4703c0
mov ebx, dword [eax + 4]
jmp 0x4703c3
lea ebx, [eax + 4]
cmp dword [esi + 0x18], 8
jb 0x4703ce
mov esi, dword [esi + 4]
jmp 0x4703d1
add esi, 4
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
xor ebx, ebx
push ebx
push esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x80]
call fcn.00471036
mov eax, dword [ebp - 0x80]
lea ecx, [edi + 0x48]
cmp eax, dword [edi + 0x4c]
jne 0x47038f
jmp 0x470409
xor ebx, ebx
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.0041ab08
mov eax, esi
call fcn.0048e652
ret