Function at 0x100e308
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x1013018]
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 0x100e34e
mov eax, 0x80004005
jmp 0x100e7b6
mov eax, dword [ebx + 0x460]
test eax, eax
je 0x100e344
xor edx, edx
test eax, eax
push edi
mov edi, 0xffff
mov dword [ebp - 0x70], 0x7fffffff
jbe 0x100e3c7
lea eax, [ebx + 0x464]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
cmp eax, 1
jne 0x100e387
cmp dword [ebx + 0x2b84], 0
je 0x100e3bc
cmp eax, 3
jne 0x100e391
mov dword [ebp - 0x70], eax
jmp 0x100e3a8
cmp eax, 2
jne 0x100e3aa
cmp byte [ecx + 0x151c], 0
je 0x100e3aa
cmp dword [ebp - 0x70], 3
je 0x100e3aa
mov dword [ebp - 0x70], eax
mov edi, edx
add dword [ebp - 0x78], 0xd04
inc edx
cmp edx, dword [ebx + 0x460]
jb 0x100e374
jmp 0x100e3be
mov edi, edx
mov eax, 0xffff
cmp edi, eax
jne 0x100e3d1
mov eax, 0x82000005
jmp 0x100e7b5
imul edi, edi, 0xd04
lea edi, [edi + ebx + 0x464]
mov dword [edi + 0xcf8], eax
mov ecx, dword [ebx + 0x2b74]
test ecx, ecx
je 0x100e437
and dword [ebp - 0x70], 0
cmp dword [edi + 0x13c], 0
jbe 0x100e437
lea eax, [edi + 0x148]
cmp dword [eax - 8], ecx
jne 0x100e41b
mov edx, dword [eax - 4]
cmp edx, dword [ebx + 0x2b78]
jne 0x100e41b
mov edx, dword [eax]
cmp edx, dword [ebx + 0x2b7c]
je 0x100e42e
inc dword [ebp - 0x70]
mov edx, dword [ebp - 0x70]
add eax, 0x14
cmp edx, dword [edi + 0x13c]
jb 0x100e401
jmp 0x100e437
mov eax, dword [ebp - 0x70]
mov dword [edi + 0xcf8], eax
cmp dword [edi + 0xcf8], 0xffff
jne 0x100e5c9
cmp dword [edi], 3
mov byte [ebp - 0x69], 0
jne 0x100e4c6
xor ecx, ecx
or edx, 0xffffffff
cmp dword [edi + 0x13c], ecx
mov dword [edi + 0xcf8], ecx
jbe 0x100e522
lea eax, [edi + 0x148]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax - 4]
cmp eax, 0x190
je 0x100e4b7
cmp eax, edx
jb 0x100e489
jne 0x100e4b7
cmp byte [ebp - 0x69], 0
jne 0x100e4b7
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 0x100e4b3
cmp eax, 0x18
je 0x100e4b3
cmp eax, 0x19
je 0x100e4b3
cmp eax, 0x1a
je 0x100e4b3
cmp eax, 0x1e
jne 0x100e4b7
mov byte [ebp - 0x69], 1
add dword [ebp - 0x70], 0x14
inc ecx
cmp ecx, dword [edi + 0x13c]
jb 0x100e470
jmp 0x100e522
xor edx, edx
cmp dword [edi + 0x13c], edx
mov dword [edi + 0xcf8], edx
jbe 0x100e522
lea eax, [edi + 0x148]
mov ecx, dword [eax - 8]
cmp ecx, dword [ebx + 0x450]
jne 0x100e50e
mov ecx, dword [eax - 4]
cmp ecx, dword [ebx + 0x454]
jne 0x100e50e
cmp byte [ebp - 0x69], 0
jne 0x100e4fe
mov dword [edi + 0xcf8], edx
mov ecx, dword [eax]
cmp ecx, 0x16
mov byte [ebp - 0x69], 1
je 0x100e51c
cmp ecx, 0x15
je 0x100e51c
inc edx
add eax, 0x14
cmp edx, dword [edi + 0x13c]
jb 0x100e4dc
jmp 0x100e522
mov dword [edi + 0xcf8], edx
cmp dword [edi + 0xcf8], 0xffff
jne 0x100e5c9
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 0x100e5c9
lea eax, [edi + 0x148]
mov ecx, dword [eax]
cmp ecx, 0x16
mov edx, dword [eax - 8]
je 0x100e567
cmp ecx, 0x15
mov dword [ebp - 0x78], 0x10
jne 0x100e56e
mov dword [ebp - 0x78], 0x20
cmp edx, dword [ebp - 0x80]
ja 0x100e59a
mov ecx, dword [eax - 4]
cmp ecx, dword [ebp - 0x84]
ja 0x100e59a
mov ecx, edx
cmp ecx, dword [ebp - 0x80]
jne 0x100e5b8
mov ecx, dword [eax - 4]
cmp ecx, dword [ebp - 0x84]
jne 0x100e5b8
mov edx, dword [ebp - 0x78]
cmp edx, dword [ebp - 0x7c]
jbe 0x100e5b8
jmp 0x100e59d
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 0x100e551
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 0x100e68f
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 0x100e6b0
mov ecx, dword [esi + 0x10]
cmp ecx, eax
je 0x100e68f
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.0100d85b
test al, al
jne 0x100e5cd
cmp dword [ebp - 0x70], 0
jl 0x100e7b2
xor eax, eax
cmp byte [ebp - 0x69], 0
je 0x100e7b2
mov ecx, dword [ebp - 0x74]
add ecx, 0x1520
cmp byte [ecx], 0
je 0x100e7b2
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 0x100e7b2
mov eax, dword [ebp - 0x88]
inc eax
push eax
push 0x1003938
lea eax, [ebp - 0x68]
push 0x64
push eax
call fcn.0100ddff
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 0x100e7a9
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea eax, [ebx + 0x2b74]
push eax
push 4
push 0
push 0x1003930
push dword [ebp - 0x74]
call esi
push 4
push edi
push 4
xor edi, edi
push edi
push 0x1003928
push dword [ebp - 0x74]
call esi
push 4
lea eax, [ebx + 0x2b7c]
push eax
push 4
push edi
push 0x1003920
push dword [ebp - 0x74]
call esi
push 0x10
add ebx, 0x43c
push ebx
push 3
push edi
push 0x1003914
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.0100643e
leave
ret 4