Function at 0x446cc9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8d0a
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2124
call fcn.0056f680
mov eax, dword [0x649ffc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2124], ecx
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2134], eax
lea eax, [ebp - 0x2014]
push eax
mov dword [ebp - 0x212c], ecx
mov dword [ebp - 0x2128], esi
mov dword [ebp - 0x2120], edi
mov dword [ebp - 0x211c], ebx
call fcn.00446b6e
test eax, eax
js 0x4470d3
lea edx, [ebp - 0x211c]
lea ecx, [ebp - 0x2014]
call fcn.00446aa9
test eax, eax
jne 0x446d61
mov eax, 0x80020009
jmp 0x4470d3
mov ecx, dword [ebp - 0x2124]
call fcn.00446b43
mov ecx, dword [ebp - 0x2124]
lea eax, [ebp - 0x2014]
push eax
call fcn.00446b6e
test eax, eax
js 0x4470d3
movzx eax, word [ebp - 0x211c]
sub eax, 8
je 0x447082
sub eax, 9
je 0x446f20
push 2
pop edi
sub eax, edi
je 0x446edf
sub eax, 0x3ff5
jne 0x4470b9
lea eax, [ebp - 0x2014]
push eax
call fcn.0059771b
pop ecx
add eax, edi
mov dword [ebp - 0x2118], ebx
mul edi
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp edx, ebx
ja 0x4470ef
jb 0x446de6
cmp eax, 0xffffffff
ja 0x4470ef
cmp eax, 0x100
jbe 0x446dfb
push eax
lea ecx, [ebp - 0x2118]
call fcn.00448265
jmp 0x446e1d
lea esi, [ebp - 0x2114]
mov dword [ebp - 0x2118], esi
jmp 0x446e23
mov esi, dword [ebp - 0x2118]
test esi, esi
je 0x446ebe
cmp word [ebp - 0x2014], 0
lea edi, [ebp - 0x2014]
je 0x446e70
push edi
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [edi]
cmp ecx, 0x5c
jne 0x446e62
push 0x30
pop edx
cmp word [eax], dx
jne 0x446e62
xor ecx, ecx
push eax
mov word [esi], cx
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
jmp 0x446e68
mov word [esi], cx
add edi, 2
add esi, 2
cmp word [edi], bx
jne 0x446e3b
xor eax, eax
mov dword [esi], eax
mov esi, dword [ebp - 0x2118]
test esi, esi
jne 0x446e82
push 0xd
jmp 0x446ec0
mov edi, ebx
mov ebx, esi
push ebx
call fcn.0059771b
inc eax
pop ecx
lea ebx, [ebx + eax*2]
lea edi, [edi + eax*2]
cmp eax, 1
jne 0x446e86
mov eax, dword [ebp - 0x2128]
xor ebx, ebx
push edi
push esi
push 7
push ebx
push dword [ebp - 0x2120]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [ebp - 0x2118]
mov edi, eax
jmp 0x446ec1
push 0xe
pop edi
lea eax, [ebp - 0x2114]
cmp esi, eax
je 0x4470ac
lea ecx, [ebp - 0x2118]
call fcn.0044825c
jmp 0x4470ac
lea eax, [ebp - 0x212c]
push eax
push ebx
push ebx
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
js 0x4470d3
mov eax, dword [ebp - 0x212c]
push 4
mov dword [ebp - 0x211c], eax
lea eax, [ebp - 0x211c]
push eax
push 4
push ebx
push dword [ebp - 0x2120]
jmp 0x4470a2
lea eax, [ebp - 0x2014]
push eax
call fcn.0059771b
mov dword [ebp - 0x2130], eax
pop ecx
test al, 1
je 0x446f41
mov eax, 0x80004005
jmp 0x4470d3
cdq
sub eax, edx
mov dword [ebp - 0x2118], ebx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x211c], esi
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
cmp esi, 0x100
jbe 0x446f9d
push esi
lea ecx, [ebp - 0x2118]
call fcn.00448265
mov eax, dword [ebp - 0x2118]
jmp 0x446fa9
lea eax, [ebp - 0x2114]
mov dword [ebp - 0x2118], eax
test eax, eax
jne 0x446fbd
lea ecx, [ebp - 0x2118]
call fcn.0044825c
jmp 0x446f37
push esi
push ebx
push eax
call fcn.00586790
mov edi, dword [ebp - 0x2130]
add esp, 0xc
test edi, edi
jle 0x447047
mov esi, ebx
movzx ecx, word [ebp + esi*2 - 0x2014]
mov eax, esi
cdq
sub eax, edx
mov edx, ecx
sar eax, 1
add eax, dword [ebp - 0x2118]
mov dword [ebp - 0x2130], eax
mov eax, ecx
push 0x30
pop ecx
cmp ax, cx
jb 0x447023
cmp eax, 0x39
jbe 0x44701e
cmp eax, 0x40
jbe 0x447023
cmp eax, 0x46
jbe 0x447019
cmp eax, 0x60
jbe 0x447023
cmp edx, 0x66
ja 0x447023
sub dl, 0x57
jmp 0x447025
sub dl, 0x37
jmp 0x447025
sub dl, 0x30
jmp 0x447025
mov dl, bl
mov eax, esi
and eax, 1
shl eax, 2
push 4
pop ecx
sub ecx, eax
mov eax, dword [ebp - 0x2130]
shl dl, cl
or byte [eax], dl
inc esi
cmp esi, edi
jl 0x446fd4
mov esi, dword [ebp - 0x211c]
mov eax, dword [ebp - 0x2128]
push esi
push dword [ebp - 0x2118]
push 3
push ebx
push dword [ebp - 0x2120]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
lea eax, [ebp - 0x2114]
cmp dword [ebp - 0x2118], eax
je 0x4470ac
lea ecx, [ebp - 0x2118]
call fcn.0044825c
jmp 0x4470ac
lea eax, [ebp - 0x2014]
push eax
call fcn.0059771b
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x2014]
push eax
push 1
push ebx
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
je 0x4470b9
mov ecx, edi
call fcn.00446321
jmp 0x4470d3
push dword [ebp - 0x2134]
mov ecx, dword [ebp - 0x2124]
call fcn.00446b6e
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056e987
leave
ret 0xc
push 0x80070216
call fcn.0041a70e
int3