Function at 0x1014c22
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x1090004]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [esi]
cmp eax, dword [ecx + 0x2350]
mov ebx, dword [ecx + eax*4 + 0x232c]
mov edx, dword [ebx]
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], edx
jae 0x1014c69
mov eax, dword [ebx + 0x440]
test eax, eax
jne 0x1014c73
mov eax, 0x80004005
jmp 0x101519c
xor edx, edx
test eax, eax
push edi
mov edi, 0xffff
mov dword [ebp - 0xd0], 0x7fffffff
jbe 0x1014cf7
lea eax, [ebx + 0x444]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax]
cmp eax, 1
jne 0x1014cab
cmp dword [ebx + 0x2a5c], 0
je 0x1014cec
cmp eax, 3
jne 0x1014cb8
mov dword [ebp - 0xd0], eax
jmp 0x1014cd5
cmp eax, 2
jne 0x1014cd7
cmp dword [ecx + 0x252c], 0
je 0x1014cd7
cmp dword [ebp - 0xd0], 3
je 0x1014cd7
mov dword [ebp - 0xd0], eax
mov edi, edx
add dword [ebp - 0xd4], 0xca8
inc edx
cmp edx, dword [ebx + 0x440]
jb 0x1014c95
jmp 0x1014cee
mov edi, edx
mov eax, 0xffff
cmp edi, eax
jne 0x1014d01
mov eax, 0x82000005
jmp 0x101519b
imul edi, edi, 0xca8
lea edi, [edi + ebx + 0x444]
mov dword [edi + 0xc9c], eax
mov ecx, dword [ebx + 0x2a4c]
test ecx, ecx
je 0x1014d73
and dword [ebp - 0xd0], 0
cmp dword [edi + 0xe0], 0
jbe 0x1014d73
lea eax, [edi + 0xec]
cmp dword [eax - 8], ecx
jne 0x1014d4e
mov edx, dword [eax - 4]
cmp edx, dword [ebx + 0x2a50]
jne 0x1014d4e
mov edx, dword [eax]
cmp edx, dword [ebx + 0x2a54]
je 0x1014d67
inc dword [ebp - 0xd0]
mov edx, dword [ebp - 0xd0]
add eax, 0x14
cmp edx, dword [edi + 0xe0]
jb 0x1014d34
jmp 0x1014d73
mov eax, dword [ebp - 0xd0]
mov dword [edi + 0xc9c], eax
cmp dword [edi + 0xc9c], 0xffff
jne 0x1014f68
cmp dword [edi], 3
jne 0x1014e20
xor ecx, ecx
or edx, 0xffffffff
cmp dword [edi + 0xe0], ecx
mov dword [ebp - 0xd4], ecx
mov dword [edi + 0xc9c], ecx
jbe 0x1014e8b
lea eax, [edi + 0xec]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax - 4]
cmp eax, 0x190
je 0x1014e0e
cmp eax, edx
jb 0x1014dd4
jne 0x1014e0e
cmp dword [ebp - 0xd4], 0
jne 0x1014e0e
and dword [ebp - 0xd4], 0
mov edx, eax
mov eax, dword [ebp - 0xd0]
mov dword [edi + 0xc9c], ecx
mov eax, dword [eax]
cmp eax, 0x17
je 0x1014e04
cmp eax, 0x18
je 0x1014e04
cmp eax, 0x19
je 0x1014e04
cmp eax, 0x1a
je 0x1014e04
cmp eax, 0x1e
jne 0x1014e0e
mov dword [ebp - 0xd4], 1
add dword [ebp - 0xd0], 0x14
inc ecx
cmp ecx, dword [edi + 0xe0]
jb 0x1014db5
jmp 0x1014e8b
xor edx, edx
cmp dword [edi + 0xe0], edx
mov dword [ebp - 0xe0], edx
mov dword [edi + 0xc9c], edx
jbe 0x1014e8b
lea eax, [edi + 0xec]
mov ecx, dword [eax - 8]
cmp ecx, dword [ebx + 0x430]
jne 0x1014e77
mov ecx, dword [eax - 4]
cmp ecx, dword [ebx + 0x434]
jne 0x1014e77
cmp dword [ebp - 0xe0], 0
jne 0x1014e61
mov dword [edi + 0xc9c], edx
mov ecx, dword [eax]
cmp ecx, 0x16
mov dword [ebp - 0xe0], 1
je 0x1014e85
cmp ecx, 0x15
je 0x1014e85
inc edx
add eax, 0x14
cmp edx, dword [edi + 0xe0]
jb 0x1014e3c
jmp 0x1014e8b
mov dword [edi + 0xc9c], edx
cmp dword [edi + 0xc9c], 0xffff
jne 0x1014f68
xor eax, eax
cmp dword [edi + 0xe0], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd0], eax
jbe 0x1014f68
lea eax, [edi + 0xec]
mov ecx, dword [eax]
cmp ecx, 0x16
mov edx, dword [eax - 8]
je 0x1014ee0
cmp ecx, 0x15
mov dword [ebp - 0xd4], 0x10
jne 0x1014eea
mov dword [ebp - 0xd4], 0x20
cmp edx, dword [ebp - 0xe4]
ja 0x1014f23
mov ecx, dword [eax - 4]
cmp ecx, dword [ebp - 0xe0]
ja 0x1014f23
mov ecx, dword [eax - 8]
cmp ecx, dword [ebp - 0xe4]
jne 0x1014f4d
mov ecx, dword [eax - 4]
cmp ecx, dword [ebp - 0xe0]
jne 0x1014f4d
mov edx, dword [ebp - 0xd4]
cmp edx, dword [ebp - 0xdc]
jbe 0x1014f4d
jmp 0x1014f29
mov edx, dword [ebp - 0xd4]
mov ecx, dword [eax - 8]
mov dword [ebp - 0xe4], ecx
mov ecx, dword [eax - 4]
mov dword [ebp - 0xe0], ecx
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xdc], edx
mov dword [edi + 0xc9c], ecx
inc dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xd0]
add eax, 0x14
cmp ecx, dword [edi + 0xe0]
jb 0x1014ec7
and dword [ebp - 0xdc], 0
mov eax, dword [edi + 0xc9c]
mov ecx, dword [edi]
mov dword [esi + 8], ecx
lea eax, [eax + eax*4]
lea eax, [edi + eax*4 + 0xe4]
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0xe8]
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 + 0x44], ecx
xor edx, edx
mov dword [esi + 0x30], edx
mov dword [esi + 0x40], edx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0xd8]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
mov ecx, dword [eax + 0x26d4]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebx + 0x2a64]
mov dword [esi + 0x2c], ecx
mov ecx, dword [eax + 0x2530]
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0x10]
push ecx
lea ecx, [esi + 0x14]
push ecx
push dword [esi + 0xc]
mov ecx, dword [ebp - 0xd8]
mov dword [esi + 0x3c], edx
push dword [ecx + 0xc]
mov eax, dword [eax + 0x2354]
push dword [esi + 8]
mov edx, dword [eax]
push dword [ebp - 0xec]
push eax
call dword [edx + 0x3c]
test eax, eax
mov dword [ebp - 0xd0], eax
jl 0x1015044
mov ecx, dword [ebp - 0xd8]
push dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 0xd0], eax
xor eax, eax
cmp dword [ebp - 0xd0], eax
jge 0x101506e
mov ecx, dword [esi + 0x10]
cmp ecx, eax
je 0x1015044
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [esi + 0x10], 0
mov ecx, dword [ebp - 0xd8]
push edi
mov dword [ebp - 0xdc], 1
call fcn.010130a9
test eax, eax
jne 0x1014f6f
cmp dword [ebp - 0xd0], eax
jl 0x1015195
cmp dword [ebp - 0xdc], eax
je 0x1015195
mov ecx, dword [ebp - 0xd8]
add ecx, 0x253c
cmp word [ecx], ax
je 0x1015195
mov edx, dword [esi + 0x14]
mov dword [ebx + 0x2a4c], edx
mov edx, dword [esi + 0x18]
push eax
lea edi, [ebx + 0x2a50]
mov dword [edi], edx
mov edx, dword [esi + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebx + 0x2a54], edx
lea edx, [ebp - 0xdc]
push edx
push eax
push 0xf003f
push eax
push eax
push eax
push ecx
push 0x80000001
call esi
test eax, eax
jne 0x1015195
mov eax, dword [ebp - 0xe8]
inc eax
push eax
lea eax, [ebp - 0xcc]
push 0x1002254
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor eax, eax
push eax
lea ecx, [ebp - 0xd8]
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0xdc]
call esi
test eax, eax
jne 0x1015189
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebx + 0x2a4c]
push eax
push 4
push 0
push 0x10021f4
push dword [ebp - 0xd8]
call esi
push 4
push edi
push 4
xor edi, edi
push edi
push 0x10021e4
push dword [ebp - 0xd8]
call esi
push 4
lea eax, [ebx + 0x2a54]
push eax
push 4
push edi
push 0x10021d4
push dword [ebp - 0xd8]
call esi
push 0x10
add ebx, 0x41c
push ebx
push 3
push edi
push 0x100223c
push dword [ebp - 0xd8]
call esi
push dword [ebp - 0xd8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xdc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xd0]
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0100d888
leave
ret 4