Function at 0x41dd00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9030
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x555ab0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
xor eax, eax
mov dword [ebp - 4], 1
cmp byte [0x55e864], al
mov ecx, 0x5556d8
sete al
add eax, 0x80000001
mov dword [ebp - 0x38], eax
mov eax, dword [0x5556d8]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 4
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 5
mov ecx, dword [0x55e860]
lea edx, [ecx + 2]
lea eax, [ecx + 1]
imul edx, eax
imul edx, ecx
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x41dda7
dec edx
or edx, 0xfffffff8
inc edx
cmp edx, 5
jne 0x41ddb4
push 0
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, 0x530824
mov byte [ebp - 4], 6
test eax, 0xffff0000
jne 0x41ddf1
movzx ebx, ax
mov ecx, ebx
call fcn.00401970
test eax, eax
je 0x41ddfe
push ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.00402420
jmp 0x41ddfe
push 0x530824
lea ecx, [ebp - 0x14]
call fcn.004047f0
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.004045e0
push 0x55ebb4
mov edx, eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.004045e0
push 0x530820
mov edx, eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.0041c9c0
lea ecx, [ebp + 8]
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.004045e0
add esp, 0x10
mov byte [ebp - 4], 0xb
mov edx, dword [eax]
lea ecx, [esi - 0x10]
lea eax, [edx - 0x10]
or ebx, 0xffffffff
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
cmp eax, ecx
je 0x41deaf
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x41dea0
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x41dea0
mov ecx, dword [ebp - 0x20]
call fcn.004022e0
mov dword [ebp - 0x20], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x41de98
mov esi, dword [ebp - 0x24]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
jmp 0x41deaf
push dword [edx - 0xc]
lea ecx, [ebp - 0x18]
push edx
call fcn.004021b0
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41decf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41deef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41df0f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41df2f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41df4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, 0x530834
mov byte [ebp - 4], 0xc
test eax, 0xffff0000
jne 0x41df92
movzx ecx, ax
call fcn.00401970
test eax, eax
je 0x41df9f
mov edx, 0x530834
movzx ecx, dx
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00402420
jmp 0x41df9f
push 0x530834
lea ecx, [ebp - 0x14]
call fcn.004047f0
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.004045e0
push 0x55ebb4
mov edx, eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.004045e0
push 0x530830
mov edx, eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xf
call fcn.0041c9c0
lea ecx, [ebp + 8]
push ecx
mov edx, eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x10
call fcn.004045e0
add esp, 8
push 0x20006
push 0
push ecx
push dword [eax]
lea ecx, [ebp - 0x48]
push dword [ebp - 0x38]
call fcn.0041d520
mov edx, dword [ebp - 0x34]
test eax, eax
setne byte [ebp - 0xd]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e024
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e044
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e064
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e084
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e0a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x41e0d2
mov ecx, dword [0x55e860]
mov eax, ecx
imul eax, ecx
cdq
mov ebx, 0xe
idiv ebx
mov ebx, dword [ebp - 0x48]
cmp edx, 6
jne 0x41e12d
inc ecx
mov dword [0x55e860], ecx
mov byte [ebp - 0xd], 0
jmp 0x41e14e
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x48]
push 4
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 4
push 0
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41e133
mov ecx, dword [0x55e860]
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 0x13
idiv ecx
cmp edx, 0x11
jne 0x41e116
call fcn.004b0a92
mov dword [0x55e860], eax
test ebx, ebx
je 0x41e126
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0
mov byte [ebp - 0xd], 0
jmp 0x41e14e
test ebx, ebx
je 0x41e143
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0
mov byte [ebp - 0xd], 1
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e16e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x41e179
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add edi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e196
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e1b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 0xc]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x41e1d7
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret