Function at 0x41cab9
Capabilities:
Set registry value

Disassembly:
push ebp
mov eax, 0x1124
lea ebp, [esp - 0x10a4]
call fcn.004232c0
mov eax, dword [0x429060]
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.0041c4b1
test eax, eax
jl 0x41cdae
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0xa0]
push eax
call fcn.0041cdce
test eax, eax
pop ecx
pop ecx
jne 0x41cb2e
mov eax, 0x80020009
jmp 0x41cdae
call fcn.0041d131
mov ecx, dword [ebp - 0x74]
lea eax, [ebp + 0xa0]
call fcn.0041c4b1
test eax, eax
jl 0x41cdae
movzx eax, word [ebp - 0x68]
sub eax, 8
je 0x41cd7e
sub eax, 9
je 0x41ccc8
dec eax
dec eax
je 0x41cc12
sub eax, 0x3ff5
jne 0x41cd9d
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.0041cee6
mov edi, dword [ebp - 0x64]
test edi, edi
je 0x41cbf6
cmp byte [ebp + 0xa0], 0
lea esi, [ebp + 0xa0]
je 0x41cbe1
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
push esi
call ebx
mov cl, byte [esi]
cmp cl, 0x5c
jne 0x41cbc3
cmp byte [eax], 0x30
jne 0x41cbc3
mov byte [edi], 0
push eax
inc edi
call ebx
mov esi, eax
jmp 0x41cbdc
xor eax, eax
mov byte [edi], cl
mov al, byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x41cbda
inc edi
inc esi
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
cmp byte [esi], 0
jne 0x41cba9
mov byte [edi], 0
push dword [ebp - 0x64]
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
call fcn.0041ce88
mov esi, eax
jmp 0x41cbf9
push 0xe
pop esi
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x64], eax
je 0x41cd90
lea eax, [ebp - 0x64]
call fcn.0041cedd
jmp 0x41cd90
call dword [0x429090]
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 0x41cc57
push esi
call fcn.0041bcd5
test al, al
pop ecx
je 0x41cc57
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.004232c0
mov eax, esp
jmp 0x41cc64
mov eax, esi
lea esi, [ebp - 0x68]
call fcn.0041bd2e
mov edi, dword [ebp - 0x68]
push dword [ebp - 0x78]
lea ecx, [ebp + 0xa0]
push ebx
push ecx
mov esi, eax
call fcn.0041bca3
test eax, eax
je 0x41cca6
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.0041cebf
mov esi, eax
jmp 0x41ccbf
mov eax, edi
mov edi, dword [edi]
push eax
call fcn.0042229e
pop ecx
test edi, edi
jne 0x41cc9b
mov eax, 0x8007000e
jmp 0x41cdae
mov eax, edi
mov edi, dword [edi]
push eax
call fcn.0042229e
pop ecx
test edi, edi
jne 0x41ccb4
jmp 0x41cd90
lea eax, [ebp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test al, 1
mov dword [ebp - 0x68], eax
jne 0x41cd04
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.0041cee6
cmp dword [ebp - 0x64], edi
jne 0x41cd0e
lea eax, [ebp - 0x60]
test eax, eax
je 0x41cd04
mov eax, esi
call fcn.0041cedd
mov eax, 0x80004005
jmp 0x41cdae
push ebx
push edi
push dword [ebp - 0x64]
call fcn.00422720
add esp, 0xc
cmp dword [ebp - 0x68], 0
jle 0x41cd53
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.0041cf06
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 0x41cd21
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 0x41cd90
lea eax, [ebp - 0x64]
call fcn.0041cedd
jmp 0x41cd90
push 1
lea eax, [ebp + 0xa0]
push eax
push ebx
push edi
call fcn.0041ce60
mov esi, eax
test esi, esi
je 0x41cd9d
mov eax, esi
call fcn.0041d122
jmp 0x41cdae
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x74]
call fcn.0041c4b1
test eax, eax
jl 0x41cdae
xor eax, eax
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x10a0]
xor ecx, ebp
call fcn.0042254d
add ebp, 0x10a4
leave
ret 8