Function at 0x467da7
Capabilities:
Set registry value

Disassembly:
mov eax, 0x47cb30
call fcn.004461a8
sub esp, 0x8c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x20], ecx
mov esi, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
cmp esi, eax
mov dword [ebp - 0x14], esi
je 0x467f64
jmp 0x467dd8
mov esi, dword [ebp - 0x14]
mov al, byte [esi + 0x10]
add esi, 0x10
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.004458b9
push dword [0x47fce8]
lea ecx, [ebp - 0x34]
push ebx
push esi
call fcn.004457eb
push 1
lea eax, [ebp - 0xd]
push ebx
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], ebx
mov byte [ebp - 0xd], 0x25
call fcn.004681d2
mov edi, eax
cmp edi, dword [0x47fce8]
je 0x467e9e
lea eax, [edi + 1]
push 1
push eax
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 0xd], 0x25
call fcn.004681d2
cmp eax, dword [0x47fce8]
je 0x467e9e
mov esi, eax
lea ecx, [ebp - 0x34]
sub esi, edi
lea eax, [esi - 1]
push eax
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00468083
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 1
lea ecx, [eax + 0x144]
call fcn.0046832a
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.004458b9
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 0x148]
cmp ecx, eax
je 0x467e9e
push dword [0x47fce8]
add ecx, 0x1c
inc esi
push ebx
push ecx
push esi
push edi
lea ecx, [ebp - 0x34]
call fcn.004680d8
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x467ead
mov eax, 0x47fcec
lea ecx, [ebp - 0x21]
push 1
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00401764
mov eax, dword [eax + 8]
mov byte [ebp - 4], 2
cmp eax, ebx
mov edi, 0x47e5b8
je 0x467ece
mov edi, eax
mov eax, dword [ebp - 0x30]
cmp eax, ebx
jne 0x467eda
mov eax, 0x47fcec
lea ecx, [ebp - 0x19]
push 1
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.00401764
mov esi, dword [eax + 8]
cmp esi, ebx
jne 0x467ef8
mov esi, 0x47e5b8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [ebp + 0xc]
push esi
push 1
pop esi
push esi
push ebx
push edi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
lea ecx, [ebp - 0x98]
setne byte [ebp - 0xd]
call fcn.00401bc7
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.00401bc7
cmp byte [ebp - 0xd], bl
je 0x467f42
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x154], ebx
je 0x467f7b
or dword [ebp - 4], 0xffffffff
push esi
lea ecx, [ebp - 0x34]
call fcn.004458b9
add dword [ebp - 0x14], 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x20]
jne 0x467dd5
mov edi, eax
mov eax, dword [edi + 0x2c]
cmp eax, dword [edi + 0x30]
mov dword [ebp - 0x18], eax
je 0x468049
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x467f90
or dword [ebp - 4], 0xffffffff
push esi
lea ecx, [ebp - 0x34]
call fcn.004458b9
jmp 0x468067
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 4], 3
cmp eax, ebx
jne 0x467fa6
mov eax, 0x47fcec
lea ecx, [ebp - 0x19]
push 1
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00401764
mov eax, dword [eax + 8]
mov ecx, 0x47e5b8
cmp eax, ebx
je 0x467fc3
mov ecx, eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp + 8]
mov eax, dword [eax]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push ecx
push eax
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x467ffc
xor eax, eax
cmp dword [ebp - 0x14], ebx
je 0x467ff4
push dword [ebp - 0x14]
call esi
mov ecx, dword [ebp + 8]
cmp eax, ebx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x70]
setne byte [ebp + 0xb]
call fcn.00401bc7
cmp byte [ebp + 0xb], bl
jne 0x468020
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call fcn.00467da7
test eax, eax
jne 0x46802b
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x154], ebx
je 0x46805d
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], ebx
je 0x468039
push dword [ebp - 0x14]
call esi
add dword [ebp - 0x18], 0x38
mov eax, dword [ebp - 0x18]
cmp eax, dword [edi + 0x30]
jne 0x467f8d
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
cmp dword [ebp - 0x14], ebx
je 0x468067
push dword [ebp - 0x14]
call esi
xor eax, eax
jmp 0x46804c