Function at 0x100f4900
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011efd4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x98
mov dword [ebp - 0x4c], 0
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x54], edx
push edi
mov dword [ebp - 0x5c], esi
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
push 0xb
push 0x1013aea4
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.1001a860
mov eax, dword [ebx + 8]
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x100f49a8
mov eax, dword [eax]
push 1
push 3
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.100e2850
test al, al
je 0x100f4bdf
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100f49cf
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.100e2680
test al, al
jne 0x100f4bdb
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov eax, dword [esi + 0x10]
add eax, dword [ebp - 0x64]
push eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x4c], 1
call fcn.10021790
cmp dword [esi + 0x14], 8
mov edx, esi
mov ecx, dword [esi + 0x10]
jb 0x100f4a22
mov edx, dword [esi]
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
sub eax, esi
mov dword [ebp - 0x18], esi
cmp ecx, eax
ja 0x100f4a5e
cmp dword [ebp - 0x1c], 8
lea edi, [esi + ecx]
lea eax, [ecx + ecx]
mov dword [ebp - 0x20], edi
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x30]
cmovae esi, dword [ebp - 0x30]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.10074220
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x100f4a70
push ecx
push edx
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
call fcn.1001f850
cmp dword [ebp - 0x60], 8
lea edx, [ebp - 0x74]
mov esi, dword [ebp - 0x20]
cmovae edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x64]
sub eax, esi
mov dword [ebp - 0x18], esi
cmp ecx, eax
ja 0x100f4aba
cmp dword [ebp - 0x1c], 8
lea edi, [esi + ecx]
lea eax, [ecx + ecx]
mov dword [ebp - 0x20], edi
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x30]
cmovae esi, dword [ebp - 0x30]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.10074220
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x100f4acc
push ecx
push edx
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
call fcn.1001f850
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x100f4ada
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.1001e7b0
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x34]
movq qword [ebp - 0x58], xmm1
movups xmmword [ebp - 0xa8], xmm0
cmp edx, 8
jb 0x100f4b51
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f4b3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f4c9c
push edx
push ecx
call fcn.100703b3
movups xmm0, xmmword [ebp - 0xa8]
add esp, 8
movq xmm1, qword [ebp - 0x58]
mov edx, dword [ebp - 0x1c]
movq qword [ebp - 0x38], xmm1
movups xmmword [ebp - 0x48], xmm0
cmp edx, 8
jb 0x100f4b94
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f4b8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f4ca1
push edx
push ecx
call fcn.100703b3
add esp, 8
cmp dword [ebp - 0x34], 8
lea esi, [ebp - 0x48]
mov edx, dword [ebp - 0x5c]
cmovae esi, dword [ebp - 0x48]
cmp dword [edx + 0x14], 8
jb 0x100f4baa
mov edx, dword [edx]
mov ecx, esi
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100f4bb0
sub ecx, edi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push edx
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x100f4bdb
mov dword [ebp - 0x78], eax
jmp 0x100f4bdf
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x100f4bf4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x7c], 0
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x78], 0
cmp edx, 8
jb 0x100f4c31
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f4c27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f4ca6
push edx
push ecx
call fcn.100703b3
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x100f4c67
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f4c5d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f4cab
push edx
push ecx
call fcn.100703b3
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.100e2a60
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
call fcn.1007e0fa
int3