Function at 0x43faa0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x211c
call fcn.004957d0
mov eax, dword [0x4c9614]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x211c], eax
lea eax, [ebp - 0x2004]
mov dword [ebp - 0x2118], esi
mov dword [ebp - 0x2114], ebx
mov dword [ebp - 0x210c], edi
mov dword [ebp - 0x2110], 0
call fcn.004400b0
test eax, eax
jl 0x43fdd4
lea ecx, [ebp - 0x2110]
push ecx
lea edx, [ebp - 0x2004]
push edx
call fcn.0043f820
add esp, 8
test eax, eax
jne 0x43fb2b
pop edi
pop esi
mov eax, 0x80020009
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047e6eb
mov esp, ebp
pop ebp
ret 8
call fcn.00440950
lea eax, [ebp - 0x2004]
mov ecx, esi
call fcn.004400b0
test eax, eax
jl 0x43fdd4
movzx eax, word [ebp - 0x2110]
cmp eax, 0x13
jg 0x43fcc9
je 0x43fc85
cmp eax, 8
je 0x43fc71
cmp eax, 0x11
jne 0x43fdbd
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test bl, 1
jne 0x43fbc0
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov ecx, edi
lea esi, [ebp - 0x2108]
mov dword [ebp - 0x2110], edi
mov dword [ebp - 0x2108], 0
call fcn.0043f9f0
mov eax, dword [ebp - 0x2108]
test eax, eax
jne 0x43fbd8
lea ecx, [ebp - 0x2104]
test ecx, ecx
je 0x43fbc0
mov eax, esi
call fcn.0043f9e0
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047e6eb
mov esp, ebp
pop ebp
ret 8
push edi
push 0
push eax
call fcn.004845b0
add esp, 0xc
xor esi, esi
test ebx, ebx
jle 0x43fc2b
lea ebx, [ebx]
mov eax, dword [ebp - 0x2108]
mov cx, word [ebp + esi*2 - 0x2004]
mov edx, esi
shr edx, 1
lea edi, [edx + eax]
call fcn.0043fa30
mov ecx, esi
and ecx, 1
add ecx, ecx
add ecx, ecx
mov edx, ecx
mov ecx, 4
sub ecx, edx
shl al, cl
inc esi
or byte [edi], al
cmp esi, ebx
jl 0x43fbf0
mov edi, dword [ebp - 0x2110]
mov ecx, dword [ebp - 0x2108]
mov edx, dword [ebp - 0x210c]
mov eax, dword [ebp - 0x2114]
mov eax, dword [eax]
push edi
push ecx
push 3
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
lea eax, [ebp - 0x2104]
cmp dword [ebp - 0x2108], eax
je 0x43fd99
lea eax, [ebp - 0x2108]
call fcn.0043f9e0
jmp 0x43fd99
push edi
push ebx
lea esi, [ebp - 0x2004]
call fcn.0043f8d0
mov edi, eax
jmp 0x43fd99
lea ecx, [ebp - 0x210c]
push ecx
push 0
push 0
lea edx, [ebp - 0x2004]
push edx
mov dword [ebp - 0x2114], 0
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x210c]
push eax
mov ecx, edi
mov edx, ebx
call fcn.0043f9c0
lea esi, [ebp - 0x2114]
mov edi, eax
call fcn.0043f9a0
jmp 0x43fd99
cmp eax, 0x4008
jne 0x43fdbd
lea ecx, [ebp - 0x2004]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 2
lea esi, [ebp - 0x2108]
mov dword [ebp - 0x2108], 0
call fcn.0043f910
mov eax, dword [ebp - 0x2108]
test eax, eax
je 0x43fd7f
cmp word [ebp - 0x2004], 0
mov edi, eax
lea esi, [ebp - 0x2004]
je 0x43fd56
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
nop
push esi
call ebx
movzx ecx, word [esi]
cmp cx, 0x5c
jne 0x43fd41
cmp word [eax], 0x30
jne 0x43fd41
xor edx, edx
mov word [edi], dx
push eax
add edi, 2
call ebx
mov esi, eax
jmp 0x43fd4a
mov word [edi], cx
add edi, 2
add esi, 2
cmp word [esi], 0
jne 0x43fd20
mov ebx, dword [ebp - 0x2114]
xor eax, eax
mov word [edi], ax
mov eax, dword [ebp - 0x210c]
xor ecx, ecx
mov word [edi + 2], cx
mov edx, dword [ebp - 0x2108]
push edx
push eax
push ebx
call fcn.0043f950
mov edi, eax
mov eax, dword [ebp - 0x2108]
jmp 0x43fd84
mov edi, 0xe
lea ecx, [ebp - 0x2104]
cmp eax, ecx
je 0x43fd99
lea eax, [ebp - 0x2108]
call fcn.0043f9e0
test edi, edi
je 0x43fdb7
mov eax, edi
call fcn.00440070
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047e6eb
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x2118]
mov eax, dword [ebp - 0x211c]
mov ecx, esi
call fcn.004400b0
xor edx, edx
test eax, eax
setge dl
dec edx
and eax, edx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047e6eb
mov esp, ebp
pop ebp
ret 8