Function at 0x475b20
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a210c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x73c
push str.RUp3EaBYl0ERwyQKwUNDGQcedCzclABAcj7Pis_ZLCQTCBzI52Kysw0OAUNsKz4hYDTc5yHgcrxFiUdKKw
lea ecx, [ebp - 0x128]
call fcn.00414250
mov dword [ebp - 4], 0
push str.T1Bv3Wh8TQLio_
lea ecx, [ebp - 0xf8]
call fcn.00414250
mov byte [ebp - 4], 1
push 0x104
lea eax, [ebp - 0x348]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x1c]
push ecx
push 0xf003f
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc4], esp
lea edx, [ebp - 0x128]
push edx
call fcn.004140f0
lea eax, [ebp - 0x40]
push eax
call fcn.0045d680
add esp, 0x1c
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
call fcn.004192d0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x44], edx
lea ecx, [ebp - 0x40]
call fcn.004168d0
cmp dword [ebp - 0x44], 0
jne 0x476003
mov dword [ebp - 0x50], 0x200
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc8], esp
lea eax, [ebp - 0xf8]
push eax
call fcn.004140f0
lea ecx, [ebp - 0x5c]
push ecx
call fcn.0045d680
add esp, 0x1c
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 0x4c]
call fcn.004192d0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x748]
push edx
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x5c]
call fcn.004168d0
cmp dword [ebp - 0x18], 0
je 0x475f4d
movzx edx, byte [ebp + 8]
test edx, edx
je 0x475f4d
push str.RVl0TdmowZGh8x
lea ecx, [ebp - 0x140]
call fcn.00414250
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004129b0
mov byte [ebp - 4], 3
mov dword [ebp - 0xcc], 0x18
push 0x5b29b4
lea ecx, [ebp - 0x110]
call fcn.00414250
mov byte [ebp - 4], 4
lea eax, [ebp - 0x110]
push eax
call fcn.00474780
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x475de4
push str.SlFn1VTojECDE_3MhM
lea ecx, [ebp - 0x30]
call fcn.004128a0
mov byte [ebp - 4], 5
push str.b1BQCZQ4gUIDofnMSIETAg8zBDQ4LNwAL
lea ecx, [ebp - 0x2c]
call fcn.004128a0
mov byte [ebp - 4], 6
push 0x5b2a28
lea ecx, [ebp - 0x28]
call fcn.004128a0
mov byte [ebp - 4], 7
push 0x5b2a2c
lea ecx, [ebp - 0x24]
call fcn.004128a0
mov byte [ebp - 4], 8
push 0x5b2a30
lea ecx, [ebp - 0x20]
call fcn.004128a0
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00412760
lea eax, [ebp - 0x7c]
push eax
call fcn.0045d3b0
add esp, 8
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x70], edx
push ecx
mov ecx, esp
mov dword [ebp - 0xd4], esp
lea eax, [ebp - 0x30]
push eax
call fcn.00412760
lea ecx, [ebp - 0x78]
push ecx
call fcn.0045d3b0
add esp, 8
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call fcn.0047c420
add esp, 0x14
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x78]
call fcn.004168d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x7c]
call fcn.004168d0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.004168d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.004168d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.004168d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.004168d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004168d0
lea ecx, [ebp - 0x110]
call fcn.00428590
mov dword [ebp - 0x88], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xd8], esp
lea eax, [ebp - 0x140]
push eax
call fcn.004140f0
lea ecx, [ebp - 0x90]
push ecx
call fcn.0045d680
add esp, 0x1c
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x84], edx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x84]
call fcn.004192d0
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x348]
push edx
push str.__ws___ws__ws
lea eax, [ebp - 0x14]
push eax
call fcn.0041fe00
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x90]
call fcn.004168d0
lea ecx, [ebp - 0x14]
call fcn.004192d0
push eax
call fcn.0057695a
add esp, 4
shl eax, 1
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x14]
call fcn.004192d0
mov dword [ebp - 0xa0], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xdc], esp
lea edx, [ebp - 0xf8]
push edx
call fcn.004140f0
lea eax, [ebp - 0xac]
push eax
call fcn.0045d680
add esp, 0x1c
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
mov ecx, dword [ebp - 0x98]
call fcn.004192d0
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
push 1
push 0
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0xac]
call fcn.004168d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x110]
call fcn.00417530
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004168d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x140]
call fcn.00417530
jmp 0x475fcf
cmp dword [ebp - 0x18], 0
jne 0x475fcf
movzx ecx, byte [ebp + 8]
test ecx, ecx
jne 0x475fcf
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe0], esp
lea edx, [ebp - 0xf8]
push edx
call fcn.004140f0
lea eax, [ebp - 0xc0]
push eax
call fcn.0045d680
add esp, 0x1c
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], ecx
mov ecx, dword [ebp - 0xb4]
call fcn.004192d0
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0xc0]
call fcn.004168d0
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf8]
call fcn.00417530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.00417530
mov al, byte [ebp - 0xd]
jmp 0x47602b
mov byte [ebp - 0xe], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf8]
call fcn.00417530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.00417530
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret