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

Disassembly:
push 0xffffffffffffffff
push 0x50a162
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x438
push ebp
push 0x5705d0
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], 0x104
call fcn.004e1e9b
mov ebp, dword [esp + 0x44c]
lea eax, [esp + 0x1c]
push ebp
push 0x56027c
push eax
mov dword [esp + 0x450], 0
call fcn.004d736f
mov edx, dword [esp + 0x28]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push edx
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x43b5f4
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x43b5f4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x444], 0xffffffff
call fcn.004e1e27
xor eax, eax
jmp 0x43baed
mov eax, dword [esp + 0x450]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
test eax, eax
push edi
je 0x43b7ce
mov al, byte [0x575030]
test al, 1
jne 0x43b633
or al, 1
push 0x57502c
mov byte [0x575030], al
call fcn.004ab8b0
push 0x43bb10
call fcn.004be617
add esp, 8
mov edx, dword [0x57502c]
mov eax, dword [edx - 8]
test eax, eax
je 0x43baca
push 0x5705d0
lea ecx, [esp + 0x20]
call fcn.004e1e9b
mov eax, dword [0x57502c]
lea ecx, [esp + 0x1c]
push eax
push 0x560264
push ecx
mov byte [esp + 0x45c], 1
call fcn.004d736f
mov eax, dword [0x575f34]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [esp + 0x28]
add esp, 0xc
mov edi, eax
push eax
call ebp
mov edx, dword [esp + 0x18]
shl eax, 1
push eax
push edi
push 1
push 0
push 0x5705d0
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [esp + 0x14]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x55cbfc
push edx
call edi
lea eax, [esp + 0x14]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x560254
push edx
call edi
push esi
call ebp
shl eax, 1
push eax
mov eax, dword [esp + 0x28]
push esi
push 1
push 0
push 0x5705d0
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x24]
push ecx
call ebx
push 0x560244
lea ecx, [esp + 0x24]
call fcn.004e1e9b
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x458], 2
call fcn.004ac1f0
add esp, 8
mov byte [esp + 0x450], 1
lea ecx, [esp + 0x20]
call fcn.004e1e27
mov ecx, dword [esp + 0x10]
push ecx
call ebx
mov ecx, dword [0x575f34]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push ecx
push edx
call edi
lea eax, [esp + 0x14]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x560254
push edx
call edi
push esi
call ebp
shl eax, 1
push eax
mov eax, dword [esp + 0x28]
push esi
push 1
push 0
push 0x5705d0
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x10]
push ecx
call ebx
mov edx, dword [esp + 0x24]
push edx
call ebx
mov byte [esp + 0x450], 0
lea ecx, [esp + 0x1c]
jmp 0x43bac5
lea eax, [esp + 0x20]
push eax
call fcn.004226f0
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [esp + 0x38]
push ebp
push ecx
mov byte [esp + 0x458], 3
call esi
push 0x575f34
lea edx, [esp + 0x34]
push 0x55c3b8
push edx
call fcn.004e2140
push 0x560230
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x458], 4
push eax
call fcn.004e20cc
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 0x38]
push eax
push ecx
call edi
lea ecx, [esp + 0x34]
call fcn.004e1e27
lea ecx, [esp + 0x30]
mov byte [esp + 0x450], 3
call fcn.004e1e27
push 0x5705d0
lea ecx, [esp + 0x18]
call fcn.004e1e9b
lea edx, [esp + 0x38]
lea eax, [esp + 0x14]
push edx
push 0x56027c
push eax
mov byte [esp + 0x45c], 5
call fcn.004d736f
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea edx, [esp + 0x38]
push ebp
push edx
call esi
push 0x575f34
lea eax, [esp + 0x34]
push 0x55c3b8
push eax
call fcn.004e2140
mov eax, dword [eax]
lea ecx, [esp + 0x38]
push eax
push ecx
call edi
lea ecx, [esp + 0x30]
call fcn.004e1e27
lea edx, [esp + 0x38]
lea eax, [esp + 0x14]
push edx
push 0x56027c
push eax
call fcn.004d736f
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea edx, [esp + 0x38]
push ebp
push edx
call esi
lea eax, [esp + 0x38]
push 0x55c3b8
push eax
call fcn.004bde5d
add esp, 8
lea ecx, [esp + 0x38]
mov word [eax], 0
push 0x560214
push ecx
call edi
lea edx, [esp + 0x38]
lea eax, [esp + 0x14]
push edx
push 0x56027c
push eax
call fcn.004d736f
mov edx, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push edx
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43b9b2
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x240]
push eax
push ecx
push 0
push 0
push 0x5705d0
push edx
mov dword [esp + 0x44], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x240]
push eax
push ecx
call esi
lea edx, [esp + 0x240]
push 0x56020c
push edx
call edi
lea eax, [esp + 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x240]
shl eax, 1
push eax
push ecx
push 1
push 0
push 0x5705d0
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea ecx, [esp + 0x10]
push ecx
push 0x5601fc
push edx
call esi
test eax, eax
jne 0x43b9ea
push 0xe
push 0x5601fc
push 1
push eax
mov eax, dword [esp + 0x28]
push 0x5705d0
push eax
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call ebx
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push 0x55cbfc
push eax
call esi
test eax, eax
jne 0x43baa8
mov ecx, dword [esp + 0x18]
push 0xa
push 0x55cbfc
push 1
push eax
push 0x5705d0
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call ebx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push 0x5601e0
push ecx
call esi
test eax, eax
jne 0x43baa1
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x240]
push edx
push eax
push 0
push 0
push 0x5705d0
push ecx
mov dword [esp + 0x44], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x240]
push edx
push 0x5601cc
push eax
call fcn.004be52a
add esp, 0xc
lea ecx, [esp + 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
lea edx, [esp + 0x240]
push eax
mov eax, dword [esp + 0x14]
push edx
push 1
push 0
push 0x5705d0
push eax
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x450], 3
call fcn.004e1e27
mov byte [esp + 0x450], 0
lea ecx, [esp + 0x20]
call fcn.004e1e27
mov edx, dword [esp + 0x18]
push edx
call ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x450], 0xffffffff
call fcn.004e1e27
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x43c]
pop ebp
mov dword fs:[0], ecx
add esp, 0x444
ret 8