Function at 0x1000bf3b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a651
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1288
call fcn.100153f0
mov eax, dword [0x10020060]
xor eax, ebp
mov dword [ebp - 0x24], 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 - 0x1280], ecx
xor eax, eax
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1028]
push ecx
mov ecx, dword [ebp - 0x1280]
call fcn.1000c5d0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x1000ba83
mov eax, dword [ebp - 0x20]
jmp 0x1000c099
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x1028]
push eax
call fcn.1000b350
add esp, 8
test eax, eax
jne 0x1000baaf
push 0x20f
mov ecx, dword [ebp - 0x1280]
call fcn.1000c5b0
jmp 0x1000c099
mov ecx, dword [ebp - 0x1280]
call fcn.1000d0b0
lea ecx, [ebp - 0x1028]
push ecx
mov ecx, dword [ebp - 0x1280]
call fcn.1000c5d0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x1000badd
mov eax, dword [ebp - 0x20]
jmp 0x1000c099
movzx edx, word [ebp - 0x1c]
mov dword [ebp - 0x1284], edx
cmp dword [ebp - 0x1284], 0x13
jg 0x1000bb18
cmp dword [ebp - 0x1284], 0x13
je 0x1000bd30
cmp dword [ebp - 0x1284], 8
je 0x1000bb29
cmp dword [ebp - 0x1284], 0x11
je 0x1000bec4
jmp 0x1000c05f
cmp dword [ebp - 0x1284], 0x4008
je 0x1000bb46
jmp 0x1000c05f
push 1
lea eax, [ebp - 0x1028]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000b420
mov dword [ebp - 0x18], eax
jmp 0x1000c05f
lea edx, [ebp - 0x1028]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 2
mov dword [ebp - 0x1134], eax
lea ecx, [ebp - 0x1130]
call fcn.1000e120
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1134]
push eax
lea ecx, [ebp - 0x1130]
call fcn.1000b930
jmp 0x1000bb93
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1130]
call fcn.1000ba00
test eax, eax
je 0x1000bd12
lea ecx, [ebp - 0x1130]
call fcn.1000ba00
mov dword [ebp - 0x1138], eax
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x113c], ecx
mov dword [ebp - 0x1134], 0
mov edx, dword [ebp - 0x113c]
movsx eax, byte [edx]
test eax, eax
je 0x1000bcd4
mov ecx, dword [ebp - 0x113c]
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x1140], eax
mov edx, dword [ebp - 0x113c]
movsx eax, byte [edx]
cmp eax, 0x5c
jne 0x1000bc41
mov ecx, dword [ebp - 0x1140]
movsx edx, byte [ecx]
cmp edx, 0x30
jne 0x1000bc41
mov eax, dword [ebp - 0x1138]
mov byte [eax], 0
mov ecx, dword [ebp - 0x1138]
add ecx, 1
mov dword [ebp - 0x1138], ecx
mov edx, dword [ebp - 0x1140]
push edx
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x113c], eax
jmp 0x1000bcc0
mov eax, dword [ebp - 0x1138]
mov ecx, dword [ebp - 0x113c]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x113c]
movzx ecx, byte [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x1000bca2
mov edx, dword [ebp - 0x1138]
add edx, 1
mov dword [ebp - 0x1138], edx
mov eax, dword [ebp - 0x113c]
add eax, 1
mov dword [ebp - 0x113c], eax
mov ecx, dword [ebp - 0x113c]
movsx edx, byte [ecx]
test edx, edx
jne 0x1000bc92
jmp 0x1000bcd4
mov eax, dword [ebp - 0x1138]
mov ecx, dword [ebp - 0x113c]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x1138]
add eax, 1
mov dword [ebp - 0x1138], eax
mov ecx, dword [ebp - 0x113c]
add ecx, 1
mov dword [ebp - 0x113c], ecx
mov edx, dword [ebp - 0x1134]
add edx, 1
mov dword [ebp - 0x1134], edx
jmp 0x1000bbd4
mov eax, dword [ebp - 0x1138]
mov byte [eax], 0
mov ecx, dword [ebp - 0x1138]
add ecx, 1
mov dword [ebp - 0x1138], ecx
mov edx, dword [ebp - 0x1138]
mov byte [edx], 0
lea ecx, [ebp - 0x1130]
call fcn.1000ba00
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000b4c0
mov dword [ebp - 0x18], eax
jmp 0x1000bd19
mov dword [ebp - 0x18], 0xe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1130]
call fcn.1000b4a0
jmp 0x1000c05f
call fcn.10005b20
mov dword [ebp - 0x1150], eax
lea ecx, [ebp - 0x1158]
call fcn.1000e120
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x1148], ecx
cmp dword [ebp - 0x1148], 0
jne 0x1000bd71
mov dword [ebp - 0x1288], 0
jmp 0x1000be43
mov edx, dword [ebp - 0x1148]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x1154], eax
push 2
mov eax, dword [ebp - 0x1154]
push eax
lea ecx, [ebp - 0x1154]
push ecx
call fcn.1000b590
add esp, 0xc
test eax, eax
jge 0x1000bdb2
mov dword [ebp - 0x128c], 0
jmp 0x1000be37
cmp dword [ebp - 0x1154], 0x400
jg 0x1000bdf6
mov edx, dword [ebp - 0x1154]
push edx
call fcn.1000b640
add esp, 4
movzx eax, al
test eax, eax
je 0x1000bdf6
mov eax, dword [ebp - 0x1154]
call fcn.10018e40
mov dword [ebp - 0x1290], esp
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp - 0x1290]
mov dword [ebp - 0x1294], ecx
jmp 0x1000be0e
mov edx, dword [ebp - 0x1154]
push edx
lea ecx, [ebp - 0x1158]
call fcn.1000b7b0
mov dword [ebp - 0x1294], eax
mov eax, dword [ebp - 0x1150]
push eax
mov ecx, dword [ebp - 0x1154]
shr ecx, 1
push ecx
mov edx, dword [ebp - 0x1148]
push edx
mov eax, dword [ebp - 0x1294]
push eax
call fcn.1000b5f0
mov dword [ebp - 0x128c], eax
mov ecx, dword [ebp - 0x128c]
mov dword [ebp - 0x1288], ecx
mov edx, dword [ebp - 0x1288]
mov dword [ebp - 0x114c], edx
cmp dword [ebp - 0x114c], 0
jne 0x1000be7f
mov dword [ebp - 0x1278], 0x8007000e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1158]
call fcn.1000b550
mov eax, dword [ebp - 0x1278]
jmp 0x1000c099
lea eax, [ebp - 0x115c]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x114c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov edx, dword [ebp - 0x115c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000b800
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1158]
call fcn.1000b550
jmp 0x1000c05f
lea ecx, [ebp - 0x1028]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x1164], eax
mov edx, dword [ebp - 0x1164]
and edx, 1
je 0x1000beec
mov eax, 0x80004005
jmp 0x1000c099
mov eax, dword [ebp - 0x1164]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1160], eax
lea ecx, [ebp - 0x1270]
call fcn.1000e120
mov dword [ebp - 4], 4
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1160]
push eax
lea ecx, [ebp - 0x1270]
call fcn.1000b930
jmp 0x1000bf34
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x1270]
call fcn.1000ba00
test eax, eax
jne 0x1000bf71
mov dword [ebp - 0x127c], 0x80004005
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1270]
call fcn.1000b4a0
mov eax, dword [ebp - 0x127c]
jmp 0x1000c099
mov ecx, dword [ebp - 0x1160]
push ecx
push 0
lea ecx, [ebp - 0x1270]
call fcn.1000ba00
push eax
call fcn.1000f290
add esp, 0xc
mov dword [ebp - 0x1274], 0
jmp 0x1000bfa9
mov edx, dword [ebp - 0x1274]
add edx, 1
mov dword [ebp - 0x1274], edx
mov eax, dword [ebp - 0x1274]
cmp eax, dword [ebp - 0x1164]
jge 0x1000c020
mov eax, dword [ebp - 0x1274]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
lea ecx, [ebp - 0x1270]
call fcn.1000ba00
add eax, esi
mov dword [ebp - 0x1298], eax
mov ecx, dword [ebp - 0x1274]
and ecx, 1
mov esi, 1
sub esi, ecx
shl esi, 2
mov edx, dword [ebp - 0x1274]
movzx eax, byte [ebp + edx - 0x1028]
push eax
call fcn.1000b960
add esp, 4
movzx edx, al
mov ecx, esi
shl edx, cl
mov eax, dword [ebp - 0x1298]
movzx ecx, byte [eax]
or ecx, edx
mov edx, dword [ebp - 0x1298]
mov byte [edx], cl
jmp 0x1000bf9a
mov eax, dword [ebp - 0x1160]
push eax
lea ecx, [ebp - 0x1270]
call fcn.1000ba00
push eax
push 3
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000ba00
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1270]
call fcn.1000b4a0
cmp dword [ebp - 0x18], 0
je 0x1000c07a
mov dword [ebp - 0x14], 0x204
mov edx, dword [ebp - 0x18]
push edx
call fcn.1000c540
add esp, 4
jmp 0x1000c099
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x1280]
call fcn.1000c5d0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x1000c097
mov eax, dword [ebp - 0x20]
jmp 0x1000c099
xor eax, eax
lea esp, [ebp - 0x12a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.1000f281
mov esp, ebp
pop ebp
ret 0xc