Function at 0x473270
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x881d6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [0xba37c1]
test eax, eax
je 0x4732a6
mov dword [ebp - 0x54], str.SoftwareRedGiantSoftwareLooksBuilderQL
jmp 0x4732ad
mov dword [ebp - 0x54], str.SoftwareRedGiantSoftwareLooksBuilder
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 2
push 0
push 0
push 0
mov edx, dword [ebp - 0x54]
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4734f1
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
sub eax, dword [ecx + 0xc]
cdq
mov ecx, 0x1c
idiv ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x28], 0
jmp 0x47330b
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x20]
jge 0x47335c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x10]
sub eax, dword [edx + 0xc]
cdq
mov ecx, 0x1c
idiv ecx
cmp dword [ebp - 0x28], eax
jb 0x473331
call fcn.0083d831
xor edx, edx
jne 0x473331
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x1c
mov ecx, dword [ebp + 0xc]
add eax, dword [ecx + 0xc]
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x1c]
lea eax, [edx + ecx + 1]
mov dword [ebp - 0x1c], eax
jmp 0x473302
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00822266
add esp, 4
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x473392
mov dword [ebp - 0x38], 0xffffffff
push 0xb69a64
lea ecx, [ebp - 0x38]
push ecx
call fcn.0083d8fb
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], 0
jmp 0x4733aa
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x20]
jge 0x47349f
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, ecx
cdq
mov ecx, 0x1c
idiv ecx
cmp dword [ebp - 0x2c], eax
jb 0x4733d6
call fcn.0083d831
xor edx, edx
jne 0x4733d6
mov eax, dword [ebp - 0x2c]
imul eax, eax, 0x1c
mov ecx, dword [ebp + 0xc]
add eax, dword [ecx + 0xc]
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, ecx
cdq
mov ecx, 0x1c
idiv ecx
cmp dword [ebp - 0x2c], eax
jb 0x473418
call fcn.0083d831
xor edx, edx
jne 0x473418
mov eax, dword [ebp - 0x2c]
imul eax, eax, 0x1c
mov ecx, dword [ebp + 0xc]
add eax, dword [ecx + 0xc]
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
cmp dword [edx + 0x18], 0x10
jb 0x47343f
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x5c], ecx
jmp 0x473448
mov edx, dword [ebp - 0x50]
add edx, 4
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x60]
mov cl, byte [eax]
mov byte [ebp - 0x69], cl
mov edx, dword [ebp - 0x64]
mov al, byte [ebp - 0x69]
mov byte [edx], al
mov ecx, dword [ebp - 0x60]
add ecx, 1
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x64]
add edx, 1
mov dword [ebp - 0x64], edx
cmp byte [ebp - 0x69], 0
jne 0x47345a
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov byte [ecx], 0
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
jmp 0x4733a1
mov eax, dword [ebp - 0x24]
mov byte [eax], 0
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push 7
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0082225b
add esp, 4
jmp 0x4734ea
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret