Function at 0x43dd30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22a0
call fcn.004597e0
mov eax, dword [0x4d9b30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
xor eax, eax
mov word [ebp - 0x2010], ax
mov dword [ebp - 0x2014], 0
mov dword [ebp - 0x2018], 0
lea eax, [ebp - 0x200c]
push eax
mov ecx, dword [ebp - 8]
call fcn.0043c780
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x43dd8a
mov eax, dword [ebp - 0xc]
jmp 0x43e1ea
lea eax, [ebp - 0x2010]
push eax
lea ecx, [ebp - 0x200c]
push ecx
call fcn.0043e350
add esp, 8
test eax, eax
jne 0x43ddb6
push 0x20f
mov ecx, dword [ebp - 8]
call fcn.0043c650
jmp 0x43e1ea
mov ecx, dword [ebp - 8]
call fcn.0043c6d0
lea eax, [ebp - 0x200c]
push eax
mov ecx, dword [ebp - 8]
call fcn.0043c780
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x43ddde
mov eax, dword [ebp - 0xc]
jmp 0x43e1ea
movzx eax, word [ebp - 0x2010]
mov dword [ebp - 0x22a0], eax
cmp dword [ebp - 0x22a0], 0x13
jg 0x43de1c
cmp dword [ebp - 0x22a0], 0x13
je 0x43dfcc
cmp dword [ebp - 0x22a0], 8
je 0x43de2d
cmp dword [ebp - 0x22a0], 0x11
je 0x43e03d
jmp 0x43e1aa
cmp dword [ebp - 0x22a0], 0x4008
je 0x43de4d
jmp 0x43e1aa
push 1
lea eax, [ebp - 0x200c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0043e240
mov dword [ebp - 0x2014], eax
jmp 0x43e1aa
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 2
mov dword [ebp - 0x201c], eax
lea ecx, [ebp - 0x2120]
call fcn.0043f010
mov eax, dword [ebp - 0x201c]
push eax
lea ecx, [ebp - 0x2120]
call fcn.0043f080
lea ecx, [ebp - 0x2120]
call fcn.0043f060
test eax, eax
je 0x43dfb2
lea ecx, [ebp - 0x2120]
call fcn.0043f060
mov dword [ebp - 0x2124], eax
lea eax, [ebp - 0x200c]
mov dword [ebp - 0x2128], eax
mov dword [ebp - 0x201c], 0
mov eax, dword [ebp - 0x2128]
movzx ecx, word [eax]
test ecx, ecx
je 0x43df6d
mov eax, dword [ebp - 0x2128]
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x212c], eax
mov eax, dword [ebp - 0x2128]
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x43df29
mov eax, dword [ebp - 0x212c]
movzx ecx, word [eax]
cmp ecx, 0x30
jne 0x43df29
xor eax, eax
mov ecx, dword [ebp - 0x2124]
mov word [ecx], ax
mov edx, dword [ebp - 0x2124]
add edx, 2
mov dword [ebp - 0x2124], edx
mov eax, dword [ebp - 0x212c]
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x2128], eax
jmp 0x43df59
mov eax, dword [ebp - 0x2124]
mov ecx, dword [ebp - 0x2128]
mov dx, word [ecx]
mov word [eax], dx
mov eax, dword [ebp - 0x2124]
add eax, 2
mov dword [ebp - 0x2124], eax
mov eax, dword [ebp - 0x2128]
add eax, 2
mov dword [ebp - 0x2128], eax
mov eax, dword [ebp - 0x201c]
add eax, 1
mov dword [ebp - 0x201c], eax
jmp 0x43deba
xor eax, eax
mov ecx, dword [ebp - 0x2124]
mov word [ecx], ax
mov eax, dword [ebp - 0x2124]
add eax, 2
mov dword [ebp - 0x2124], eax
xor eax, eax
mov ecx, dword [ebp - 0x2124]
mov word [ecx], ax
lea ecx, [ebp - 0x2120]
call fcn.0043f060
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.0043e2b0
mov dword [ebp - 0x2014], eax
jmp 0x43dfbc
mov dword [ebp - 0x2014], 0xe
lea ecx, [ebp - 0x2120]
call fcn.0043f030
jmp 0x43e1aa
call fcn.00402500
mov dword [ebp - 0x2138], eax
lea ecx, [ebp - 0x2144]
call fcn.0043eb00
push 0x400
lea eax, [ebp - 0x200c]
push eax
call fcn.0043bbd0
add esp, 8
mov dword [ebp - 0x2148], eax
lea eax, [ebp - 0x2130]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x2148]
push ecx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x2130]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0043e200
mov dword [ebp - 0x2014], eax
lea ecx, [ebp - 0x2144]
call fcn.0043eb20
jmp 0x43e1aa
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x214c], eax
mov eax, dword [ebp - 0x214c]
and eax, 1
je 0x43e065
mov eax, 0x80004005
jmp 0x43e1ea
mov eax, dword [ebp - 0x214c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x2150], eax
lea ecx, [ebp - 0x2254]
call fcn.0043f0b0
mov eax, dword [ebp - 0x2150]
push eax
lea ecx, [ebp - 0x2254]
call fcn.0043f120
lea ecx, [ebp - 0x2254]
call fcn.0043f100
test eax, eax
jne 0x43e0c2
mov dword [ebp - 0x229c], 0x80004005
lea ecx, [ebp - 0x2254]
call fcn.0043f0d0
mov eax, dword [ebp - 0x229c]
jmp 0x43e1ea
mov eax, dword [ebp - 0x2150]
push eax
push 0
lea ecx, [ebp - 0x2254]
call fcn.0043f100
push eax
call fcn.004586e0
add esp, 0xc
mov dword [ebp - 0x2258], 0
jmp 0x43e0fa
mov eax, dword [ebp - 0x2258]
add eax, 1
mov dword [ebp - 0x2258], eax
mov eax, dword [ebp - 0x2258]
cmp eax, dword [ebp - 0x214c]
jge 0x43e16f
lea ecx, [ebp - 0x2254]
call fcn.0043f100
mov ecx, eax
mov eax, dword [ebp - 0x2258]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [ebp - 0x22a0], ecx
mov edx, dword [ebp - 0x2258]
movzx eax, word [ebp + edx*2 - 0x200c]
push eax
call fcn.0043e420
add esp, 4
movzx edx, al
mov eax, dword [ebp - 0x2258]
and eax, 1
mov ecx, 1
sub ecx, eax
shl ecx, 2
shl edx, cl
mov ecx, dword [ebp - 0x22a0]
movzx eax, byte [ecx]
or eax, edx
mov ecx, dword [ebp - 0x22a0]
mov byte [ecx], al
jmp 0x43e0eb
mov eax, dword [ebp - 0x2150]
push eax
lea ecx, [ebp - 0x2254]
call fcn.0043f100
push eax
push 3
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0042b9c0
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x2014], eax
lea ecx, [ebp - 0x2254]
call fcn.0043f0d0
cmp dword [ebp - 0x2014], 0
je 0x43e1ce
mov dword [ebp - 0x2018], 0x204
mov eax, dword [ebp - 0x2014]
push eax
call fcn.0043dac0
add esp, 4
jmp 0x43e1ea
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
call fcn.0043c780
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x43e1e8
mov eax, dword [ebp - 0xc]
jmp 0x43e1ea
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045875a
mov esp, ebp
pop ebp
ret 0xc