Function at 0x1006bb4
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa84
mov eax, dword [0x100ae94]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
lea edx, [ebx + 0x10a4]
cmp word [edx], di
mov dword [ebp - 0xa70], edi
mov dword [ebp - 0xa7c], edi
mov dword [ebp - 0xa74], edi
mov dword [ebp - 0xa78], edi
mov dword [ebp - 0xa80], edx
jne 0x1006cb6
push edi
push edi
push ebx
push 1
mov esi, 0x104
push esi
lea ecx, [ebp - 0x414]
push ecx
push eax
call fcn.010056c4
add esp, 0x1c
cmp eax, edi
mov dword [ebp - 0xa6c], eax
jl 0x1006e6f
xor eax, eax
movzx ecx, word [eax + 0x10015bc]
mov word [ebp + eax - 0x20c], cx
inc eax
inc eax
cmp cx, di
jne 0x1006c2c
push 0x1001a50
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01002b28
lea eax, [ebx + 0xa28]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01002b28
push 0x10014ac
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01002b28
lea eax, [ebx + 0xe9c]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01002b28
push 0x1001a4c
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01002b28
lea eax, [ebp - 0x414]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01002b28
jmp 0x1006d1a
xor eax, eax
movzx ecx, word [eax + 0x1001a30]
mov word [ebp + eax - 0x20c], cx
inc eax
inc eax
cmp cx, di
jne 0x1006cb8
mov eax, edx
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x1006cd0
sub eax, edx
lea edi, [ebp - 0x20c]
dec edi
dec edi
mov cx, word [edi + 2]
inc edi
inc edi
test cx, cx
jne 0x1006ce4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x20c]
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
test ax, ax
jne 0x1006d07
mov esi, 0x1001a2c
movsd dword es:[edi], dword [esi]
xor edi, edi
lea eax, [ebp - 0xa70]
push eax
push 0x1002708
lea eax, [ebp - 0x20c]
push eax
call dword [0x100b508]
cmp eax, edi
mov dword [ebp - 0xa6c], eax
jl 0x1006e6f
lea eax, [ebp - 0xa68]
push ebx
push eax
call fcn.01003ea2
cmp eax, edi
pop ecx
pop ecx
jne 0x1006e69
lea eax, [ebp - 0xa68]
push eax
push ebx
call fcn.01003a8c
mov eax, dword [ebp - 0xa70]
pop ecx
pop ecx
push 0xc
pop ecx
lea esi, [ebp - 0xa84]
push esi
push ecx
push 0x100a670
mov dword [ebp - 0xa84], ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x14]
cmp eax, edi
mov dword [ebp - 0xa6c], eax
jl 0x1006e6f
mov eax, dword [ebp - 0xa70]
mov ecx, dword [eax]
lea edx, [ebp - 0xa7c]
push edx
push 0x1002728
push eax
call dword [ecx]
cmp eax, edi
mov dword [ebp - 0xa6c], eax
jl 0x1006e6f
mov eax, dword [ebp - 0xa7c]
mov ecx, dword [eax]
lea edx, [ebp - 0xa74]
push edx
push eax
call dword [ecx + 0x24]
cmp eax, edi
mov dword [ebp - 0xa6c], eax
jl 0x1006e6f
mov eax, dword [ebp - 0xa74]
cmp eax, edi
je 0x1006e83
mov esi, dword [ebp - 0xa80]
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
inc eax
inc eax
cmp cx, di
jne 0x1006df5
push esi
push 0x10017a0
call dword [0x1001144]
push ebx
push 4
call fcn.010033b4
add esp, 0x10
lea eax, [ebp - 0xa78]
push eax
push 2
push edi
add ebx, 0x618
push ebx
push 0x80000002
call dword [fcn.01001018]
cmp eax, edi
jne 0x1006e69
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x1006e3f
sub eax, edx
sar eax, 1
add eax, eax
push eax
push esi
push 1
push edi
push 0x10015a4
push dword [ebp - 0xa78]
call dword [0x100101c]
cmp eax, edi
je 0x1006e6f
mov dword [ebp - 0xa6c], eax
cmp dword [ebp - 0xa74], edi
je 0x1006e83
push dword [ebp - 0xa74]
call dword [0x100116c]
cmp dword [ebp - 0xa78], edi
je 0x1006e97
push dword [ebp - 0xa78]
call dword [fcn.01001010]
mov eax, dword [ebp - 0xa7c]
cmp eax, edi
je 0x1006ea7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa70]
cmp eax, edi
pop edi
pop esi
pop ebx
je 0x1006eba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xa6c]
xor ecx, ebp
call fcn.01007a04
leave
ret