Function at 0x10006af0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005bd2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x18], 0
call fcn.100061a0
mov dword [ebp - 4], 0
mov eax, 0x7ffffffe
mov ecx, dword [ebp - 0x5c]
sub eax, ecx
mov dword [ebp - 0x10], ecx
cmp eax, 0x19
jb 0x10006ffa
cmp dword [ebp - 0x58], 7
lea eax, [ebp - 0x6c]
push esi
cmova eax, dword [ebp - 0x6c]
lea edx, [ecx + 0x19]
mov esi, 7
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], edx
push edi
lea edi, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
cmp edx, esi
jbe 0x10006bfd
mov esi, edx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x10006b90
mov eax, 0x7fffffff
mov esi, 0x7ffffffe
add eax, eax
jmp 0x10006bb1
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x10007004
add eax, eax
cmp eax, 0x1000
jb 0x10006bde
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x10007004
push ecx
call fcn.1003a9a0
add esp, 4
test eax, eax
je 0x10007009
mov ecx, dword [ebp - 0x10]
lea edi, [eax + 0x23]
mov edx, dword [ebp - 0x14]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x10006bf7
test eax, eax
je 0x10006bf5
push eax
call fcn.1003a9a0
mov ecx, dword [ebp - 0x10]
add esp, 4
mov edx, dword [ebp - 0x14]
mov edi, eax
jmp 0x10006bf7
xor edi, edi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x1c], esi
lea esi, [ecx + ecx]
push esi
push eax
push edi
mov dword [ebp - 0x20], edx
call fcn.1003c0f0
movups xmm0, xmmword [0x100c24f4]
xor ecx, ecx
add esp, 0xc
movups xmmword [esi + edi], xmm0
movups xmm0, xmmword [0x100c2504]
movups xmmword [esi + edi + 0x10], xmm0
movups xmm0, xmmword [0x100c2514]
movups xmmword [esi + edi + 0x20], xmm0
mov ax, word [0x100c2524]
mov word [esi + edi + 0x30], ax
mov eax, dword [ebp - 0x14]
mov word [edi + eax*2], cx
cmp dword [ebp - 0x1c], 7
lea esi, [ebp - 0x30]
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x124], 0x100c279c
cmova esi, dword [ebp - 0x30]
call fcn.10008c20
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x18], 0xc
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x124], 0x100c263c
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 4]
push ecx
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x128], eax
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x124]
movlpd qword [ebp - 0x11c], xmm0
add ecx, dword [eax + 4]
call fcn.10008ce0
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x124]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x124], 0x100c2634
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x128], eax
lea ecx, [ebp - 0x114]
call fcn.10008a80
push ecx
push 1
push esi
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 5
call fcn.10008950
test eax, eax
jne 0x10006d3a
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x124]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10002950
mov eax, dword [ebp - 0x124]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x124], 0x100c2634
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x128], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0xc8], 0
je 0x10006e39
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x34], 7
movups xmmword [ebp - 0x48], xmm0
mov word [ebp - 0x48], ax
lea edx, [ebp - 0x48]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x124]
call fcn.1000b7a0
lea ecx, [ebp - 0x114]
call fcn.10008500
test eax, eax
jne 0x10006dd7
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x124]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10002950
cmp dword [ebp - 0x34], 7
lea eax, [ebp - 0x48]
push 0
cmova eax, dword [ebp - 0x48]
push 0x100c2528
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x34]
cmp ecx, 7
jbe 0x10006ef4
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10006e2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006fff
push ecx
push edx
call fcn.1003acea
add esp, 8
jmp 0x10006ef4
movups xmm0, xmmword [0x100c2538]
mov eax, dword [0x100c2558]
mov esi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x34], eax
mov eax, dword [0x100c257c]
movups xmm0, xmmword [0x100c2548]
mov dword [ebp - 0x12c], eax
mov ax, word [0x100c2580]
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x128], ax
lea eax, [ebp - 0x54]
movups xmm0, xmmword [0x100c255c]
push eax
push 1
movups xmmword [ebp - 0x14c], xmm0
push 1
movups xmm0, xmmword [0x100c256c]
push 0
movups xmmword [ebp - 0x13c], xmm0
call esi
lea eax, [ebp - 0x14c]
push eax
push 1
push 1
push 0
call esi
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x100c2584
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10006ef4
push 0x48
lea eax, [ebp - 0x54]
push eax
push 1
push 0
push 0x100c25a0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0xc], 1
jne 0x10006f55
mov eax, 0x100057f0
mov dword [0x100b7590], 0x35ba583b
add eax, 0x253
push 0x253
push eax
call fcn.1000a350
call fcn.10006310
mov eax, 0x10004940
add eax, 0x15e
push 0x15e
push eax
call fcn.1000a350
mov eax, 0x10005ef0
mov dword [0x100b7594], 1
add eax, 0x192
push 0x192
push eax
call fcn.1000a350
add esp, 0x18
mov esi, dword [0x100b7594]
lea ecx, [ebp - 0x124]
call fcn.10007010
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x10006f9c
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10006f92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007009
push ecx
push edx
call fcn.1003acea
add esp, 8
mov ecx, dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp ecx, 7
jbe 0x10006fe6
mov edx, dword [ebp - 0x6c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10006fdc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007009
push ecx
push edx
call fcn.1003acea
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
call fcn.10001300
call fcn.10046bf3
call fcn.10001260
call fcn.10046bf3
int3