Function at 0x100eff8
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x1014028]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp eax, dword [ecx + 0x1408]
mov ebx, dword [ecx + eax*4 + 0x13e4]
mov edx, dword [ebx]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
jb 0x100f03e
mov eax, 0x80004005
jmp 0x100f4a6
mov eax, dword [ebx + 0x460]
test eax, eax
je 0x100f034
xor edx, edx
test eax, eax
push edi
mov edi, 0xffff
mov dword [ebp - 0x70], 0x7fffffff
jbe 0x100f0b7
lea eax, [ebx + 0x464]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
cmp eax, 1
jne 0x100f077
cmp dword [ebx + 0x2b84], 0
je 0x100f0ac
cmp eax, 3
jne 0x100f081
mov dword [ebp - 0x70], eax
jmp 0x100f098
cmp eax, 2
jne 0x100f09a
cmp byte [ecx + 0x151c], 0
je 0x100f09a
cmp dword [ebp - 0x70], 3
je 0x100f09a
mov dword [ebp - 0x70], eax
mov edi, edx
add dword [ebp - 0x78], 0xd04
inc edx
cmp edx, dword [ebx + 0x460]
jb 0x100f064
jmp 0x100f0ae
mov edi, edx
mov eax, 0xffff
cmp edi, eax
jne 0x100f0c1
mov eax, 0x82000005
jmp 0x100f4a5
imul edi, edi, 0xd04
lea edi, [edi + ebx + 0x464]
mov dword [edi + 0xcf8], eax
mov ecx, dword [ebx + 0x2b74]
test ecx, ecx
je 0x100f127
and dword [ebp - 0x70], 0
cmp dword [edi + 0x13c], 0
jbe 0x100f127
lea eax, [edi + 0x148]
cmp dword [eax - 8], ecx
jne 0x100f10b
mov edx, dword [eax - 4]
cmp edx, dword [ebx + 0x2b78]
jne 0x100f10b
mov edx, dword [eax]
cmp edx, dword [ebx + 0x2b7c]
je 0x100f11e
inc dword [ebp - 0x70]
mov edx, dword [ebp - 0x70]
add eax, 0x14
cmp edx, dword [edi + 0x13c]
jb 0x100f0f1
jmp 0x100f127
mov eax, dword [ebp - 0x70]
mov dword [edi + 0xcf8], eax
cmp dword [edi + 0xcf8], 0xffff
jne 0x100f2b9
cmp dword [edi], 3
mov byte [ebp - 0x69], 0
jne 0x100f1b6
xor ecx, ecx
or edx, 0xffffffff
cmp dword [edi + 0x13c], ecx
mov dword [edi + 0xcf8], ecx
jbe 0x100f212
lea eax, [edi + 0x148]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax - 4]
cmp eax, 0x190
je 0x100f1a7
cmp eax, edx
jb 0x100f179
jne 0x100f1a7
cmp byte [ebp - 0x69], 0
jne 0x100f1a7
mov edx, eax
mov eax, dword [ebp - 0x70]
mov dword [edi + 0xcf8], ecx
mov eax, dword [eax]
cmp eax, 0x17
mov byte [ebp - 0x69], 0
je 0x100f1a3
cmp eax, 0x18
je 0x100f1a3
cmp eax, 0x19
je 0x100f1a3
cmp eax, 0x1a
je 0x100f1a3
cmp eax, 0x1e
jne 0x100f1a7
mov byte [ebp - 0x69], 1
add dword [ebp - 0x70], 0x14
inc ecx
cmp ecx, dword [edi + 0x13c]
jb 0x100f160
jmp 0x100f212
xor edx, edx
cmp dword [edi + 0x13c], edx
mov dword [edi + 0xcf8], edx
jbe 0x100f212
lea eax, [edi + 0x148]
mov ecx, dword [eax - 8]
cmp ecx, dword [ebx + 0x450]
jne 0x100f1fe
mov ecx, dword [eax - 4]
cmp ecx, dword [ebx + 0x454]
jne 0x100f1fe
cmp byte [ebp - 0x69], 0
jne 0x100f1ee
mov dword [edi + 0xcf8], edx
mov ecx, dword [eax]
cmp ecx, 0x16
mov byte [ebp - 0x69], 1
je 0x100f20c
cmp ecx, 0x15
je 0x100f20c
inc edx
add eax, 0x14
cmp edx, dword [edi + 0x13c]
jb 0x100f1cc
jmp 0x100f212
mov dword [edi + 0xcf8], edx
cmp dword [edi + 0xcf8], 0xffff
jne 0x100f2b9
xor eax, eax
cmp dword [edi + 0x13c], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x70], eax
jbe 0x100f2b9
lea eax, [edi + 0x148]
mov ecx, dword [eax]
cmp ecx, 0x16
mov edx, dword [eax - 8]
je 0x100f257
cmp ecx, 0x15
mov dword [ebp - 0x78], 0x10
jne 0x100f25e
mov dword [ebp - 0x78], 0x20
cmp edx, dword [ebp - 0x80]
ja 0x100f28a
mov ecx, dword [eax - 4]
cmp ecx, dword [ebp - 0x84]
ja 0x100f28a
mov ecx, edx
cmp ecx, dword [ebp - 0x80]
jne 0x100f2a8
mov ecx, dword [eax - 4]
cmp ecx, dword [ebp - 0x84]
jne 0x100f2a8
mov edx, dword [ebp - 0x78]
cmp edx, dword [ebp - 0x7c]
jbe 0x100f2a8
jmp 0x100f28d
mov edx, dword [ebp - 0x78]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x80], ecx
mov ecx, dword [eax - 4]
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x7c], edx
mov dword [edi + 0xcf8], ecx
inc dword [ebp - 0x70]
mov ecx, dword [ebp - 0x70]
add eax, 0x14
cmp ecx, dword [edi + 0x13c]
jb 0x100f241
mov byte [ebp - 0x69], 0
mov eax, dword [edi + 0xcf8]
mov ecx, dword [edi]
add eax, 0x10
mov dword [esi + 8], ecx
imul eax, eax, 0x14
add eax, edi
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x88]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 0x1c], ecx
mov ecx, dword [eax]
mov dword [esi + 0x14], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0x18], ecx
xor ecx, ecx
inc ecx
mov dword [esi + 0x48], ecx
xor edx, edx
mov dword [esi + 0x34], edx
mov dword [esi + 0x44], edx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x74]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
mov ecx, dword [eax + 0x15f0]
mov dword [esi + 0x2c], ecx
mov ecx, dword [ebx + 0x2b8c]
mov dword [esi + 0x30], ecx
movzx ecx, byte [eax + 0x151d]
mov dword [esi + 0x38], ecx
lea ecx, [esi + 0x10]
push ecx
lea ecx, [esi + 0x14]
push ecx
push dword [esi + 0xc]
mov ecx, dword [ebp - 0x74]
mov dword [esi + 0x40], edx
push dword [ecx + 0xc]
mov eax, dword [eax + 0x140c]
push dword [esi + 8]
mov edx, dword [eax]
push dword [ebp - 0x8c]
push eax
call dword [edx + 0x40]
test eax, eax
mov dword [ebp - 0x70], eax
jl 0x100f37f
mov ecx, dword [ebp - 0x74]
push dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 0x70], eax
xor eax, eax
cmp dword [ebp - 0x70], eax
jge 0x100f3a0
mov ecx, dword [esi + 0x10]
cmp ecx, eax
je 0x100f37f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [esi + 0x10], 0
mov ecx, dword [ebp - 0x74]
push edi
mov byte [ebp - 0x69], 1
call fcn.0100e53d
test al, al
jne 0x100f2bd
cmp dword [ebp - 0x70], 0
jl 0x100f4a2
xor eax, eax
cmp byte [ebp - 0x69], 0
je 0x100f4a2
mov ecx, dword [ebp - 0x74]
add ecx, 0x1520
cmp byte [ecx], 0
je 0x100f4a2
mov edx, dword [esi + 0x14]
mov dword [ebx + 0x2b74], edx
mov edx, dword [esi + 0x18]
push eax
lea edi, [ebx + 0x2b78]
mov dword [edi], edx
mov edx, dword [esi + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebx + 0x2b7c], edx
lea edx, [ebp - 0x7c]
push edx
push eax
push 0xf003f
push eax
push eax
push eax
push ecx
push 0x80000001
call esi
test eax, eax
jne 0x100f4a2
mov eax, dword [ebp - 0x88]
inc eax
push eax
push 0x1003920
lea eax, [ebp - 0x68]
push 0x64
push eax
call fcn.0100eae1
add esp, 0x10
xor eax, eax
push eax
lea ecx, [ebp - 0x74]
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x7c]
call esi
test eax, eax
jne 0x100f499
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea eax, [ebx + 0x2b74]
push eax
push 4
push 0
push 0x1003918
push dword [ebp - 0x74]
call esi
push 4
push edi
push 4
xor edi, edi
push edi
push 0x1003910
push dword [ebp - 0x74]
call esi
push 4
lea eax, [ebx + 0x2b7c]
push eax
push 4
push edi
push 0x1003908
push dword [ebp - 0x74]
call esi
push 0x10
add ebx, 0x43c
push ebx
push 3
push edi
push 0x10038fc
push dword [ebp - 0x74]
call esi
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x70]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.01007126
leave
ret 4