Function at 0x457630
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 0x457965
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x45797c
call fcn.00456ff8
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, 1
push 0
push eax
push 0x498af8
call sub.kernel32.dll_CreateMutexA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x457695
mov eax, 0x45799c
call fcn.00452afc
xor edx, edx
push ebp
push 0x45793b
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x2018
push 0
push 4
push 0x498af8
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4576cd
mov eax, 0x4579b0
call fcn.00452afc
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 0x4576f4
mov eax, 0x4579cc
call fcn.00452afc
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.004073d8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReleaseMutex
test eax, eax
jne 0x457754
mov eax, 0x4579e4
call fcn.00452afc
lea edx, [ebp - 0x70]
mov eax, dword [0x49b12c]
call fcn.0042c40c
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x14]
mov ecx, 0x4579fc
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, 0x457a18
call fcn.004078fc
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.0042d890
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 0x4577fc
mov eax, 0x457a34
call fcn.00452afc
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle_1
lea eax, [ebp - 0x6c]
call fcn.004572e0
cmp eax, 0x1c9b28da
je 0x457833
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0
lea edx, [ebp - 0x88]
xor ecx, ecx
mov eax, 0x457a4c
call fcn.00452a00
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov esi, eax
test esi, esi
je 0x457869
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, 0x457a78
call fcn.00452a00
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, eax
dec edx
je 0x45787f
dec edx
je 0x457891
dec edx
je 0x4578a3
dec edx
je 0x4578b5
jmp 0x4578e7
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xc]
mov eax, 0x457aa4
call fcn.00452b10
jmp 0x457906
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xc]
mov eax, 0x457abc
call fcn.00452a58
jmp 0x457906
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xc]
mov eax, 0x457ad0
call fcn.00452a58
jmp 0x457906
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.004062c0
test eax, eax
je 0x457906
lea eax, [ebp - 0x70]
xor edx, edx
mov dl, bl
mov edx, dword [edx*4 + 0x498af0]
call fcn.0040352c
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc]
call fcn.00452b10
jmp 0x457906
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0
lea edx, [ebp - 0x88]
xor ecx, ecx
mov eax, 0x457ae8
call fcn.00452a00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457942
cmp dword [ebp - 0x10], 0
je 0x457922
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_UnmapViewOfFile
cmp dword [ebp - 0xc], 0
je 0x457931
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