Function at 0x40d6f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 0x58], 0x78c1
mov dword [ebp - 0x2c], 0x10196
mov dword [ebp - 0x40], 0x1183b
mov dword [ebp - 0x28], 0x11a4e
mov dword [ebp - 0x80], 0xc087
mov dword [ebp - 0x1c], 0xcd70
mov dword [ebp - 0x60], 0x9a78
mov dword [ebp - 0x18], 0xbea1
mov dword [ebp - 0x68], 0x3b1e
mov dword [ebp - 0x5c], 0xf41a
mov dword [ebp - 8], 0xa98
mov dword [ebp - 0x3c], 0x7674
mov dword [ebp - 0x74], 0xda27
mov dword [ebp - 0x14], 0x10525
mov dword [ebp - 0x20], 0x17342
mov dword [ebp - 0x7c], 0x12846
mov dword [ebp - 0x64], 0x1239c
mov dword [ebp - 0x54], 0x94cd
mov dword [ebp - 4], 0x167d6
mov dword [ebp - 0x10], 0x10955
mov dword [ebp - 0x84], 0x11b65
mov dword [ebp - 0x88], 0x12413
mov dword [ebp - 0x78], 0x12227
mov eax, dword [ebp - 8]
add eax, 0x6fd8
push eax
mov ecx, dword [ebp + 0x24]
add ecx, 0xbc9b
push ecx
mov edx, dword [ebp + 0x10]
sub edx, 0x12d7c
push edx
mov eax, dword [ebp - 0x10]
sub eax, 0x64c8
push eax
mov ecx, dword [ebp - 4]
sub ecx, 0xa486
push ecx
mov edx, dword [ebp + 0x1c]
sub edx, 0x4144
push edx
mov eax, dword [ebp - 0x1c]
add eax, 0x4491
push eax
mov ecx, dword [ebp - 0x14]
sub ecx, 0xd9f
push ecx
mov edx, dword [ebp - 4]
sub edx, 0x1b3a
push edx
mov eax, dword [ebp - 8]
add eax, 0x177e8
push eax
call fcn.00416f00
add esp, 0x28
mov dword [ebp - 0xc], 0
jmp 0x40d81a
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x5c]
sub edx, 0xf419
cmp dword [ebp - 0xc], edx
jge 0x40da3f
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [ebp - 8]
jge 0x40da3a
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x3c]
jne 0x40da3a
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x68]
jne 0x40da3a
mov ecx, dword [ebp + 0x20]
cmp ecx, dword [ebp + 0x24]
jne 0x40da3a
mov edx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0x2c]
jne 0x40da3a
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 0x18]
jne 0x40da3a
mov ecx, dword [ebp + 0x18]
sub ecx, 1
mov dword [ebp + 0x18], ecx
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp - 0x2c]
jge 0x40d897
mov dword [ebp - 0x30], 1
jmp 0x40d89e
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jge 0x40d8af
mov dword [ebp - 0x34], 1
jmp 0x40d8b6
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x30]
or ecx, dword [ebp - 0x34]
je 0x40da27
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 0x20]
sub ecx, 1
mov dword [ebp + 0x20], ecx
mov edx, dword [ebp - 0x6c]
cmp edx, dword [ebp - 0x70]
jge 0x40d8e8
mov dword [ebp - 0x38], 1
jmp 0x40d8ef
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x54]
imul eax, dword [ebp + 0x24]
and eax, dword [ebp - 0x38]
je 0x40da27
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x74]
jne 0x40da27
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 4]
jne 0x40da27
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x78]
jne 0x40da27
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp + 0xc]
jne 0x40da27
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebp - 0x3c]
jne 0x40da27
push 0xb1a7
push 0x179cd
push 0x45f4
push 0x13368
push 0x8a8e
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esp, 0x14
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jge 0x40d96e
mov dword [ebp - 0x44], 1
jmp 0x40d975
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x40]
imul ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp - 0x18]
jge 0x40d98a
mov dword [ebp - 0x48], 1
jmp 0x40d991
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x44]
or ecx, dword [ebp - 0x48]
or ecx, eax
je 0x40da27
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x1c]
jge 0x40d9bb
mov dword [ebp - 0x4c], 1
jmp 0x40d9c2
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x20]
jge 0x40d9d3
mov dword [ebp - 0x50], 1
jmp 0x40d9da
mov dword [ebp - 0x50], 0
mov ecx, dword [ebp - 0x4c]
or ecx, dword [ebp - 0x50]
je 0x40da27
mov edx, dword [ebp - 0x80]
cmp edx, dword [ebp + 0x10]
jne 0x40da27
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x58]
jne 0x40da27
push 0x17079
push 0x8d8c
push 0x12d9b
push 0x6559
push 0x35f0
push 0x61ba
push 0x1e79
call dword [sym.imp.KERNEL32.dll_GetMaximumProcessorCount]
add esp, 0x1c
mov ecx, dword [ebp + 0x20]
sub ecx, 1
mov dword [ebp + 0x20], ecx
push 0xb0ee
push 0x9f00
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
add esp, 8
jmp 0x40d811
mov dword [ebp - 0x24], 0
jmp 0x40da51
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 0xc]
sub eax, 0x6ee6
cmp dword [ebp - 0x24], eax
jge 0x40da69
mov ecx, dword [ebp - 0x28]
sub ecx, 1
mov dword [ebp - 0x28], ecx
jmp 0x40da48
mov esp, ebp
pop ebp
ret