Function at 0x41dfb6
Capabilities:
Set registry value

Disassembly:
push ebp
mov eax, 0x1124
lea ebp, [esp - 0x10a4]
call fcn.00424830
mov eax, dword [0x42a060]
and dword [ebp - 0x68], 0
xor eax, ebp
push ebx
mov ebx, dword [ebp + 0x10ac]
mov dword [ebp + 0x10a0], eax
mov eax, dword [ebp + 0x10b0]
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0xa0]
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
call fcn.0041d9ae
test eax, eax
jl 0x41e2ab
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0xa0]
push eax
call fcn.0041e2cb
test eax, eax
pop ecx
pop ecx
jne 0x41e02b
mov eax, 0x80020009
jmp 0x41e2ab
call fcn.0041e653
mov ecx, dword [ebp - 0x74]
lea eax, [ebp + 0xa0]
call fcn.0041d9ae
test eax, eax
jl 0x41e2ab
movzx eax, word [ebp - 0x68]
sub eax, 8
je 0x41e27b
sub eax, 9
je 0x41e1c5
dec eax
dec eax
je 0x41e10f
sub eax, 0x3ff5
jne 0x41e29a
lea eax, [ebp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x64], 0
inc eax
push eax
lea esi, [ebp - 0x64]
call fcn.0041e3e3
mov edi, dword [ebp - 0x64]
test edi, edi
je 0x41e0f3
cmp byte [ebp + 0xa0], 0
lea esi, [ebp + 0xa0]
je 0x41e0de
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
push esi
call ebx
mov cl, byte [esi]
cmp cl, 0x5c
jne 0x41e0c0
cmp byte [eax], 0x30
jne 0x41e0c0
mov byte [edi], 0
push eax
inc edi
call ebx
mov esi, eax
jmp 0x41e0d9
xor eax, eax
mov byte [edi], cl
mov al, byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x41e0d7
inc edi
inc esi
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
cmp byte [esi], 0
jne 0x41e0a6
mov byte [edi], 0
push dword [ebp - 0x64]
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
call fcn.0041e38e
mov esi, eax
jmp 0x41e0f6
push 0xe
pop esi
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x64], eax
je 0x41e28d
lea eax, [ebp - 0x64]
call fcn.0041e385
jmp 0x41e28d
call dword [0x42a090]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0xa0]
xor edi, edi
push eax
mov dword [ebp - 0x68], edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
inc ebx
lea esi, [ebx + ebx]
cmp esi, 0x400
ja 0x41e154
push esi
call fcn.0041d1f7
test al, al
pop ecx
je 0x41e154
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.00424830
mov eax, esp
jmp 0x41e161
mov eax, esi
lea esi, [ebp - 0x68]
call fcn.0041d250
mov edi, dword [ebp - 0x68]
push dword [ebp - 0x78]
lea ecx, [ebp + 0xa0]
push ebx
push ecx
mov esi, eax
call fcn.0041d1c5
test eax, eax
je 0x41e1a3
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
push dword [ebp - 0x7c]
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
call fcn.0041e3c5
mov esi, eax
jmp 0x41e1bc
mov eax, edi
mov edi, dword [edi]
push eax
call fcn.00423813
pop ecx
test edi, edi
jne 0x41e198
mov eax, 0x8007000e
jmp 0x41e2ab
mov eax, edi
mov edi, dword [edi]
push eax
call fcn.00423813
pop ecx
test edi, edi
jne 0x41e1b1
jmp 0x41e28d
lea eax, [ebp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test al, 1
mov dword [ebp - 0x68], eax
jne 0x41e201
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
xor edi, edi
push ebx
lea esi, [ebp - 0x64]
mov dword [ebp - 0x64], edi
call fcn.0041e3e3
cmp dword [ebp - 0x64], edi
jne 0x41e20b
lea eax, [ebp - 0x60]
test eax, eax
je 0x41e201
mov eax, esi
call fcn.0041e385
mov eax, 0x80004005
jmp 0x41e2ab
push ebx
push edi
push dword [ebp - 0x64]
call fcn.00423c90
add esp, 0xc
cmp dword [ebp - 0x68], 0
jle 0x41e250
mov ecx, dword [ebp - 0x64]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
mov al, byte [ebp + edi + 0xa0]
call fcn.0041e428
mov ecx, edi
and ecx, 1
shl ecx, 2
mov edx, ecx
push 4
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc edi
cmp edi, dword [ebp - 0x68]
jl 0x41e21e
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
push ebx
push dword [ebp - 0x64]
push 3
push 0
push dword [ebp - 0x70]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x64], eax
je 0x41e28d
lea eax, [ebp - 0x64]
call fcn.0041e385
jmp 0x41e28d
push 1
lea eax, [ebp + 0xa0]
push eax
push ebx
push edi
call fcn.0041e35d
mov esi, eax
test esi, esi
je 0x41e29a
mov eax, esi
call fcn.0041e644
jmp 0x41e2ab
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x74]
call fcn.0041d9ae
test eax, eax
jl 0x41e2ab
xor eax, eax
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x10a0]
xor ecx, ebp
call fcn.00423ac2
add ebp, 0x10a4
leave
ret 8