Function at 0x1000e39d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c08d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2134
call fcn.10049a40
mov eax, dword [0x1006500c]
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 - 0x2130], ecx
mov dword [ebp - 0x211c], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x212c], ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2128], edi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x213c], eax
lea eax, [ebp - 0x2014]
push eax
call fcn.1000e253
test eax, eax
js 0x1000e89c
push 0x10056ddc
lea eax, [ebp - 0x2014]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
call esi
test eax, eax
jne 0x1000e42a
push 8
jmp 0x1000e471
push 0x10056de0
lea eax, [ebp - 0x2014]
push eax
call esi
test eax, eax
jne 0x1000e443
mov esi, 0x4008
jmp 0x1000e472
push 0x10056de4
lea eax, [ebp - 0x2014]
push eax
call esi
test eax, eax
jne 0x1000e459
push 0x13
jmp 0x1000e471
push 0x10056de8
lea eax, [ebp - 0x2014]
push eax
call esi
test eax, eax
jne 0x1000e897
push 0x11
pop esi
mov ecx, dword [ebp - 0x2130]
call fcn.1000e233
lea eax, [ebp - 0x2014]
push eax
mov ecx, dword [ebp - 0x2130]
call fcn.1000e253
test eax, eax
js 0x1000e89c
sub esi, 8
je 0x1000e843
sub esi, 9
je 0x1000e689
push 2
pop edi
sub esi, edi
je 0x1000e61f
sub esi, 0x3ff5
jne 0x1000e87b
lea eax, [ebp - 0x2014]
push eax
call fcn.1003dd45
pop ecx
add eax, edi
xor ebx, ebx
mov dword [ebp - 0x2118], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
mul edi
mov dword [ebp - 0x2138], eax
mov dword [ebp - 0x2134], edx
cmp edx, ebx
ja 0x1000e8b8
cmp eax, 0xffffffff
ja 0x1000e8b8
cmp eax, 0x100
jbe 0x1000e512
push eax
lea ecx, [ebp - 0x2118]
call fcn.10010277
jmp 0x1000e51e
lea eax, [ebp - 0x2114]
mov dword [ebp - 0x2118], eax
mov dword [ebp - 4], ebx
jmp 0x1000e53d
mov esi, dword [ebp - 0x2118]
test esi, esi
je 0x1000e5f6
lea eax, [ebp - 0x2014]
cmp word [ebp - 0x2014], 0
mov dword [ebp - 0x211c], eax
je 0x1000e5a1
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
mov eax, dword [ebp - 0x211c]
movzx edx, word [eax]
cmp edx, 0x5c
jne 0x1000e594
push 0x30
pop eax
cmp word [ecx], ax
mov eax, dword [ebp - 0x211c]
jne 0x1000e594
xor eax, eax
mov word [esi], ax
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
jmp 0x1000e599
mov word [esi], dx
add eax, edi
add esi, 2
cmp word [eax], bx
jmp 0x1000e559
xor eax, eax
mov word [esi], ax
mov word [esi + edi], ax
mov esi, dword [ebp - 0x2118]
mov dword [ebp - 0x2120], esi
test esi, esi
jne 0x1000e5be
push 0xd
jmp 0x1000e5f8
mov edi, ebx
push esi
call fcn.1003dd45
pop ecx
inc eax
lea esi, [esi + eax*2]
lea edi, [edi + eax*2]
cmp eax, 1
jne 0x1000e5c0
push edi
mov esi, dword [ebp - 0x2120]
push esi
push 7
push ebx
push dword [ebp - 0x2128]
mov eax, dword [ebp - 0x212c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
jmp 0x1000e5f9
push 0xe
pop esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2114]
cmp dword [ebp - 0x2118], eax
je 0x1000e86e
lea ecx, [ebp - 0x2118]
call fcn.1001026e
jmp 0x1000e86e
xor ebx, ebx
mov dword [ebp - 0x2134], ebx
mov dword [ebp - 4], 3
lea eax, [ebp - 0x2124]
push eax
push ebx
push ebx
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
jns 0x1000e651
or dword [ebp - 4], 0xffffffff
jmp 0x1000e89c
mov eax, dword [ebp - 0x2124]
mov dword [ebp - 0x2120], eax
push 4
pop edi
push edi
lea eax, [ebp - 0x2120]
push eax
push edi
push ebx
push dword [ebp - 0x2128]
mov eax, dword [ebp - 0x212c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
jmp 0x1000e86e
lea eax, [ebp - 0x2014]
push eax
call fcn.1003dd45
pop ecx
mov dword [ebp - 0x2120], eax
test al, 1
je 0x1000e6aa
mov eax, 0x80004005
jmp 0x1000e89c
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x2124], esi
mov dword [ebp - 0x2134], esi
xor ebx, ebx
mov dword [ebp - 0x2118], ebx
push 4
pop edi
mov dword [ebp - 4], edi
mov byte [ebp - 4], 5
mov dword [ebp - 0x2144], esi
mov dword [ebp - 0x2140], ebx
cmp esi, 0x100
jbe 0x1000e6f1
push esi
lea ecx, [ebp - 0x2118]
call fcn.10010277
jmp 0x1000e6fd
lea eax, [ebp - 0x2114]
mov dword [ebp - 0x2118], eax
mov dword [ebp - 4], edi
jmp 0x1000e728
cmp dword [ebp - 0x2118], 0
jne 0x1000e757
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2114]
cmp dword [ebp - 0x2118], eax
je 0x1000e6a0
lea ecx, [ebp - 0x2118]
call fcn.1001026e
jmp 0x1000e6a0
push esi
push ebx
push dword [ebp - 0x2118]
call fcn.10038450
add esp, 0xc
mov ecx, ebx
mov dword [ebp - 0x211c], ebx
cmp dword [ebp - 0x2120], 0
jle 0x1000e804
mov esi, dword [ebp - 0x2120]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x2118]
mov dword [ebp - 0x2134], eax
movzx ecx, word [ebp + ecx*2 - 0x2014]
mov eax, ecx
mov edx, ecx
push 0x30
pop ecx
cmp ax, cx
jb 0x1000e7d1
cmp eax, 0x39
jbe 0x1000e7cc
cmp eax, 0x40
jbe 0x1000e7d1
cmp eax, 0x46
jbe 0x1000e7c7
cmp eax, 0x60
jbe 0x1000e7d1
cmp edx, 0x66
ja 0x1000e7d1
sub dl, 0x57
jmp 0x1000e7d3
sub dl, 0x37
jmp 0x1000e7d3
sub dl, 0x30
jmp 0x1000e7d3
mov dl, bl
mov eax, dword [ebp - 0x211c]
and eax, 1
shl eax, 2
mov ecx, edi
sub ecx, eax
shl dl, cl
mov eax, dword [ebp - 0x2134]
or byte [eax], dl
mov ecx, dword [ebp - 0x211c]
inc ecx
mov dword [ebp - 0x211c], ecx
cmp ecx, esi
jl 0x1000e782
mov esi, dword [ebp - 0x2124]
push esi
push dword [ebp - 0x2118]
push 3
push ebx
push dword [ebp - 0x2128]
mov eax, dword [ebp - 0x212c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2114]
cmp dword [ebp - 0x2118], eax
je 0x1000e86e
lea ecx, [ebp - 0x2118]
call fcn.1001026e
jmp 0x1000e86e
lea eax, [ebp - 0x2014]
push eax
call fcn.1003dd45
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x2014]
push eax
push 1
push 0
push edi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x1000e87b
mov ecx, esi
call fcn.1000d6f4
jmp 0x1000e89c
push dword [ebp - 0x213c]
mov ecx, dword [ebp - 0x2130]
call fcn.1000e253
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
jmp 0x1000e89c
mov eax, 0x80020009
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.10036316
leave
ret 0xc
push 0x80070216
call fcn.1000d686
int3