Function at 0x479e18
Capabilities:
Check mutex on windows
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff70
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47a180
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x47a198
call fcn.00479788
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, 1
push 0
push eax
push 0x4be0e4
call sub.kernel32.dll_CreateMutexA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x479e88
mov eax, 0x47a1b8
call fcn.00475364
xor edx, edx
push ebp
push 0x47a140
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x2018
push 0
push 4
push 0x4be0e4
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x479ec0
mov eax, 0x47a1cc
call fcn.00475364
push 0x2018
push 0
push 0
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x479ee7
mov eax, 0x47a1e8
call fcn.00475364
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov edx, 0x2018
call fcn.00402acc
mov eax, dword [ebp - 0x10]
mov dword [eax], 3
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0x2018
mov eax, ebx
neg al
sbb eax, eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov al, byte [ebp - 1]
neg al
sbb eax, eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x10]
add eax, 0x18
mov ecx, 0xfff
mov edx, esi
call fcn.0040a38c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReleaseMutex
test eax, eax
jne 0x479f4b
mov eax, 0x47a200
call fcn.00475364
lea edx, [ebp - 0x70]
mov eax, dword [0x4be97c]
mov eax, dword [eax]
call fcn.0044bec0
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x14]
mov ecx, 0x47a218
call fcn.00403d84
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0
lea edx, [ebp - 0x80]
mov ecx, 1
mov eax, 0x47a234
call fcn.0040aa18
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x44
call fcn.00402acc
mov dword [ebp - 0x5c], 0x44
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x84]
call fcn.0044d418
mov eax, dword [ebp - 0x84]
call fcn.00403efc
push eax
push 0
push 0x4000000
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00403efc
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403efc
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x479ffb
mov eax, 0x47a250
call fcn.00475364
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle_1
lea eax, [ebp - 0x6c]
call fcn.00479acc
cmp eax, 0x1c9b28da
je 0x47a032
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0
lea edx, [ebp - 0x8c]
xor ecx, ecx
mov eax, 0x47a268
call fcn.00475268
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov esi, eax
test esi, esi
je 0x47a068
mov dword [ebp - 0x80], esi
mov byte [ebp - 0x7c], 0
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0
lea edx, [ebp - 0x80]
mov ecx, 1
mov eax, 0x47a294
call fcn.00475268
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, eax
dec edx
je 0x47a07e
dec edx
je 0x47a090
dec edx
je 0x47a0a2
dec edx
je 0x47a0b4
jmp 0x47a0ec
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xc]
mov eax, 0x47a2c0
call fcn.00475378
jmp 0x47a10b
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xc]
mov eax, 0x47a2d8
call fcn.004752c0
jmp 0x47a10b
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xc]
mov eax, 0x47a2ec
call fcn.004752c0
jmp 0x47a10b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.004080a0
test eax, eax
je 0x47a10b
lea eax, [ebp - 0x90]
xor edx, edx
mov dl, bl
mov edx, dword [edx*4 + 0x4be0dc]
call fcn.00403c70
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc]
call fcn.00475378
jmp 0x47a10b
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0
lea edx, [ebp - 0x8c]
xor ecx, ecx
mov eax, 0x47a304
call fcn.00475268
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a147
cmp dword [ebp - 0x10], 0
je 0x47a127
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_UnmapViewOfFile
cmp dword [ebp - 0xc], 0
je 0x47a136
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret