Function at 0x129980
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x3c
push 0
push 0
dec ecx
jne 0x129988
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov ecx, 0x19
lea eax, [ebp - 0x78]
mov edx, dword [0x110a0]
call fcn.00014a3c
xor eax, eax
push ebp
push 0x12ab09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.000143f0
xor eax, eax
mov dword [ebp - 0xa0], eax
push ebp
mov eax, 0x12ab20
call fcn.001293d8
pop ecx
mov byte [ebp - 9], 0
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
push 0x12ab48
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov ebx, eax
test ebx, ebx
jne 0x129a0b
cmp dword [ebp - 0xa0], 0
jne 0x129a55
push ebp
lea edx, [ebp - 0xb8]
mov eax, ebx
call fcn.00027478
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
mov edx, 0x12ab7c
call fcn.00013ff4
mov edx, dword [ebp - 0xb4]
lea eax, [ebp - 0xb0]
call fcn.000145ac
mov eax, dword [ebp - 0xb0]
call fcn.00129474
pop ecx
mov byte [ebp - 9], 1
jmp 0x12a811
lea eax, [ebp - 0xbc]
call fcn.000252c4
mov edx, dword [ebp - 0xbc]
lea eax, [ebp - 0x10]
call fcn.000145ac
mov eax, dword [ebp - 0x10]
call fcn.00014630
inc eax
add eax, eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00014620
mov ebx, eax
push ebx
push 1
push 0
push ebx
mov eax, dword [ebp - 0xa0]
push eax
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
test ebx, ebx
je 0x129af2
push ebp
lea edx, [ebp - 0xc8]
mov eax, ebx
call fcn.00027478
mov ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0xc4]
mov edx, 0x12ab94
call fcn.00013ff4
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0xc0]
call fcn.000145ac
mov eax, dword [ebp - 0xc0]
call fcn.00129474
pop ecx
mov byte [ebp - 9], 1
jmp 0x12a811
mov eax, dword [ebp - 0x10]
call fcn.00014620
push eax
mov eax, dword [ebp - 0xa0]
push eax
call sub.advapi32.dll_RegDeleteValueW
mov ebx, eax
test ebx, ebx
je 0x129b52
push ebp
lea edx, [ebp - 0xd4]
mov eax, ebx
call fcn.00027478
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
mov edx, 0x12abac
call fcn.00013ff4
mov edx, dword [ebp - 0xd0]
lea eax, [ebp - 0xcc]
call fcn.000145ac
mov eax, dword [ebp - 0xcc]
call fcn.00129474
pop ecx
mov byte [ebp - 9], 1
cmp dword [ebp - 0xa0], 0
je 0x129b67
mov eax, dword [ebp - 0xa0]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0xa0], eax
cmp byte [ebp - 9], 0
jne 0x12a811
mov dword [ebp - 8], 0xf003f
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, dword [ebp - 8]
push eax
push 0
push 0
push 0
push 0x12abbc
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x129bc3
cmp dword [ebp - 0xa0], 0
jne 0x129c65
cmp dword [ebp - 0xa0], 0
je 0x129bd8
mov eax, dword [ebp - 0xa0]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 8], case.0x1ffea.3
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, dword [ebp - 8]
push eax
push 0
push 0x12abbc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov ebx, eax
test ebx, ebx
jne 0x129c1e
push ebp
mov eax, 0x12abf4
call fcn.001293d8
pop ecx
jmp 0x129c5f
push ebp
lea edx, [ebp - 0xe0]
mov eax, ebx
call fcn.00027478
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 0xdc]
mov edx, 0x12ac1c
call fcn.00013ff4
mov edx, dword [ebp - 0xdc]
lea eax, [ebp - 0xd8]
call fcn.000145ac
mov eax, dword [ebp - 0xd8]
call fcn.00129474
pop ecx
mov byte [ebp - 9], 1
jmp 0x129c71
push ebp
mov eax, 0x12ac30
call fcn.001293d8
pop ecx
cmp byte [ebp - 9], 0
jne 0x12a7d0
test ebx, ebx
jne 0x12a7d0
mov edi, 0x19
lea ebx, [ebp - 0x78]
mov eax, ebx
mov edx, 0x12ac54
call fcn.0001442c
add ebx, 4
dec edi
jne 0x129c8b
lea eax, [ebp - 0xec]
call fcn.00027b40
mov eax, dword [ebp - 0xec]
lea edx, [ebp - 0xe8]
call fcn.00027578
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xf0]
call fcn.00025994
mov edx, dword [ebp - 0xf0]
pop eax
call fcn.00013fb0
mov eax, dword [ebp - 0xe8]
lea edx, [ebp - 0xe4]
call fcn.00027578
mov edx, dword [ebp - 0xe4]
lea eax, [ebp - 0x7c]
call fcn.000145ac
call fcn.0012500c
mov word [ebp - 0x7e], ax
lea eax, [ebp - 0xf4]
call fcn.000252ec
lea eax, [ebp - 0xf4]
mov edx, 0x12ac60
call fcn.00013fb0
mov edx, dword [ebp - 0xf4]
lea eax, [ebp - 0x14]
call fcn.000145ac
lea eax, [ebp - 0xfc]
call fcn.00046098
mov edx, dword [ebp - 0xfc]
lea eax, [ebp - 0xf8]
call fcn.000145ac
mov ecx, dword [ebp - 0xf8]
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 0x7c]
call fcn.0001469c
lea eax, [ebp - 0x104]
call fcn.00045f6c
mov edx, dword [ebp - 0x104]
lea eax, [ebp - 0x100]
call fcn.000145ac
mov ecx, dword [ebp - 0x100]
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x7c]
call fcn.0001469c
lea eax, [ebp - 0x10c]
call fcn.00026a04
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
call fcn.000145ac
mov ecx, dword [ebp - 0x108]
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 0x7c]
call fcn.0001469c
lea eax, [ebp - 0x114]
call fcn.0002699c
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 0x110]
call fcn.000145ac
mov ecx, dword [ebp - 0x110]
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x7c]
call fcn.0001469c
lea eax, [ebp - 0x11c]
call fcn.00046100
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
call fcn.000145ac
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x7c]
call fcn.0001469c
lea eax, [ebp - 0x124]
call fcn.00046168
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x120]
call fcn.000145ac
mov ecx, dword [ebp - 0x120]
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x7c]
call fcn.0001469c
lea eax, [ebp - 0x74]
mov ecx, 0x12ac70
mov edx, dword [ebp - 0x7c]
call fcn.0001469c
lea eax, [ebp - 0x12c]
call fcn.00026ad0
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x128]
call fcn.000145ac
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x7c]
call fcn.0001469c
lea eax, [ebp - 0x134]
call fcn.00026a68
mov edx, dword [ebp - 0x134]
lea eax, [ebp - 0x130]
call fcn.000145ac
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x7c]
call fcn.0001469c
lea eax, [ebp - 0x13c]
call fcn.000461d8
mov edx, dword [ebp - 0x13c]
lea eax, [ebp - 0x138]
call fcn.000145ac
mov ecx, dword [ebp - 0x138]
lea eax, [ebp - 0x60]
mov edx, dword [ebp - 0x7c]
call fcn.0001469c
lea eax, [ebp - 0x70]
mov ecx, 0x12ac90
mov edx, dword [ebp - 0x7c]
call fcn.0001469c
lea eax, [ebp - 0x144]
call fcn.00046030
mov edx, dword [ebp - 0x144]
lea eax, [ebp - 0x140]
call fcn.000145ac
mov ecx, dword [ebp - 0x140]
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 0x7c]
call fcn.0001469c
lea eax, [ebp - 0x14c]
call fcn.000267fc
mov edx, dword [ebp - 0x14c]
lea eax, [ebp - 0x148]
call fcn.000145ac
mov ecx, dword [ebp - 0x148]
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x7c]
call fcn.0001469c
lea eax, [ebp - 0x154]
call fcn.00045e98
mov edx, dword [ebp - 0x154]
lea eax, [ebp - 0x150]
call fcn.000145ac
mov ecx, dword [ebp - 0x150]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x7c]
call fcn.0001469c
lea eax, [ebp - 0x15c]
call fcn.00045f04
mov edx, dword [ebp - 0x15c]
lea eax, [ebp - 0x158]
call fcn.000145ac
mov ecx, dword [ebp - 0x158]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x7c]
call fcn.0001469c
lea edx, [ebp - 0x164]
mov ax, word [ebp - 0x7e]
call fcn.00045de4
mov edx, dword [ebp - 0x164]
lea eax, [ebp - 0x160]
call fcn.000145ac
mov ecx, dword [ebp - 0x160]
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x7c]
call fcn.0001469c
lea eax, [ebp - 0x20]
mov ecx, 0x12acb0
mov edx, dword [ebp - 0x7c]
call fcn.0001469c
lea eax, [ebp - 0x1c]
mov edx, dword [0x25171c]
mov edx, dword [edx]
call fcn.000145ac
lea eax, [ebp - 0x90]
mov edx, 0x400
call fcn.000271f0
xor eax, eax
mov dword [ebp - 0xa4], eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xa4]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0xa0]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
cmp dword [ebp - 0xa4], 0
jbe 0x12a0f3
cmp byte [ebp - 9], 0
jne 0x12a0f3
xor esi, esi
mov dword [ebp - 0xac], 0x400
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x90]
call fcn.00018100
lea eax, [ebp - 0x9c]
xor ecx, ecx
mov edx, 8
call fcn.00012c70
lea eax, [ebp - 0x9c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0xac]
push eax
mov eax, dword [ebp - 0x90]
push eax
push esi
mov eax, dword [ebp - 0xa0]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov ebx, eax
test ebx, ebx
jne 0x12a0d4
lea eax, [ebp - 0xa8]
mov edx, dword [ebp - 0x90]
call fcn.00013ee0
push ebp
lea edx, [ebp - 0x168]
mov eax, 0x12acd4
call fcn.00027578
lea eax, [ebp - 0x168]
mov edx, dword [ebp - 0xa8]
call fcn.00013fb0
mov eax, dword [ebp - 0x168]
call fcn.001295ac
pop ecx
inc esi
cmp esi, dword [ebp - 0xa4]
jae 0x12a0f3
cmp ebx, 0x103
je 0x12a0f3
test ebx, ebx
jne 0x12a0f3
cmp byte [ebp - 9], 0
je 0x12a03a
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0xa0], 0
je 0x12a114
mov eax, dword [ebp - 0xa0]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0xa0], eax
mov edi, 1
lea esi, [ebp - 0x78]
cmp byte [ebp - 9], 0
jne 0x12a509
mov eax, dword [esi]
call fcn.00014630
dec eax
jle 0x12a509
mov eax, dword [esi]
cmp word [eax], 0x2d
je 0x12a509
cmp dword [ebp - 8], case.0x1ffea.3
jne 0x12a175
push ebp
lea eax, [ebp - 0x16c]
mov ecx, dword [esi]
mov edx, 0x12ad0c
call fcn.0001469c
mov eax, dword [ebp - 0x16c]
call fcn.00129474
pop ecx
jmp 0x12a509
xor eax, eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x8c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x170]
call fcn.00027444
mov eax, dword [ebp - 0x170]
push eax
mov eax, 0x12acd4
lea edx, [ebp - 0x174]
call fcn.00027578
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 0xa8]
pop ecx
call fcn.00013ff4
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0xa8]
call fcn.0001416c
push eax
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x12a4ec
cmp dword [ebp - 0xa0], 0
je 0x12a4ec
cmp edi, 0x19
jne 0x12a243
lea edx, [ebp - 0x17c]
mov ax, word [ebp - 0x7e]
call fcn.00045de4
mov edx, dword [ebp - 0x17c]
lea eax, [ebp - 0x178]
call fcn.000145ac
mov ecx, dword [ebp - 0x178]
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x7c]
call fcn.0001469c
jmp 0x12a24d
lea eax, [ebp - 0x10]
mov edx, dword [esi]
call fcn.0001442c
mov eax, dword [ebp - 0x10]
call fcn.00014630
inc eax
add eax, eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00014620
push eax
push 1
push 0
push 0x12ad50
mov eax, dword [ebp - 0xa0]
push eax
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
test ebx, ebx
jne 0x12a349
lea eax, [ebp - 0x10]
call fcn.000143f0
mov eax, dword [ebp - 0x10]
call fcn.00014630
inc eax
add eax, eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00014620
push eax
push 1
push 0
push 0x12ad5c
mov eax, dword [ebp - 0xa0]
push eax
call sub.advapi32.dll_RegSetValueExW
lea eax, [ebp - 0x10]
call fcn.000143f0
mov eax, dword [ebp - 0x10]
call fcn.00014630
inc eax
add eax, eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00014620
push eax
push 1
push 0
push 0x12ad68
mov eax, dword [ebp - 0xa0]
push eax
call sub.advapi32.dll_RegSetValueExW
xor eax, eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], 4
mov eax, dword [ebp - 0x84]
push eax
lea eax, [ebp - 0x88]
push eax
push 4
push 0
push 0x12ad74
mov eax, dword [ebp - 0xa0]
push eax
call sub.advapi32.dll_RegSetValueExW
inc dword [ebp - 0x8c]
jmp 0x12a4ec
mov byte [ebp - 9], 1
push ebp
push 0x12ad88
lea edx, [ebp - 0x188]
mov eax, ebx
call fcn.00027478
push dword [ebp - 0x188]
push 0x12ad98
lea eax, [ebp - 0x184]
mov edx, 3
call fcn.00014068
mov edx, dword [ebp - 0x184]
lea eax, [ebp - 0x180]
call fcn.000145ac
lea eax, [ebp - 0x180]
mov edx, dword [ebp - 0x10]
call fcn.0001463c
mov eax, dword [ebp - 0x180]
call fcn.00129510
pop ecx
cmp dword [ebp - 0xa0], 0
je 0x12a3bb
mov eax, dword [ebp - 0xa0]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
push 0
push 0
push 0x12abbc
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x12a4ab
cmp dword [ebp - 0xa0], 0
je 0x12a4ab
mov eax, dword [ebp - 0x8c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xa8]
call fcn.00027444
mov eax, dword [ebp - 0xa8]
call fcn.0001416c
push eax
mov eax, dword [ebp - 0xa0]
push eax
call sub.advapi32.dll_RegDeleteKeyA
mov ebx, eax
test ebx, ebx
je 0x12a4ec
push ebp
push 0x12ada4
lea edx, [ebp - 0x194]
mov eax, ebx
call fcn.00027478
push dword [ebp - 0x194]
push 0x12ad98
mov eax, dword [ebp - 0x8c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x198]
call fcn.00027444
push dword [ebp - 0x198]
lea eax, [ebp - 0x190]
mov edx, 4
call fcn.00014068
mov edx, dword [ebp - 0x190]
lea eax, [ebp - 0x18c]
call fcn.000145ac
mov eax, dword [ebp - 0x18c]
call fcn.00129510
pop ecx
jmp 0x12a4ec
push ebp
lea edx, [ebp - 0x1a4]
mov eax, ebx
call fcn.00027478
mov ecx, dword [ebp - 0x1a4]
lea eax, [ebp - 0x1a0]
mov edx, 0x12adb4
call fcn.00013ff4
mov edx, dword [ebp - 0x1a0]
lea eax, [ebp - 0x19c]
call fcn.000145ac
mov eax, dword [ebp - 0x19c]
call fcn.00129510
pop ecx
cmp dword [ebp - 0xa0], 0
je 0x12a501
mov eax, dword [ebp - 0xa0]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0xa0], eax
inc edi
add esi, 4
cmp edi, 0x1a
jne 0x12a124
cmp dword [ebp - 8], 0xf003f
jne 0x12a7a1
cmp byte [ebp - 9], 0
jne 0x12a7a1
mov edi, 1
lea esi, [ebp - 0x78]
cmp byte [ebp - 9], 0
jne 0x12a794
mov eax, dword [esi]
call fcn.00014630
dec eax
jle 0x12a794
cmp dword [ebp - 0xa0], 0
je 0x12a562
mov eax, dword [ebp - 0xa0]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0xa0], eax
mov eax, dword [esi]
cmp word [eax], 0x2d
jne 0x12a583
mov eax, esi
mov ecx, 1
mov edx, 1
call fcn.00014830
lea edx, [ebp - 0x1a8]
mov eax, 0x12adc4
call fcn.00027578
push dword [ebp - 0x1a8]
lea eax, [ebp - 0x1ac]
call fcn.000252c4
push dword [ebp - 0x1ac]
push 0x12adf4
mov eax, edi
cdq
push edx
push eax
lea eax, [ebp - 0x1b0]
call fcn.00027444
push dword [ebp - 0x1b0]
lea eax, [ebp - 0xa8]
mov edx, 4
call fcn.00014068
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, dword [ebp - 8]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0xa8]
call fcn.0001416c
push eax
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x12a61b
cmp dword [ebp - 0xa0], 0
jne 0x12a681
push ebp
push 0x12ae00
mov eax, edi
cdq
push edx
push eax
lea eax, [ebp - 0x1bc]
call fcn.00027444
push dword [ebp - 0x1bc]
push 0x12ae1c
lea edx, [ebp - 0x1c0]
mov eax, ebx
call fcn.00027478
push dword [ebp - 0x1c0]
lea eax, [ebp - 0x1b8]
mov edx, 4
call fcn.00014068
mov edx, dword [ebp - 0x1b8]
lea eax, [ebp - 0x1b4]
call fcn.000145ac
mov eax, dword [ebp - 0x1b4]
call fcn.00129474
pop ecx
jmp 0x12a777
cmp edi, 0x19
jne 0x12a6b9
lea edx, [ebp - 0x1c8]
mov ax, word [ebp - 0x7e]
call fcn.00045de4
mov edx, dword [ebp - 0x1c8]
lea eax, [ebp - 0x1c4]
call fcn.000145ac
mov ecx, dword [ebp - 0x1c4]
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x7c]
call fcn.0001469c
jmp 0x12a6c3
lea eax, [ebp - 0x10]
mov edx, dword [esi]
call fcn.0001442c
mov eax, dword [ebp - 0x10]
call fcn.00014630
inc eax
add eax, eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00014620
push eax
push 1
push 0
push 0x12ae20
mov eax, dword [ebp - 0xa0]
push eax
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
test ebx, ebx
je 0x12a777
push ebp
push 0x12ae4c
mov eax, edi
cdq
push edx
push eax
lea eax, [ebp - 0x1d4]
call fcn.00027444
push dword [ebp - 0x1d4]
push 0x12ae5c
lea edx, [ebp - 0x1d8]
mov eax, ebx
call fcn.00027478
push dword [ebp - 0x1d8]
push 0x12ad98
lea eax, [ebp - 0x1d0]
mov edx, 5
call fcn.00014068
mov edx, dword [ebp - 0x1d0]
lea eax, [ebp - 0x1cc]
call fcn.000145ac
lea eax, [ebp - 0x1cc]
mov edx, dword [ebp - 0x10]
call fcn.0001463c
mov eax, dword [ebp - 0x1cc]
call fcn.00129510
pop ecx
mov byte [ebp - 9], 1
cmp dword [ebp - 0xa0], 0
je 0x12a78c
mov eax, dword [ebp - 0xa0]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0xa0], eax
inc edi
add esi, 4
cmp edi, 0x1a
jne 0x12a535
cmp dword [ebp - 0xa0], 0
je 0x12a7b6
mov eax, dword [ebp - 0xa0]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x90]
mov edx, 0x400
call fcn.00027218
jmp 0x12a811
push ebp
lea edx, [ebp - 0x1e4]
mov eax, ebx
call fcn.00027478
mov ecx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1e0]
mov edx, 0x12ae68
call fcn.00013ff4
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x1dc]
call fcn.000145ac
mov eax, dword [ebp - 0x1dc]
call fcn.00129510
pop ecx
cmp dword [ebp - 0xa0], 0
je 0x12a826
mov eax, dword [ebp - 0xa0]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 0xa0], eax
push ebp
mov eax, 0x12ae74
call fcn.001293d8
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x12ab13
lea eax, [ebp - 0x1e4]
mov edx, 2
call fcn.00013d3c
lea eax, [ebp - 0x1dc]
call fcn.000143f0
lea eax, [ebp - 0x1d8]
mov edx, 3
call fcn.00013d3c
lea eax, [ebp - 0x1cc]
call fcn.000143f0
lea eax, [ebp - 0x1c8]
call fcn.00013d18
lea eax, [ebp - 0x1c4]
call fcn.000143f0
lea eax, [ebp - 0x1c0]
mov edx, 3
call fcn.00013d3c
lea eax, [ebp - 0x1b4]
call fcn.000143f0
lea eax, [ebp - 0x1b0]
mov edx, 5
call fcn.00013d3c
lea eax, [ebp - 0x19c]
call fcn.000143f0
lea eax, [ebp - 0x198]
mov edx, 3
call fcn.00013d3c
lea eax, [ebp - 0x18c]
call fcn.000143f0
lea eax, [ebp - 0x188]
mov edx, 2
call fcn.00013d3c
lea eax, [ebp - 0x180]
call fcn.000143f0
lea eax, [ebp - 0x17c]
call fcn.00013d18
lea eax, [ebp - 0x178]
call fcn.000143f0
lea eax, [ebp - 0x174]
mov edx, 2
call fcn.00013d3c
lea eax, [ebp - 0x16c]
call fcn.000143f0
lea eax, [ebp - 0x168]
mov edx, 2
call fcn.00013d3c
lea eax, [ebp - 0x160]
call fcn.000143f0
lea eax, [ebp - 0x15c]
call fcn.00013d18
lea eax, [ebp - 0x158]
call fcn.000143f0
lea eax, [ebp - 0x154]
call fcn.00013d18
lea eax, [ebp - 0x150]
call fcn.000143f0
lea eax, [ebp - 0x14c]
call fcn.00013d18
lea eax, [ebp - 0x148]
call fcn.000143f0
lea eax, [ebp - 0x144]
call fcn.00013d18
lea eax, [ebp - 0x140]
call fcn.000143f0
lea eax, [ebp - 0x13c]
call fcn.00013d18
lea eax, [ebp - 0x138]
call fcn.000143f0
lea eax, [ebp - 0x134]
call fcn.00013d18
lea eax, [ebp - 0x130]
call fcn.000143f0
lea eax, [ebp - 0x12c]
call fcn.00013d18
lea eax, [ebp - 0x128]
call fcn.000143f0
lea eax, [ebp - 0x124]
call fcn.00013d18
lea eax, [ebp - 0x120]
call fcn.000143f0
lea eax, [ebp - 0x11c]
call fcn.00013d18
lea eax, [ebp - 0x118]
call fcn.000143f0
lea eax, [ebp - 0x114]
call fcn.00013d18
lea eax, [ebp - 0x110]
call fcn.000143f0
lea eax, [ebp - 0x10c]
call fcn.00013d18
lea eax, [ebp - 0x108]
call fcn.000143f0
lea eax, [ebp - 0x104]
call fcn.00013d18
lea eax, [ebp - 0x100]
call fcn.000143f0
lea eax, [ebp - 0xfc]
call fcn.00013d18
lea eax, [ebp - 0xf8]
call fcn.000143f0
lea eax, [ebp - 0xf4]
mov edx, 7
call fcn.00013d3c
lea eax, [ebp - 0xd8]
call fcn.000143f0
lea eax, [ebp - 0xd4]
mov edx, 2
call fcn.00013d3c
lea eax, [ebp - 0xcc]
call fcn.000143f0
lea eax, [ebp - 0xc8]
mov edx, 2
call fcn.00013d3c
lea eax, [ebp - 0xc0]
call fcn.000143f0
lea eax, [ebp - 0xbc]
mov edx, 3
call fcn.00013d3c
lea eax, [ebp - 0xb0]
call fcn.000143f0
lea eax, [ebp - 0xa8]
call fcn.00013d18
lea eax, [ebp - 0x7c]
call fcn.000143f0
lea eax, [ebp - 0x78]
mov ecx, 0x19
mov edx, dword [0x110a0]
call fcn.00014b08
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00014408
ret