Function at 0x401fd0
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4063f0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x409008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov esi, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x18], 0
mov eax, 7
mov dword [ebp - 0x18], edx
xor ecx, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], eax
mov word [ebp - 0x28], cx
mov dword [ebp - 4], ecx
test esi, esi
je 0x40204f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402030
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00402900
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmp eax, 8
push 0xe
cmovae ecx, edi
push ecx
call fcn.00402a50
add esp, 8
test eax, eax
je 0x402074
mov esi, 1
jmp 0x402221
push str.3727BAB0_DCAD_4733_855E_863004618CDF
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 8], eax
test eax, eax
jne 0x402095
or esi, 0xffffffff
jmp 0x402221
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40217b
mov esi, dword [ebp - 0x60]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x18
mov dword [esi + 8], 0
mov ecx, esp
mov dword [ebp - 0x60], esp
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x44], xmm0
xor eax, eax
movq qword [ebp - 0x34], xmm0
push 0x24
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.497472F2_6005_408E_9C2B_6ACAFE79CBD5
mov word [ecx], ax
call fcn.00402900
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00402b80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00402d90
mov esi, eax
test esi, esi
je 0x402168
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402168
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
je 0x402161
test eax, 0x20000000
je 0x402161
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push eax
push 2
push 0x4a
push esi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00402c70
xor esi, esi
jmp 0x402221
mov edx, esi
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4021a2
sub edx, ecx
lea ecx, [ebp - 0x5c]
sar edx, 1
push edx
push esi
call fcn.00402900
mov byte [ebp - 4], 3
lea eax, [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
push eax
call fcn.004022a0
mov esi, eax
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x40220d
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402203
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402203
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00404e6f
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x402261
lea ecx, [ecx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x402257
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402257
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.00404e6f
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, esi
mov dword [ebp - 0x14], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00404e2e
mov esp, ebp
pop ebp
ret 4