Function at 0x100e38c
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x1013014]
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 0x100e3d2
mov eax, 0x80004005
jmp 0x100e83a
mov eax, dword [ebx + 0x460]
test eax, eax
je 0x100e3c8
xor edx, edx
test eax, eax
push edi
mov edi, 0xffff
mov dword [ebp - 0x70], 0x7fffffff
jbe 0x100e44b
lea eax, [ebx + 0x464]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
cmp eax, 1
jne 0x100e40b
cmp dword [ebx + 0x2b84], 0
je 0x100e440
cmp eax, 3
jne 0x100e415
mov dword [ebp - 0x70], eax
jmp 0x100e42c
cmp eax, 2
jne 0x100e42e
cmp byte [ecx + 0x151c], 0
je 0x100e42e
cmp dword [ebp - 0x70], 3
je 0x100e42e
mov dword [ebp - 0x70], eax
mov edi, edx
add dword [ebp - 0x78], 0xd04
inc edx
cmp edx, dword [ebx + 0x460]
jb 0x100e3f8
jmp 0x100e442
mov edi, edx
mov eax, 0xffff
cmp edi, eax
jne 0x100e455
mov eax, 0x82000005
jmp 0x100e839
imul edi, edi, 0xd04
lea edi, [edi + ebx + 0x464]
mov dword [edi + 0xcf8], eax
mov ecx, dword [ebx + 0x2b74]
test ecx, ecx
je 0x100e4bb
and dword [ebp - 0x70], 0
cmp dword [edi + 0x13c], 0
jbe 0x100e4bb
lea eax, [edi + 0x148]
cmp dword [eax - 8], ecx
jne 0x100e49f
mov edx, dword [eax - 4]
cmp edx, dword [ebx + 0x2b78]
jne 0x100e49f
mov edx, dword [eax]
cmp edx, dword [ebx + 0x2b7c]
je 0x100e4b2
inc dword [ebp - 0x70]
mov edx, dword [ebp - 0x70]
add eax, 0x14
cmp edx, dword [edi + 0x13c]
jb 0x100e485
jmp 0x100e4bb
mov eax, dword [ebp - 0x70]
mov dword [edi + 0xcf8], eax
cmp dword [edi + 0xcf8], 0xffff
jne 0x100e64d
cmp dword [edi], 3
mov byte [ebp - 0x69], 0
jne 0x100e54a
xor ecx, ecx
or edx, 0xffffffff
cmp dword [edi + 0x13c], ecx
mov dword [edi + 0xcf8], ecx
jbe 0x100e5a6
lea eax, [edi + 0x148]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax - 4]
cmp eax, 0x190
je 0x100e53b
cmp eax, edx
jb 0x100e50d
jne 0x100e53b
cmp byte [ebp - 0x69], 0
jne 0x100e53b
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 0x100e537
cmp eax, 0x18
je 0x100e537
cmp eax, 0x19
je 0x100e537
cmp eax, 0x1a
je 0x100e537
cmp eax, 0x1e
jne 0x100e53b
mov byte [ebp - 0x69], 1
add dword [ebp - 0x70], 0x14
inc ecx
cmp ecx, dword [edi + 0x13c]
jb 0x100e4f4
jmp 0x100e5a6
xor edx, edx
cmp dword [edi + 0x13c], edx
mov dword [edi + 0xcf8], edx
jbe 0x100e5a6
lea eax, [edi + 0x148]
mov ecx, dword [eax - 8]
cmp ecx, dword [ebx + 0x450]
jne 0x100e592
mov ecx, dword [eax - 4]
cmp ecx, dword [ebx + 0x454]
jne 0x100e592
cmp byte [ebp - 0x69], 0
jne 0x100e582
mov dword [edi + 0xcf8], edx
mov ecx, dword [eax]
cmp ecx, 0x16
mov byte [ebp - 0x69], 1
je 0x100e5a0
cmp ecx, 0x15
je 0x100e5a0
inc edx
add eax, 0x14
cmp edx, dword [edi + 0x13c]
jb 0x100e560
jmp 0x100e5a6
mov dword [edi + 0xcf8], edx
cmp dword [edi + 0xcf8], 0xffff
jne 0x100e64d
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 0x100e64d
lea eax, [edi + 0x148]
mov ecx, dword [eax]
cmp ecx, 0x16
mov edx, dword [eax - 8]
je 0x100e5eb
cmp ecx, 0x15
mov dword [ebp - 0x78], 0x10
jne 0x100e5f2
mov dword [ebp - 0x78], 0x20
cmp edx, dword [ebp - 0x80]
ja 0x100e61e
mov ecx, dword [eax - 4]
cmp ecx, dword [ebp - 0x84]
ja 0x100e61e
mov ecx, edx
cmp ecx, dword [ebp - 0x80]
jne 0x100e63c
mov ecx, dword [eax - 4]
cmp ecx, dword [ebp - 0x84]
jne 0x100e63c
mov edx, dword [ebp - 0x78]
cmp edx, dword [ebp - 0x7c]
jbe 0x100e63c
jmp 0x100e621
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 0x100e5d5
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 0x100e713
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 0x100e734
mov ecx, dword [esi + 0x10]
cmp ecx, eax
je 0x100e713
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.0100d8eb
test al, al
jne 0x100e651
cmp dword [ebp - 0x70], 0
jl 0x100e836
xor eax, eax
cmp byte [ebp - 0x69], 0
je 0x100e836
mov ecx, dword [ebp - 0x74]
add ecx, 0x1520
cmp byte [ecx], 0
je 0x100e836
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 0x100e836
mov eax, dword [ebp - 0x88]
inc eax
push eax
push 0x1003938
lea eax, [ebp - 0x68]
push 0x64
push eax
call fcn.0100de8f
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 0x100e82d
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.010064e2
leave
ret 4