Function at 0x41ad00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490941
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x23d8
call fcn.00474750
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x23e8]
mov ecx, 0x8f6
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4abc14]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
xor eax, eax
mov word [ebp - 0x203c], ax
mov dword [ebp - 0x2048], 0
mov dword [ebp - 0x2054], 0
lea eax, [ebp - 0x2030]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00418a50
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x41ad8a
mov eax, dword [ebp - 0x28]
jmp 0x41b287
lea eax, [ebp - 0x203c]
push eax
lea ecx, [ebp - 0x2030]
push ecx
call fcn.0041b540
add esp, 8
test eax, eax
jne 0x41adb6
push 0x20f
mov ecx, dword [ebp - 0x1c]
call fcn.00418890
jmp 0x41b287
mov ecx, dword [ebp - 0x1c]
call fcn.00418950
lea eax, [ebp - 0x2030]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00418a50
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x41adde
mov eax, dword [ebp - 0x28]
jmp 0x41b287
movzx eax, word [ebp - 0x203c]
mov dword [ebp - 0x23e8], eax
cmp dword [ebp - 0x23e8], 0x13
jg 0x41ae1c
cmp dword [ebp - 0x23e8], 0x13
je 0x41b00f
cmp dword [ebp - 0x23e8], 8
je 0x41ae2d
cmp dword [ebp - 0x23e8], 0x11
je 0x41b097
jmp 0x41b247
cmp dword [ebp - 0x23e8], 0x4008
je 0x41ae4d
jmp 0x41b247
push 1
lea eax, [ebp - 0x2030]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041b3d0
mov dword [ebp - 0x2048], eax
jmp 0x41b247
mov esi, esp
lea eax, [ebp - 0x2030]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.004744d2
add eax, 2
mov dword [ebp - 0x2060], eax
lea ecx, [ebp - 0x216c]
call fcn.00431180
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2060]
push eax
lea ecx, [ebp - 0x216c]
call fcn.00427550
jmp 0x41aea3
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x216c]
call fcn.00431080
test eax, eax
je 0x41afee
lea ecx, [ebp - 0x216c]
call fcn.00431080
mov dword [ebp - 0x2178], eax
lea eax, [ebp - 0x2030]
mov dword [ebp - 0x2184], eax
mov dword [ebp - 0x2060], 0
mov eax, dword [ebp - 0x2184]
movzx ecx, word [eax]
test ecx, ecx
je 0x41afa9
mov esi, esp
mov eax, dword [ebp - 0x2184]
push eax
call dword [sym.imp.USER32.dll_CharNextW]
cmp esi, esp
call fcn.004744d2
mov dword [ebp - 0x2190], eax
mov eax, dword [ebp - 0x2184]
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x41af65
mov eax, dword [ebp - 0x2190]
movzx ecx, word [eax]
cmp ecx, 0x30
jne 0x41af65
xor eax, eax
mov ecx, dword [ebp - 0x2178]
mov word [ecx], ax
mov edx, dword [ebp - 0x2178]
add edx, 2
mov dword [ebp - 0x2178], edx
mov esi, esp
mov eax, dword [ebp - 0x2190]
push eax
call dword [sym.imp.USER32.dll_CharNextW]
cmp esi, esp
call fcn.004744d2
mov dword [ebp - 0x2184], eax
jmp 0x41af95
mov eax, dword [ebp - 0x2178]
mov ecx, dword [ebp - 0x2184]
mov dx, word [ecx]
mov word [eax], dx
mov eax, dword [ebp - 0x2178]
add eax, 2
mov dword [ebp - 0x2178], eax
mov eax, dword [ebp - 0x2184]
add eax, 2
mov dword [ebp - 0x2184], eax
mov eax, dword [ebp - 0x2060]
add eax, 1
mov dword [ebp - 0x2060], eax
jmp 0x41aee4
xor eax, eax
mov ecx, dword [ebp - 0x2178]
mov word [ecx], ax
mov eax, dword [ebp - 0x2178]
add eax, 2
mov dword [ebp - 0x2178], eax
xor eax, eax
mov ecx, dword [ebp - 0x2178]
mov word [ecx], ax
lea ecx, [ebp - 0x216c]
call fcn.00431080
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b470
mov dword [ebp - 0x2048], eax
jmp 0x41aff8
mov dword [ebp - 0x2048], 0xe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x216c]
call fcn.004274b0
jmp 0x41b247
call fcn.00406630
mov dword [ebp - 0x21b4], eax
lea ecx, [ebp - 0x21d8]
call fcn.00431180
mov dword [ebp - 4], 3
push 0x400
lea eax, [ebp - 0x2030]
push eax
call fcn.0041e7b0
add esp, 8
mov dword [ebp - 0x21e4], eax
mov esi, esp
lea eax, [ebp - 0x219c]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x21e4]
push ecx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
cmp esi, esp
call fcn.004744d2
mov eax, dword [ebp - 0x219c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041b360
mov dword [ebp - 0x2048], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21d8]
call fcn.00426eb0
jmp 0x41b247
mov esi, esp
lea eax, [ebp - 0x2030]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.004744d2
mov dword [ebp - 0x21f0], eax
mov eax, dword [ebp - 0x21f0]
and eax, 1
je 0x41b0c8
mov eax, 0x80004005
jmp 0x41b287
mov eax, dword [ebp - 0x21f0]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x21fc], eax
lea ecx, [ebp - 0x2308]
call fcn.00431180
mov dword [ebp - 4], 4
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x21fc]
push eax
lea ecx, [ebp - 0x2308]
call fcn.004275a0
jmp 0x41b110
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x2308]
call fcn.00431080
test eax, eax
jne 0x41b14d
mov dword [ebp - 0x23e0], 0x80004005
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2308]
call fcn.004274b0
mov eax, dword [ebp - 0x23e0]
jmp 0x41b287
mov eax, dword [ebp - 0x21fc]
push eax
push 0
lea ecx, [ebp - 0x2308]
call fcn.00431080
push eax
call fcn.004746d0
add esp, 0xc
mov dword [ebp - 0x2314], 0
jmp 0x41b185
mov eax, dword [ebp - 0x2314]
add eax, 1
mov dword [ebp - 0x2314], eax
mov eax, dword [ebp - 0x2314]
cmp eax, dword [ebp - 0x21f0]
jge 0x41b1fc
mov eax, dword [ebp - 0x2314]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
lea ecx, [ebp - 0x2308]
call fcn.00431080
add eax, esi
mov dword [ebp - 0x23e8], eax
mov eax, dword [ebp - 0x2314]
and eax, 1
mov esi, 1
sub esi, eax
shl esi, 2
mov ecx, dword [ebp - 0x2314]
movzx edx, word [ebp + ecx*2 - 0x2030]
push edx
call fcn.0041b640
add esp, 4
movzx eax, al
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp - 0x23e8]
movzx edx, byte [ecx]
or edx, eax
mov eax, dword [ebp - 0x23e8]
mov byte [eax], dl
jmp 0x41b176
mov esi, esp
mov eax, dword [ebp - 0x21fc]
push eax
lea ecx, [ebp - 0x2308]
call fcn.00431080
push eax
push 3
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00431080
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.004744d2
mov dword [ebp - 0x2048], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2308]
call fcn.004274b0
cmp dword [ebp - 0x2048], 0
je 0x41b26b
mov dword [ebp - 0x2054], 0x204
mov eax, dword [ebp - 0x2048]
push eax
call fcn.0041a2f0
add esp, 4
jmp 0x41b287
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00418a50
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x41b285
mov eax, dword [ebp - 0x28]
jmp 0x41b287
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x41b2c4]
call fcn.004744f5
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004744c3
add esp, 0x23e8
cmp ebp, esp
call fcn.004744d2
mov esp, ebp
pop ebp
ret 0xc