Function at 0x1000f690
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100463a1
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x1005a280]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 0x3c], 0x3137437b
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], 0x43354244
lea edi, [ebp - 0x16]
mov dword [ebp - 0x34], 0x36322d35
mov dword [ebp - 0x30], 0x342d4430
mov dword [ebp - 0x2c], 0x2d314434
mov dword [ebp - 0x28], 0x43373142
mov dword [ebp - 0x24], 0x4136462d
mov dword [ebp - 0x20], 0x39464130
mov dword [ebp - 0x1c], 0x37443846
mov word [ebp - 0x18], 0x7d42
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
sub edi, eax
je 0x1000f77f
cmp edi, 0x7fffffff
ja 0x1000fa61
cmp edi, 0x1000
jb 0x1000f75c
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x1000fa66
push eax
call fcn.10027895
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1000fa91
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x1000f765
push edi
call fcn.10027895
add esp, 4
push edi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x68], eax
push ecx
lea esi, [eax + edi]
push eax
mov dword [ebp - 0x60], esi
call fcn.100291e0
add esp, 0xc
mov dword [ebp - 0x64], esi
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], 7
cmp dword [ebp - 0x68], esi
jne 0x1000f7ab
xor eax, eax
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
jmp 0x1000f83e
sub esi, dword [ebp - 0x68]
cmp esi, 0x7ffffffe
ja 0x1000fa6b
mov eax, 7
cmp esi, eax
jbe 0x1000f800
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x1000f7d6
mov eax, SysReAllocString
jmp 0x1000f7e0
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.1000f520
mov edx, eax
add esp, 8
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x40], eax
jmp 0x1000f803
mov edx, dword [ebp - 0x54]
cmp eax, 7
lea ecx, [ebp - 0x54]
mov edi, esi
cmova ecx, edx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x58], ecx
test esi, esi
je 0x1000f832
nop dword [eax + eax]
movzx eax, byte [edx]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
lea edx, [edx + 1]
sub edi, 1
jne 0x1000f820
mov eax, dword [ebp - 0x58]
xor ecx, ecx
mov dword [ebp - 0x44], esi
mov word [eax + esi*2], cx
mov ecx, 0x1005c694
call fcn.10005b30
movups xmm1, xmmword [ebp - 0x54]
mov ecx, 0x1005c694
movq xmm0, qword [ebp - 0x44]
movq qword [0x1005c6a4], xmm0
cmp dword [0x1005c6a8], 7
movd eax, xmm1
movups xmmword [0x1005c694], xmm1
cmova ecx, eax
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, 0xffffffff
je 0x1000f9d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1000f9d0
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x3e8
push eax
mov dword [ebp - 0x58], 0
call fcn.100030b0
add esp, 4
mov byte [ebp - 4], 1
call fcn.10020bf0
test al, al
je 0x1000fa70
mov dword [ebp - 4], 0
nop word [eax + eax]
push 0x264
mov byte [ebp - 4], 3
call fcn.10027895
add esp, 4
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x1000f8f5
mov ecx, eax
call fcn.10021a60
jmp 0x1000f8f7
xor eax, eax
push eax
mov ecx, 0x1005c64c
mov byte [ebp - 4], 3
call fcn.1000f580
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 0x3e8
push eax
mov dword [ebp - 0x6c], 0
call fcn.100030b0
mov eax, dword [0x1005c64c]
add esp, 4
mov byte [ebp - 4], 5
cmp byte [eax + 0x261], 0
jne 0x1000f980
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 1
push eax
mov dword [ebp - 0x74], 0
call fcn.10003010
push 0x264
call fcn.10027895
add esp, 8
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x1000f96a
mov ecx, eax
call fcn.10021a60
jmp 0x1000f96c
xor eax, eax
push eax
mov ecx, 0x1005c64c
mov byte [ebp - 4], 5
call fcn.1000f580
mov eax, dword [0x1005c64c]
mov cl, byte [eax + 0x262]
cmp cl, 1
je 0x1000f9bf
cmp byte [eax + 0x263], 1
je 0x1000f9bf
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - 0x80], 3
mov dword [ebp - 0x7c], 0
call fcn.10003010
jmp 0x1000f91d
mov dword [ebp - 4], 0
cmp cl, 1
jne 0x1000fa15
call fcn.1001f4c0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 0x68]
test edx, edx
je 0x1000fa40
mov ecx, dword [ebp - 0x60]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x1000fa36
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000fa91
jmp 0x1000fa36
cmp byte [eax + 0x263], 1
jne 0x1000f9d0
call fcn.10008ac0
jmp 0x1000f9d0
push ecx
push edx
call fcn.100278c5
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100278e1
mov esp, ebp
pop ebp
ret
call fcn.100021d0
call fcn.100021a0
call fcn.100021c0
push 0x1004a65c
lea ecx, [ebp - 0x8c]
call fcn.1000b920
push 0x10056380
lea eax, [ebp - 0x8c]
push eax
call fcn.10028dbf
call fcn.1002caaf
int3