Function at 0x100d6690
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10134ee1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2278
call fcn.100fb540
mov eax, dword [0x10167b84]
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 - 0x2244], ecx
xor eax, eax
mov word [ebp - 0x2234], ax
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2284], 0
lea ecx, [ebp - 0x2014]
push ecx
mov ecx, dword [ebp - 0x2244]
call fcn.100d9680
mov dword [ebp - 0x2220], eax
cmp dword [ebp - 0x2220], 0
jge 0x100d6715
mov eax, dword [ebp - 0x2220]
jmp 0x100d6cee
lea edx, [ebp - 0x2234]
push edx
lea eax, [ebp - 0x2014]
push eax
call fcn.100dcf30
add esp, 8
test eax, eax
jne 0x100d6744
push 0x20f
mov ecx, dword [ebp - 0x2244]
call fcn.100d8bb0
jmp 0x100d6cee
mov ecx, dword [ebp - 0x2244]
call fcn.100dc080
lea ecx, [ebp - 0x2014]
push ecx
mov ecx, dword [ebp - 0x2244]
call fcn.100d9680
mov dword [ebp - 0x2220], eax
cmp dword [ebp - 0x2220], 0
jge 0x100d677b
mov eax, dword [ebp - 0x2220]
jmp 0x100d6cee
movzx edx, word [ebp - 0x2234]
mov dword [ebp - 0x2238], edx
cmp dword [ebp - 0x2238], 0x13
jg 0x100d67b9
cmp dword [ebp - 0x2238], 0x13
je 0x100d69dc
cmp dword [ebp - 0x2238], 8
je 0x100d67ca
cmp dword [ebp - 0x2238], 0x11
je 0x100d6aa5
jmp 0x100d6ca2
cmp dword [ebp - 0x2238], 0x4008
je 0x100d67ea
jmp 0x100d6ca2
push 1
lea eax, [ebp - 0x2014]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.100dbf00
mov dword [ebp - 0x222c], eax
jmp 0x100d6ca2
lea edx, [ebp - 0x2014]
mov dword [ebp - 0x223c], edx
mov eax, dword [ebp - 0x223c]
add eax, 2
mov dword [ebp - 0x2264], eax
mov ecx, dword [ebp - 0x223c]
mov dx, word [ecx]
mov word [ebp - 0x224a], dx
add dword [ebp - 0x223c], 2
cmp word [ebp - 0x224a], 0
jne 0x100d6805
mov eax, dword [ebp - 0x223c]
sub eax, dword [ebp - 0x2264]
sar eax, 1
mov dword [ebp - 0x2268], eax
mov ecx, dword [ebp - 0x2268]
add ecx, 2
mov dword [ebp - 0x2248], ecx
lea ecx, [ebp - 0x221c]
call fcn.1000b120
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2248]
push edx
lea ecx, [ebp - 0x221c]
call fcn.100d6d40
jmp 0x100d6879
mov dword [ebp - 4], 0
jmp 0x100d6889
lea ecx, [ebp - 0x221c]
call fcn.10010af0
test eax, eax
je 0x100d69bb
lea ecx, [ebp - 0x221c]
call fcn.10010af0
mov dword [ebp - 0x2224], eax
lea eax, [ebp - 0x2014]
mov dword [ebp - 0x2228], eax
mov dword [ebp - 0x2248], 0
mov ecx, dword [ebp - 0x2228]
movzx edx, word [ecx]
test edx, edx
je 0x100d6976
mov eax, dword [ebp - 0x2228]
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x225c], eax
mov ecx, dword [ebp - 0x2228]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x100d6932
mov eax, dword [ebp - 0x225c]
movzx ecx, word [eax]
cmp ecx, 0x30
jne 0x100d6932
xor edx, edx
mov eax, dword [ebp - 0x2224]
mov word [eax], dx
mov ecx, dword [ebp - 0x2224]
add ecx, 2
mov dword [ebp - 0x2224], ecx
mov edx, dword [ebp - 0x225c]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x2228], eax
jmp 0x100d6962
mov eax, dword [ebp - 0x2224]
mov ecx, dword [ebp - 0x2228]
mov dx, word [ecx]
mov word [eax], dx
mov eax, dword [ebp - 0x2224]
add eax, 2
mov dword [ebp - 0x2224], eax
mov ecx, dword [ebp - 0x2228]
add ecx, 2
mov dword [ebp - 0x2228], ecx
mov edx, dword [ebp - 0x2248]
add edx, 1
mov dword [ebp - 0x2248], edx
jmp 0x100d68c3
xor eax, eax
mov ecx, dword [ebp - 0x2224]
mov word [ecx], ax
mov edx, dword [ebp - 0x2224]
add edx, 2
mov dword [ebp - 0x2224], edx
xor eax, eax
mov ecx, dword [ebp - 0x2224]
mov word [ecx], ax
lea ecx, [ebp - 0x221c]
call fcn.10010af0
push eax
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.100dbe30
mov dword [ebp - 0x222c], eax
jmp 0x100d69c5
mov dword [ebp - 0x222c], 0xe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x221c]
call fcn.100d5540
jmp 0x100d6ca2
call fcn.100d2530
mov dword [ebp - 0x2288], eax
lea ecx, [ebp - 0x2250]
call fcn.1000b120
mov dword [ebp - 4], 3
push 0x400
lea eax, [ebp - 0x2014]
push eax
call fcn.10007b60
add esp, 8
mov dword [ebp - 0x226c], eax
lea ecx, [ebp - 0x2274]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x226c]
push edx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov dword [ebp - 0x2220], eax
cmp dword [ebp - 0x2220], 0
jge 0x100d6a63
mov eax, dword [ebp - 0x2220]
mov dword [ebp - 0x2270], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2250]
call fcn.100d5480
mov eax, dword [ebp - 0x2270]
jmp 0x100d6cee
mov ecx, dword [ebp - 0x2274]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.100dbde0
mov dword [ebp - 0x222c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2250]
call fcn.100d5480
jmp 0x100d6ca2
lea eax, [ebp - 0x2014]
mov dword [ebp - 0x2240], eax
mov ecx, dword [ebp - 0x2240]
add ecx, 2
mov dword [ebp - 0x2278], ecx
mov edx, dword [ebp - 0x2240]
mov ax, word [edx]
mov word [ebp - 0x224c], ax
add dword [ebp - 0x2240], 2
cmp word [ebp - 0x224c], 0
jne 0x100d6ac0
mov ecx, dword [ebp - 0x2240]
sub ecx, dword [ebp - 0x2278]
sar ecx, 1
mov dword [ebp - 0x227c], ecx
mov edx, dword [ebp - 0x227c]
mov dword [ebp - 0x2254], edx
mov eax, dword [ebp - 0x2254]
and eax, 1
je 0x100d6b16
mov eax, 0x80004005
jmp 0x100d6cee
mov eax, dword [ebp - 0x2254]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x2258], eax
lea ecx, [ebp - 0x2118]
call fcn.1000b120
mov dword [ebp - 4], 4
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2258]
push ecx
lea ecx, [ebp - 0x2118]
call fcn.100d6d10
jmp 0x100d6b57
mov dword [ebp - 4], 4
jmp 0x100d6b67
lea ecx, [ebp - 0x2118]
call fcn.10010af0
test eax, eax
jne 0x100d6b9d
mov dword [ebp - 0x2280], 0x80004005
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2118]
call fcn.100d5540
mov eax, dword [ebp - 0x2280]
jmp 0x100d6cee
mov edx, dword [ebp - 0x2258]
push edx
push 0
lea ecx, [ebp - 0x2118]
call fcn.10010af0
push eax
call fcn.1010db20
add esp, 0xc
mov dword [ebp - 0x2230], 0
jmp 0x100d6bd5
mov eax, dword [ebp - 0x2230]
add eax, 1
mov dword [ebp - 0x2230], eax
mov ecx, dword [ebp - 0x2230]
cmp ecx, dword [ebp - 0x2254]
jge 0x100d6c4c
mov eax, dword [ebp - 0x2230]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
lea ecx, [ebp - 0x2118]
call fcn.10010af0
add eax, esi
mov dword [ebp - 0x2260], eax
mov edx, dword [ebp - 0x2230]
and edx, 1
mov esi, 1
sub esi, edx
shl esi, 2
mov eax, dword [ebp - 0x2230]
movzx ecx, word [ebp + eax*2 - 0x2014]
push ecx
call fcn.100d76d0
add esp, 4
movzx edx, al
mov ecx, esi
shl edx, cl
mov eax, dword [ebp - 0x2260]
movzx ecx, byte [eax]
or ecx, edx
mov edx, dword [ebp - 0x2260]
mov byte [edx], cl
jmp 0x100d6bc6
mov eax, dword [ebp - 0x2258]
push eax
lea ecx, [ebp - 0x2118]
call fcn.10010af0
push eax
push 3
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10010af0
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x222c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2118]
call fcn.100d5540
jmp 0x100d6ca2
cmp dword [ebp - 0x222c], 0
je 0x100d6cc6
mov dword [ebp - 0x2284], 0x204
mov edx, dword [ebp - 0x222c]
push edx
call fcn.100d7430
add esp, 4
jmp 0x100d6cee
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x2244]
call fcn.100d9680
mov dword [ebp - 0x2220], eax
cmp dword [ebp - 0x2220], 0
jge 0x100d6cec
mov eax, dword [ebp - 0x2220]
jmp 0x100d6cee
xor eax, eax
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.100faee9
mov esp, ebp
pop ebp
ret 0xc