Function at 0x4096f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47aa13
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x496684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ebx, [ebp - 0x64]
call fcn.00407800
mov byte [ebp - 4], 1
push 0x488730
mov eax, ebx
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.0040c2f0
add esp, 0xc
mov byte [ebp - 4], 2
xor ebx, ebx
xor edx, edx
push ebx
mov eax, 0x48b2a8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.00405630
mov byte [ebp - 4], 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x8c], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x48]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00405160
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
lea ebx, [ebp - 0x80]
call fcn.00409a70
mov byte [ebp - 4], 5
mov edi, eax
lea esi, [ebp - 0x2c]
call fcn.00402630
mov byte [ebp - 4], 3
mov edi, 8
cmp dword [ebp - 0x6c], edi
jb 0x4097d8
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.0042ca67
add esp, 4
xor edx, edx
mov esi, 7
xor ebx, ebx
push edi
mov eax, str.3rdParty
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
call fcn.00403010
push 1
mov eax, str._r_
lea ecx, [ebp - 0x2c]
call fcn.00403010
push 0xa
mov eax, str.CoreFP.dll
lea ecx, [ebp - 0x2c]
call fcn.00403010
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x84]
push ecx
push ebx
push 0xf003f
push ebx
push str.LibraryPath
push ebx
push str.SOFTWAREApple_Inc.CoreFP
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4098cf
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], edi
jb 0x40985f
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042ca67
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 1
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x409885
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0042ca67
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x50], esi
jb 0x4098a7
mov edx, dword [ebp - 0x64]
push edx
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], esi
jb 0x4098c8
mov eax, dword [ebp + 8]
push eax
call fcn.0042ca67
add esp, 4
xor eax, eax
jmp 0x409a3d
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp esi, edi
jae 0x4098dc
lea eax, [ebp - 0x2c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4098e0
mov ecx, dword [ebp - 0x2c]
sub eax, edx
sar eax, 1
cmp esi, edi
jae 0x4098f9
lea ecx, [ebp - 0x2c]
lea edx, [eax + eax + 2]
mov eax, dword [ebp - 0x84]
push edx
push ecx
push 1
push ebx
push str.LibraryPath
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4099a9
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], edi
jb 0x409931
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042ca67
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], 1
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x40995b
mov eax, dword [ebp - 0x48]
push eax
call fcn.0042ca67
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x50], esi
jb 0x40997d
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], esi
jb 0x4098c8
mov edx, dword [ebp + 8]
push edx
call fcn.0042ca67
add esp, 4
xor eax, eax
jmp 0x409a3d
mov eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], edi
jb 0x4099cb
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042ca67
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], 1
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x4099f5
mov eax, dword [ebp - 0x48]
push eax
call fcn.0042ca67
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x50], esi
jb 0x409a17
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0042ca67
add esp, 4
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], esi
jb 0x409a38
mov edx, dword [ebp + 8]
push edx
call fcn.0042ca67
add esp, 4
mov eax, 1
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], ebx
mov byte [ebp + 8], bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ca72
mov esp, ebp
pop ebp
ret 0x1c