Function at 0x4043ee
Capabilities:
Set registry value

Disassembly:
mov eax, 0x42b6f8
call fcn.00412054
push ecx
mov eax, 0x1114
call fcn.004124a0
push ebx
push esi
push edi
lea eax, [ebp - 0x1124]
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
push eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], edi
call fcn.00402950
cmp eax, edi
jl 0x40472c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1124]
push eax
call fcn.004027f5
pop ecx
pop ecx
test eax, eax
jne 0x404447
mov eax, 0x80020009
jmp 0x40472c
mov ecx, esi
call fcn.0040292e
lea eax, [ebp - 0x1124]
push eax
mov ecx, esi
call fcn.00402950
cmp eax, edi
jl 0x40472c
movzx eax, word [ebp - 0x14]
sub eax, 8
je 0x4046f6
sub eax, 9
je 0x404603
dec eax
dec eax
je 0x404556
sub eax, 0x3ff5
jne 0x40471b
lea eax, [ebp - 0x1124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
inc eax
mov dword [ebp - 0x124], edi
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.004041be
mov edi, dword [ebp - 0x124]
test edi, edi
je 0x404531
cmp byte [ebp - 0x1124], 0
lea esi, [ebp - 0x1124]
je 0x404515
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
push esi
call ebx
mov cl, byte [esi]
cmp cl, 0x5c
jne 0x4044f4
cmp byte [eax], 0x30
jne 0x4044f4
mov byte [edi], 0
push eax
inc edi
call ebx
mov esi, eax
jmp 0x404510
mov byte [edi], cl
movzx eax, byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x40450e
inc edi
inc esi
mov al, byte [esi]
test al, al
je 0x404515
mov byte [edi], al
inc edi
inc esi
cmp byte [esi], 0
jne 0x4044d4
mov ecx, dword [ebp + 8]
mov byte [edi], 0
mov byte [edi + 1], 0
push dword [ebp - 0x124]
push dword [ebp + 0xc]
call fcn.004026a8
mov esi, eax
jmp 0x404534
push 0xe
pop esi
lea eax, [ebp - 0x120]
cmp dword [ebp - 0x124], eax
je 0x40470c
lea ecx, [ebp - 0x124]
call fcn.00402bcd
jmp 0x40470c
mov dword [ebp - 0x14], edi
push 3
pop edi
lea eax, [ebp - 0x1124]
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push 2
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00402376
add esp, 0xc
test eax, eax
jl 0x4045c5
mov esi, dword [ebp - 0x18]
cmp esi, 0x400
jg 0x4045a7
push esi
call fcn.00402c63
pop ecx
test al, al
je 0x4045a7
mov eax, esi
call fcn.004125c0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x4045b0
push esi
lea ecx, [ebp - 0x14]
call fcn.00402dc3
push edi
shr esi, 1
push esi
lea ecx, [ebp - 0x1124]
push ecx
push eax
call fcn.00402420
test eax, eax
jne 0x4045d7
lea ecx, [ebp - 0x14]
call fcn.00402b07
mov eax, 0x8007000e
jmp 0x40472c
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
push dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.0040265a
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00402b07
jmp 0x40470c
lea eax, [ebp - 0x1124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x18], eax
test al, 1
je 0x404621
mov eax, 0x80004005
jmp 0x40472c
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x124], edi
mov dword [ebp - 4], 4
push ebx
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 5
call fcn.004041be
jmp 0x404653
xor edi, edi
cmp dword [ebp - 0x124], edi
jne 0x404674
lea eax, [ebp - 0x120]
test eax, eax
je 0x404617
lea ecx, [ebp - 0x124]
call fcn.00402bcd
jmp 0x404617
push ebx
push edi
push dword [ebp - 0x124]
call fcn.00411920
add esp, 0xc
cmp dword [ebp - 0x18], edi
jle 0x4046bf
mov ecx, dword [ebp - 0x124]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
movzx eax, byte [ebp + edi - 0x1124]
push eax
call fcn.00402889
pop ecx
mov edx, edi
and edx, 1
shl edx, 2
push 4
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x404689
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push dword [ebp - 0x124]
push 3
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
lea eax, [ebp - 0x120]
cmp dword [ebp - 0x124], eax
je 0x40470c
lea ecx, [ebp - 0x124]
call fcn.00402bcd
jmp 0x40470c
mov ecx, dword [ebp + 8]
push 1
lea eax, [ebp - 0x1124]
push eax
push dword [ebp + 0xc]
call fcn.00402674
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x40471b
push esi
call fcn.00402544
pop ecx
jmp 0x40472c
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x20]
call fcn.00402950
cmp eax, edi
jl 0x40472c
xor eax, eax
lea esp, [ebp - 0x1130]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc