Function at 0x4e10c0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x863210
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor edi, edi
mov byte [esp + 0x17], 0
cmp dword [0x8d2c3c], edi
jne 0x4e1150
lea eax, [esp + 0x18]
push eax
push 0x409334
push 3
push edi
push 0x48b770
mov dword [esp + 0x2c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x8d2c3c]
mov esi, eax
cmp ecx, eax
je 0x4e1148
cmp eax, edi
je 0x4e1134
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, dword [0x8d2c3c]
cmp ecx, edi
je 0x4e1140
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov ecx, esi
mov dword [0x8d2c3c], ecx
cmp ecx, edi
je 0x4e1458
push 0x409568
lea ecx, [esp + 0x20]
call fcn.004b2080
push 0x409564
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], edi
call fcn.004b2080
lea edx, [esp + 0x28]
push 1
push edx
mov byte [esp + 0x48], 1
call fcn.005c2360
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x54], 2
call fcn.004ac680
lea edx, [esp + 0x30]
push edx
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x60], 3
call fcn.004ac680
add esp, 0x20
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x40], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e11d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x40], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e11f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x40], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e121d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x40], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e1242
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
push 0x2001f
push 0x409600
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c], 9
call fcn.004afb40
test eax, eax
jne 0x4e1421
mov eax, dword [0x8b734c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
cmp eax, edi
setne cl
mov esi, eax
cmp ecx, edi
je 0x4e12ae
push eax
call ebx
mov edx, dword [esp + 0x2c]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push edi
push 0x409308
push edx
call ebp
mov eax, dword [0x8b734c]
push edi
push edi
push 0x2001f
push edi
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x48]
call fcn.004dff00
test eax, eax
jne 0x4e1421
call fcn.007cff5d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4e12e8
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
push 0x818c
mov byte [esp + 0x44], 0xa
call fcn.007cfe78
cmp eax, edi
je 0x4e131e
push 0x818c
push eax
lea ecx, [esp + 0x24]
call fcn.004a8d10
mov esi, dword [esp + 0x1c]
xor eax, eax
cmp esi, edi
setne al
mov byte [esp + 0x40], 9
cmp eax, edi
mov edi, dword [esp + 0x2c]
je 0x4e1347
push esi
call ebx
lea ecx, [eax + eax + 2]
push ecx
push esi
push 2
push 0
push 0x4095d0
push edi
call ebp
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e1363
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
xor ecx, ecx
test eax, eax
setne cl
mov esi, eax
test ecx, ecx
je 0x4e1389
push eax
call ebx
lea ecx, [eax + eax + 2]
push ecx
push esi
push 2
push 0
push 0x4095b0
push edi
call ebp
call fcn.007cff5d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4e13a3
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
push 0x80
mov byte [esp + 0x44], 0xb
call fcn.007cfe78
test eax, eax
je 0x4e13d9
push 0x80
push eax
lea ecx, [esp + 0x24]
call fcn.004a8d10
mov esi, dword [esp + 0x1c]
xor eax, eax
test esi, esi
setne al
mov byte [esp + 0x40], 9
test eax, eax
je 0x4e13fe
push esi
call ebx
lea ecx, [eax + eax + 2]
push ecx
push esi
push 2
push 0
push 0x409590
push edi
call ebp
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e141a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x17], 1
jmp 0x4e1425
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x4e1430
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x40], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e1458
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret