Function at 0x1000fc12
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002e6a0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x122c
call fcn.10018610
mov eax, dword [0x1003d200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1230], ecx
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x123c], eax
lea eax, [ebp - 0x1014]
push eax
mov dword [ebp - 0x1234], ecx
mov dword [ebp - 0x122c], edi
mov dword [ebp - 0x1228], esi
mov dword [ebp - 0x1220], ebx
call fcn.10013cbd
test eax, eax
js 0x1001007b
lea eax, [ebp - 0x1220]
push eax
lea eax, [ebp - 0x1014]
push eax
call fcn.10016141
pop ecx
pop ecx
test eax, eax
jne 0x1000fcae
mov eax, 0x80020009
jmp 0x1001007b
mov ecx, dword [ebp - 0x1230]
call fcn.1001590d
mov ecx, dword [ebp - 0x1230]
lea eax, [ebp - 0x1014]
push eax
call fcn.10013cbd
test eax, eax
js 0x1001007b
movzx eax, word [ebp - 0x1220]
sub eax, 8
je 0x10010030
sub eax, 9
je 0x1000ff0b
dec eax
sub eax, 1
je 0x1000fde1
sub eax, 0x3ff5
jne 0x10010061
lea eax, [ebp - 0x1014]
push eax
call fcn.1001dab0
pop ecx
add eax, 2
mov dword [ebp - 0x121c], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x121c]
push eax
mov byte [ebp - 4], 1
call fcn.1001009d
jmp 0x1000fd40
mov esi, dword [ebp - 0x121c]
test esi, esi
je 0x1000fdc0
cmp byte [ebp - 0x1014], 0
lea edi, [ebp - 0x1014]
je 0x1000fd9a
push edi
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [edi]
cmp cl, 0x5c
jne 0x1000fd79
cmp byte [eax], 0x30
jne 0x1000fd79
push eax
mov byte [esi], bl
call dword [sym.imp.USER32.dll_CharNextA]
mov edi, eax
jmp 0x1000fd94
mov byte [esi], cl
movzx eax, byte [edi]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x1000fd93
inc esi
inc edi
mov al, byte [edi]
test al, al
je 0x1000fd9a
mov byte [esi], al
inc edi
inc esi
cmp byte [edi], 0
jne 0x1000fd59
mov ecx, dword [ebp - 0x122c]
mov word [esi], 0
push dword [ebp - 0x121c]
push dword [ebp - 0x1228]
call fcn.1001585c
mov esi, dword [ebp - 0x121c]
mov ebx, eax
jmp 0x1000fdc3
push 0xe
pop ebx
lea eax, [ebp - 0x1218]
cmp esi, eax
je 0x10010054
lea ecx, [ebp - 0x121c]
call fcn.10011a81
jmp 0x10010054
mov esi, ebx
mov dword [ebp - 0x1234], esi
lea eax, [ebp - 0x1014]
mov dword [ebp - 4], 3
push eax
call fcn.1001dab0
inc eax
push 2
push eax
mov dword [ebp - 0x1220], eax
lea eax, [ebp - 0x1220]
push eax
call fcn.1000bab1
add esp, 0x10
test eax, eax
js 0x1000fe7b
mov edi, dword [ebp - 0x1220]
cmp edi, 0x400
jg 0x1000fe40
push edi
call fcn.1000c03f
pop ecx
test al, al
je 0x1000fe40
mov eax, edi
call fcn.100182f0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1000fe52
push edi
lea ecx, [ebp - 0x1234]
call fcn.1000bbcc
mov esi, dword [ebp - 0x1234]
push 3
shr edi, 1
lea ecx, [ebp - 0x1014]
push edi
push ecx
push eax
call fcn.100027fa
test eax, eax
jne 0x1000fe85
test esi, esi
je 0x1000fe7b
mov edi, dword [esi]
push esi
mov esi, edi
call fcn.1001d1db
pop ecx
test edi, edi
jne 0x1000fe6c
mov eax, 0x8007000e
jmp 0x1001007b
lea ecx, [ebp - 0x1238]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov dword [ebp - 0x1224], eax
test eax, eax
jns 0x1000fec1
test esi, esi
je 0x1001007b
mov edi, dword [esi]
push esi
mov esi, edi
call fcn.1001d1db
pop ecx
test edi, edi
jne 0x1000fea7
mov eax, dword [ebp - 0x1224]
jmp 0x1001007b
mov eax, dword [ebp - 0x1238]
push 4
mov dword [ebp - 0x1224], eax
lea eax, [ebp - 0x1224]
push eax
mov eax, dword [ebp - 0x122c]
push 4
push ebx
push dword [ebp - 0x1228]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
test esi, esi
je 0x10010054
mov edi, dword [esi]
push esi
mov esi, edi
call fcn.1001d1db
pop ecx
test edi, edi
jne 0x1000fef7
jmp 0x10010054
lea eax, [ebp - 0x1014]
push eax
call fcn.1001dab0
mov dword [ebp - 0x1238], eax
pop ecx
test al, 1
jne 0x1000ff7c
cdq
sub eax, edx
mov dword [ebp - 0x1118], ebx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x1224], esi
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x1118]
push esi
mov byte [ebp - 4], 5
call fcn.100100fb
jmp 0x1000ff68
cmp dword [ebp - 0x1118], 0
jne 0x1000ff86
lea ecx, [ebp - 0x1118]
call fcn.10011a93
mov eax, 0x80004005
jmp 0x1001007b
push esi
push ebx
push dword [ebp - 0x1118]
call fcn.10019b20
add esp, 0xc
mov dword [ebp - 0x1220], ebx
cmp dword [ebp - 0x1238], 0
mov eax, ebx
jle 0x1000fff5
mov ebx, dword [ebp - 0x1238]
mov esi, dword [ebp - 0x1118]
mov edi, eax
movzx eax, byte [ebp + eax - 0x1014]
push eax
shr edi, 1
call fcn.1001122f
mov edx, dword [ebp - 0x1220]
pop ecx
and edx, 1
shl edx, 2
push 4
pop ecx
sub ecx, edx
shl al, cl
or byte [edi + esi], al
mov eax, dword [ebp - 0x1220]
inc eax
mov dword [ebp - 0x1220], eax
cmp eax, ebx
jl 0x1000ffad
mov esi, dword [ebp - 0x1224]
xor ebx, ebx
mov eax, dword [ebp - 0x122c]
push esi
push dword [ebp - 0x1118]
push 3
push ebx
push dword [ebp - 0x1228]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
lea eax, [ebp - 0x1114]
cmp dword [ebp - 0x1118], eax
je 0x10010054
lea ecx, [ebp - 0x1118]
call fcn.10011a93
jmp 0x10010054
lea eax, [ebp - 0x1014]
push eax
call fcn.1001dab0
pop ecx
inc eax
push eax
lea eax, [ebp - 0x1014]
push eax
push 1
push ebx
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
test ebx, ebx
je 0x10010061
push ebx
call fcn.1001078e
pop ecx
jmp 0x1001007b
push dword [ebp - 0x123c]
mov ecx, dword [ebp - 0x1230]
call fcn.10013cbd
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
lea esp, [ebp - 0x124c]
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.100181cd
leave
ret 0xc