Function at 0x403cd0
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44bc6a
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x462600]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov esi, ecx
push 0x4568ac
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov dword [esi + 0xa4], eax
je 0x403d2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x404321
call fcn.0041232b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403d49
push 0x80004005
call fcn.004014d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0xe0], 0
mov ecx, dword [esi + 0x64]
test ecx, ecx
lea edi, [esi + 0xa8]
jne 0x403d75
xor eax, eax
jmp 0x403d8f
mov eax, ecx
lea ebx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x403d80
sub eax, ebx
sar eax, 1
push eax
push ecx
mov ecx, edi
call fcn.00401e10
mov eax, dword [edi]
push 0x5c
push eax
call fcn.00429552
add esp, 8
test eax, eax
jne 0x403dae
or eax, 0xffffffff
jmp 0x403db2
sub eax, dword [edi]
sar eax, 1
add eax, 1
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.00402e40
push eax
mov ecx, edi
mov byte [esp + 0xe4], 1
call fcn.00401d90
mov byte [esp + 0xe0], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403dfa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0041232b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403e14
push 0x80004005
call fcn.004014d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0xe0], 2
call fcn.0041232b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403e46
push 0x80004005
call fcn.004014d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov bl, 3
mov byte [esp + 0xe0], bl
call fcn.0040a170
lea edi, [esp + 0x30]
call fcn.00404340
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe4], 4
call fcn.00401d90
mov byte [esp + 0xe0], bl
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403ea6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
call fcn.0040a430
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], 8
mov dword [esp + 0x3c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.00414e75
push 0
call fcn.00416f03
add esp, 4
mov ebx, esi
call fcn.00404430
call fcn.0041232b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403efc
push 0x80004005
call fcn.004014d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0xe0], 5
call fcn.0041232b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403f2e
push 0x80004005
call fcn.004014d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x20], ebp
mov byte [esp + 0xe0], 6
mov eax, dword [esi + 0xc8]
test eax, eax
mov dword [esp + 0x28], eax
je 0x40425a
xor ebx, ebx
test eax, eax
jle 0x404113
test ebx, ebx
jl 0x40413d
cmp ebx, dword [esi + 0xc8]
jge 0x40413d
mov eax, dword [esi + 0xc4]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea edi, [ebx*4]
mov ecx, dword [eax + edi]
add eax, edi
push str.appid
push ecx
call ebp
test eax, eax
jne 0x403fef
cmp ebx, dword [esi + 0xc8]
jge 0x40413d
mov eax, dword [esi + 0xc4]
mov edx, dword [eax + edi]
mov edx, dword [edx + 0x20]
add eax, edi
test edx, edx
jne 0x403fca
xor eax, eax
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00401e10
jmp 0x404102
mov eax, edx
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403fd0
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00401e10
jmp 0x404102
cmp ebx, dword [esi + 0xc8]
jge 0x40413d
mov eax, dword [esi + 0xc4]
add eax, edi
mov eax, dword [eax]
push str.keypath
push eax
call ebp
test eax, eax
jne 0x40406b
cmp ebx, dword [esi + 0xc8]
jge 0x40413d
mov eax, dword [esi + 0xc4]
mov ecx, dword [eax + edi]
add eax, edi
mov edi, dword [ecx + 0x20]
test edi, edi
lea ecx, [esi + 0xb8]
jne 0x404043
xor eax, eax
push eax
push edi
call fcn.00401e10
jmp 0x404102
mov eax, edi
lea ebp, [eax + 2]
jmp 0x404050
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x404050
sub eax, ebp
sar eax, 1
push eax
push edi
call fcn.00401e10
jmp 0x404102
cmp ebx, dword [esi + 0xc8]
jge 0x40413d
mov eax, dword [esi + 0xc4]
mov edx, dword [eax + edi]
add eax, edi
push 0x456910
push edx
call ebp
test eax, eax
jne 0x4040dc
cmp ebx, dword [esi + 0xc8]
jge 0x40413d
mov eax, dword [esi + 0xc4]
add eax, edi
mov eax, dword [eax]
mov edx, dword [eax + 0x20]
test edx, edx
jne 0x4040ba
xor eax, eax
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.00401e10
jmp 0x404102
mov eax, edx
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4040c0
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.00401e10
jmp 0x404102
cmp ebx, dword [esi + 0xc8]
jge 0x40413d
mov eax, dword [esi + 0xc4]
mov ecx, dword [eax + edi]
add eax, edi
push str.v310
push ecx
call ebp
test eax, eax
jne 0x404102
mov byte [esi + 0xbc], 1
add ebx, 1
cmp ebx, dword [esp + 0x28]
jl 0x403f62
mov ebp, dword [esp + 0x20]
lea eax, [esp + 0x1c]
call fcn.00404630
test al, al
jne 0x404142
lea eax, [ebp - 0x10]
mov byte [esp + 0xe0], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x404272
jmp fcn.00412a14
mov eax, dword [esi + 0xb8]
push 0
push 0
push 1
push 0x4769a0
push eax
call fcn.0043f460
add esp, 0x14
test al, al
jne 0x40416f
push 0
push 0x4769a0
call fcn.0043eed0
add esp, 8
lea ecx, [esp + 0x3c]
push ecx
call fcn.00404790
lea edx, [esp + 0x3c]
mov byte [esp + 0xe0], 7
mov ecx, edx
mov dword [esi + 0x20], edx
call fcn.0040ccae
cmp byte [esp + 0xc8], 0
je 0x4041d7
push 2
push 4
push 0x476a14
call fcn.0043f150
mov eax, dword [0x476ba0]
add esp, 0xc
push 0x4769a0
push eax
call fcn.0043eeb0
add esp, 8
cmp dword [ebp - 0xc], 0
je 0x4041d7
push 1
push 0
push 0
push ebp
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor edi, edi
cmp dword [esp + 0x28], edi
jle 0x404239
test edi, edi
jl 0x40413d
cmp edi, dword [esi + 0xc8]
jge 0x40413d
mov eax, dword [esi + 0xc4]
lea ebx, [edi*4]
mov ecx, dword [eax + ebx]
add eax, ebx
mov eax, dword [ecx + 0x20]
push eax
call fcn.0040beef
add esp, 4
cmp edi, dword [esi + 0xc8]
jge 0x40413d
mov eax, dword [esi + 0xc4]
add eax, ebx
mov eax, dword [eax]
push eax
call fcn.0040beef
add edi, 1
add esp, 4
cmp edi, dword [esp + 0x28]
jl 0x4041df
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0xc0]
call fcn.004156c3
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0xe4], 6
call fcn.00404960
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0xe0], 5
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40427e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xe0], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4042a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xe0], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4042ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xe0], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4042f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xe0], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404321
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret