Function at 0x431e30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3d49
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x616dec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x54], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x58], esi
mov dword [esi + 0x10], 0
jb 0x431e97
mov eax, dword [esi]
jmp 0x431e99
mov eax, esi
xor ecx, ecx
push 4
mov word [eax], cx
mov ecx, esi
push 0x5fd6bc
call fcn.00424710
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x4c], esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x431ee8
mov eax, dword [ecx]
jmp 0x431eea
mov eax, ecx
push 4
xor edx, edx
push str.UUID
mov word [eax], dx
call fcn.00424710
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x431f1f
mov eax, dword [ecx]
jmp 0x431f21
mov eax, ecx
push 0x1a
xor edx, edx
push str.SOFTWAREMicrosoftRPXUuid
mov word [eax], dx
call fcn.00424710
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.004323b0
add esp, 0x30
push 0x5fd6bc
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 2
call fcn.00426b60
test eax, eax
je 0x431f75
lea eax, [ebp - 0x44]
cmp esi, eax
je 0x432146
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00424810
jmp 0x432146
mov edi, dword [sym.imp.RPCRT4.dll_UuidCreateSequential]
lea eax, [ebp - 0x2c]
push eax
call edi
cmp eax, 0x720
jne 0x4320c5
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftRpc
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 4
lea eax, [ebp - 0x18]
push eax
push 4
push 0
push str.EnableUuidGenSupport
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x4c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
lea eax, [ebp - 0x2c]
push eax
call edi
test eax, eax
jne 0x43203f
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
jne 0x432004
push dword [ebp - 0x48]
mov ecx, esi
call fcn.00424160
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftRPXUuid
push reloc.WS2_32.dll_bind
call eax
test eax, eax
jne 0x4320bb
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x4320a2
mov ecx, dword [esi]
jmp 0x4320a4
lea eax, [ebp - 0x2c]
push eax
call edi
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
jne 0x43206b
push dword [ebp - 0x48]
mov ecx, esi
call fcn.00424160
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftRPXUuid
push reloc.WS2_32.dll_bind
call eax
test eax, eax
jne 0x4320bb
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x4320a2
mov ecx, dword [esi]
jmp 0x4320a4
mov ecx, esi
add eax, eax
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ecx
push 1
push 0
push str.UUID
push dword [ebp - 0x4c]
call eax
push dword [ebp - 0x4c]
call ebx
jmp 0x432146
test eax, eax
jne 0x432146
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
jne 0x4320ef
push dword [ebp - 0x48]
mov ecx, esi
call fcn.00424160
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.RPCRT4.dll_RpcStringFreeW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftRPXUuid
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43213d
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x432125
mov ecx, dword [esi]
jmp 0x432127
mov ecx, esi
add eax, eax
push eax
push ecx
push 1
push 0
push str.UUID
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x43215b
inc ecx
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call fcn.00424d00
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005540cc
mov esp, ebp
pop ebp
ret