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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
push edi
xor ebx, 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 0x4574c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4574dc
call fcn.00456b58
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, 1
push 0
push eax
push 0x498ae4
call sub.kernel32.dll_CreateMutexA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4571f5
mov eax, 0x4574fc
call fcn.004527fc
xor edx, edx
push ebp
push 0x45749b
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x2018
push 0
push 4
push 0x498ae4
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45722d
mov eax, 0x457510
call fcn.004527fc
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 0x457254
mov eax, 0x45752c
call fcn.004527fc
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov edx, 0x2018
call fcn.00402934
mov eax, dword [ebp - 0x10]
mov dword [eax], 3
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0x2018
xor eax, eax
mov al, bl
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
xor eax, eax
mov al, byte [ebp - 1]
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.004073b0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReleaseMutex
test eax, eax
jne 0x4572b4
mov eax, 0x457544
call fcn.004527fc
lea edx, [ebp - 0x70]
mov eax, dword [0x49b120]
call fcn.0042c3e4
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x14]
mov ecx, 0x45755c
call fcn.004035c0
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, 0x457578
call fcn.004078d4
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x44
call fcn.00402934
mov dword [ebp - 0x5c], 0x44
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
call fcn.0042d868
mov eax, dword [ebp - 0x70]
call fcn.00403738
push eax
push 0
push 0x4000000
push 1
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00403738
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403738
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x45735c
mov eax, 0x457594
call fcn.004527fc
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle_1
lea eax, [ebp - 0x6c]
call fcn.00456e40
cmp eax, 0x1c9b28da
je 0x457393
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0
lea edx, [ebp - 0x88]
xor ecx, ecx
mov eax, 0x4575ac
call fcn.00452700
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov esi, eax
test esi, esi
je 0x4573c9
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, 0x4575d8
call fcn.00452700
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, eax
dec edx
je 0x4573df
dec edx
je 0x4573f1
dec edx
je 0x457403
dec edx
je 0x457415
jmp 0x457447
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xc]
mov eax, 0x457604
call fcn.00452810
jmp 0x457466
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xc]
mov eax, 0x45761c
call fcn.00452758
jmp 0x457466
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xc]
mov eax, 0x457630
call fcn.00452758
jmp 0x457466
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.004062c0
test eax, eax
je 0x457466
lea eax, [ebp - 0x70]
xor edx, edx
mov dl, bl
mov edx, dword [edx*4 + 0x498adc]
call fcn.0040352c
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc]
call fcn.00452810
jmp 0x457466
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0
lea edx, [ebp - 0x88]
xor ecx, ecx
mov eax, 0x457648
call fcn.00452700
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4574a2
cmp dword [ebp - 0x10], 0
je 0x457482
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_UnmapViewOfFile
cmp dword [ebp - 0xc], 0
je 0x457491
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