Function at 0x1d46240
Capabilities:
Check mutex on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ac
push ebx
push esi
push edi
mov esi, ecx
push 0x263a364e
lea ecx, [ebp - 0x2c]
call fcn.01d062ca
push eax
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 4], eax
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1d46298
cmp dword [ebp - 4], ebx
je 0x1d46291
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1d464ee
cmp dword [ebp - 4], ebx
je 0x1d462a6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
mov ecx, esi
call fcn.01d45841
push 0x3f
lea eax, [ebp - 0x6b]
push ebx
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x6c], bl
call sub.MSVCR100.dll_memset
lea eax, [ebp - 0x10]
push eax
push 0x40
lea eax, [ebp - 0x6c]
push eax
lea eax, [esi + 0xb1]
push 0x20
push eax
call fcn.01d46cb6
add esp, 0x20
test eax, eax
je 0x1d46291
push dword [ebp - 0x10]
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.01d45811
test eax, eax
je 0x1d46291
push dword [ebp - 0x10]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x6c]
push eax
movzx eax, byte [esi + 0xa8]
lea ecx, [esi + 0x1e4]
push eax
call fcn.01d40d85
push dword [ebp - 0x10]
lea eax, [ebp - 0xac]
push eax
lea ecx, [esi + 0xad0]
call fcn.01d46c3f
mov ebx, dword [esi + 0xad0]
fld qword [esi + 0xad4]
mov eax, dword [esi + 0xae8]
fstp qword [ebp - 8]
xor ebx, 0x5c67f9b5
mov ecx, dword [esi + 0xaec]
mov edx, dword [esi + 0xaf0]
mov edi, dword [esi + 0xaf4]
mov dword [esi + 0x14cb], ebx
mov ebx, dword [ebp - 8]
mov dword [esi + 0x14cf], ebx
mov ebx, dword [ebp - 4]
mov dword [esi + 0x14d3], ebx
mov ebx, dword [esi + 0xadc]
xor ebx, 0x4a6b7458
mov dword [esi + 0x14d7], ebx
mov ebx, dword [esi + 0xae0]
xor ebx, 0x5c418f3a
mov dword [esi + 0x14db], ebx
mov ebx, dword [esi + 0xae4]
xor ebx, 0x6c873b59
xor eax, 0x6c83569a
mov dword [esi + 0x14df], ebx
xor ebx, ebx
push 0x3ff
mov dword [esi + 0x14e3], eax
lea eax, [ebp - 0x4ab]
xor ecx, 0x3a5f781b
xor edx, 0x325d8a12
push ebx
xor edi, 0x4c864a32
push eax
mov dword [esi + 0x14e7], ecx
mov dword [esi + 0x14eb], edx
mov dword [esi + 0x14ef], edi
mov byte [ebp - 0x4ac], bl
call sub.MSVCR100.dll_memset
mov ax, word [esi + 0x1854]
add esp, 0xc
dec ax
movzx eax, ax
push eax
lea eax, [ebp - 0x4ac]
push eax
lea eax, [esi + 0x1454]
push eax
movzx eax, byte [esi + 0xa8]
push eax
lea ecx, [esi + 0x1e4]
call fcn.01d40d4e
mov eax, dword [esi + 0x1854]
lea edi, [eax - 1]
xor ecx, ecx
xor edx, edx
test edi, edi
je 0x1d46444
lea edi, [eax - 1]
mov dword [ebp - 4], edi
movsx edi, byte [ebp + edx - 0x4ac]
add ecx, edi
inc edx
cmp edx, dword [ebp - 4]
jb 0x1d46434
mov byte [ebp + eax - 0x4ad], cl
mov cl, byte [esi + 0xa9]
mov byte [ebp + eax - 0x4ac], cl
mov cl, byte [esi + 0xaa]
mov byte [ebp + eax - 0x4ab], cl
mov cl, byte [esi + 0xab]
mov byte [ebp + eax - 0x4aa], cl
mov cl, byte [esi + 0xac]
mov byte [ebp + eax - 0x4a9], cl
mov eax, 0x1d6e6a8
sub eax, 0x57bd9b5f
push eax
lea ecx, [ebp - 0x23]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.01d0c2c9
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push eax
push connect
lea ecx, [ebp - 0xc]
call fcn.01d0c01b
neg eax
sbb al, al
inc al
je 0x1d464dc
mov eax, dword [esi + 0x1854]
add eax, 4
push eax
lea eax, [ebp - 0x4ac]
push eax
push 3
push ebx
push 0x1d6e6bc
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0xc]
call fcn.01d078f0
lea ecx, [ebp - 0xc]
call fcn.01d078f0
mov al, 1
pop edi
pop esi
pop ebx
leave
ret