Function at 0x1001d770
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Encode data using xor
Get file attributes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d697a
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x10111770]
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 - 0x2fc], ecx
sub esp, 0x18
mov dword [ebp - 4], 3
mov ecx, esp
xor eax, eax
push 6
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.416465
mov word [ecx], ax
call fcn.1001a6a0
lea ecx, [ebp - 0x290]
call fcn.100210b0
mov ecx, esp
mov byte [ebp - 4], 4
push 4
xor eax, eax
push str.6E60
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.1001a6a0
lea ecx, [ebp - 0x2a8]
call fcn.100210b0
add esp, 0x18
xor eax, eax
mov byte [ebp - 4], 5
push eax
push 0x1010251c
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
call fcn.1001a6a0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2a8]
cmp dword [ebp - 0x294], 8
mov dword [ebp - 0x24c], 7
cmovae edx, dword [ebp - 0x2a8]
xor eax, eax
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
cmp word [edx], ax
jne 0x1001d87c
xor ecx, ecx
jmp 0x1001d890
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001d881
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x260]
call fcn.1001a6a0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x290]
cmp dword [ebp - 0x27c], 8
mov dword [ebp - 0x21c], 7
cmovae edx, dword [ebp - 0x290]
xor eax, eax
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [edx], ax
jne 0x1001d8db
xor ecx, ecx
jmp 0x1001d8ef
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001d8e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.1001a6a0
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.10019d40
mov ecx, eax
call fcn.100206b0
cmp dword [ebp - 0x21c], 8
jb 0x1001d93f
push dword [ebp - 0x230]
call fcn.1005f2ec
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp dword [ebp - 0x24c], 8
jb 0x1001d973
push dword [ebp - 0x260]
call fcn.1005f2ec
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x264], 8
jb 0x1001d9ab
push dword [ebp - 0x278]
call fcn.1005f2ec
add esp, 4
xor eax, eax
mov dword [ebp - 0x264], 7
push ecx
lea edx, [ebp - 0x2d8]
mov dword [ebp - 0x268], 0
lea ecx, [ebp - 0x248]
mov word [ebp - 0x278], ax
call fcn.1001ff30
sub esp, 0x14
mov byte [ebp - 4], 0xd
mov ecx, esp
lea eax, [ebp - 0x248]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10019ec0
lea ecx, [ebp - 0x2c0]
call fcn.100211a0
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x248]
cmp eax, esi
je 0x1001da5c
cmp dword [ebp - 0x234], 0x10
jb 0x1001da35
push dword [ebp - 0x248]
call fcn.1005f2ec
add esp, 4
push esi
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
call fcn.1001f2a0
cmp dword [ebp - 0x2ac], 0x10
jb 0x1001da73
push dword [ebp - 0x2c0]
call fcn.1005f2ec
add esp, 4
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 0x38]
push eax
call fcn.1001a050
call fcn.1001ce60
add esp, 0x18
test eax, eax
jne 0x1001dd74
sub esp, 0x18
mov ecx, esp
push 4
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], eax
push str.7875
mov word [ecx], ax
call fcn.1001a6a0
lea ecx, [ebp - 0x278]
call fcn.100210b0
add esp, 0x18
xor eax, eax
mov byte [ebp - 4], 0xe
push eax
push 0x1010251c
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x2ac], 7
mov dword [ebp - 0x2b0], 0
mov word [ebp - 0x2c0], ax
call fcn.1001a6a0
sub esp, 0x18
mov byte [ebp - 4], 0xf
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 0x38]
push eax
call fcn.1001a050
lea ecx, [ebp - 0x260]
call fcn.10021290
add esp, 0x18
mov esi, eax
call fcn.10019d40
cmp dword [eax + 0x18], 8
lea edx, [eax + 4]
jb 0x1001db4d
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x1001db55
mov esi, dword [esi]
cmp dword [ebp - 0x264], 8
lea ecx, [ebp - 0x278]
push edx
cmovae ecx, dword [ebp - 0x278]
lea eax, [ebp - 0x290]
cmp dword [ebp - 0x27c], 8
push esi
cmovae eax, dword [ebp - 0x290]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x24c], 8
jb 0x1001db9e
push dword [ebp - 0x260]
call fcn.1005f2ec
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x2ac], 8
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
jb 0x1001dbd6
push dword [ebp - 0x2c0]
call fcn.1005f2ec
add esp, 4
push ecx
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0x230]
call fcn.1001ff30
sub esp, 0x14
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x2f8], esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 0x50]
push eax
call fcn.1001a050
sub esp, 0x18
mov byte [ebp - 4], 0x11
mov ecx, esp
lea eax, [ebp - 0x230]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10019ec0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x10
call fcn.1001d1e0
add esp, 0x30
test eax, eax
jne 0x1001dd27
sub esp, 0x18
mov ecx, esp
push str.6E605D666E5D64636B6E6766
call fcn.10019cb0
lea ecx, [ebp - 0x260]
call fcn.100210b0
mov ecx, esp
mov byte [ebp - 4], 0x12
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
lea eax, [ebp - 0x260]
push eax
call fcn.1001a050
call fcn.10019560
add esp, 0x18
cmp dword [ebp - 0x24c], 8
jb 0x1001dcb8
push dword [ebp - 0x260]
call fcn.1005f2ec
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
cmp dword [ebp - 0x21c], 0x10
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
jb 0x1001dcec
push dword [ebp - 0x230]
call fcn.1005f2ec
add esp, 4
cmp dword [ebp - 0x264], 8
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
jb 0x1001e154
push dword [ebp - 0x278]
call fcn.1005f2ec
add esp, 4
jmp 0x1001e154
cmp dword [ebp - 0x21c], 0x10
jb 0x1001dd3e
push dword [ebp - 0x230]
call fcn.1005f2ec
add esp, 4
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x264], 8
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
jb 0x1001dd74
push dword [ebp - 0x278]
call fcn.1005f2ec
add esp, 4
push ecx
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x2f0]
call fcn.100257e0
add esp, 4
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 0x10
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1001e124
test al, 0x10
jne 0x1001e124
cmp dword [ebp - 0x234], 0x10
lea ecx, [ebp - 0x150]
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
xor esi, esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
push eax
cmovne esi, dword [ebp - 0x130]
mov dword [ebp - 0x2f8], esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call fcn.100607af
add esp, 4
mov edi, eax
mov dword [ebp - 0x300], edi
push esi
push 0
push edi
call fcn.10065a70
add esp, 0xc
mov dword [ebp - 0x2f4], 0
cmp dword [ebp - 0x234], 0x10
lea ecx, [ebp - 0x248]
lea eax, [ebp - 0x2f4]
cmovae ecx, dword [ebp - 0x248]
push 0x10103998
push ecx
push eax
call fcn.1006091a
add esp, 0xc
test eax, eax
je 0x1001de64
mov eax, dword [ebp - 0x2f4]
test eax, eax
je 0x1001e117
push eax
call fcn.100609cb
add esp, 4
jmp 0x1001e117
push dword [ebp - 0x2f4]
push esi
push 1
push edi
call fcn.10060c07
push dword [ebp - 0x2f4]
call fcn.100609cb
add esp, 0x14
push esi
call fcn.100607af
add esp, 4
mov edi, eax
mov dword [ebp - 0x30c], edi
push esi
push 0
push edi
call fcn.10065a70
add esp, 0xc
xor edx, edx
test esi, esi
je 0x1001df65
cmp esi, 0x20
jb 0x1001df38
mov ecx, dword [ebp - 0x300]
lea eax, [ecx - 1]
add eax, esi
cmp edi, eax
ja 0x1001dec9
lea eax, [esi - 1]
add eax, edi
cmp eax, ecx
jae 0x1001df38
movdqa xmm1, xmmword [0x1010b4d0]
mov eax, esi
and eax, 0x1f
mov dword [ebp - 0x304], esi
sub dword [ebp - 0x304], eax
mov esi, edi
sub esi, ecx
mov eax, ecx
lea ecx, [edi + 0x10]
mov dword [ebp - 0x310], esi
mov dword [ebp - 0x308], ecx
mov edi, esi
mov ecx, dword [ebp - 0x304]
nop
movdqu xmm0, xmmword [eax]
mov esi, dword [ebp - 0x308]
lea eax, [eax + 0x20]
pxor xmm0, xmm1
movdqu xmmword [edi + eax - 0x20], xmm0
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm0, xmm1
movdqu xmmword [esi + edx], xmm0
mov esi, dword [ebp - 0x2f8]
add edx, 0x20
cmp edx, ecx
jb 0x1001df00
mov edi, dword [ebp - 0x30c]
cmp edx, esi
jae 0x1001df65
mov eax, dword [ebp - 0x300]
lea ecx, [edx + edi]
sub eax, edi
sub esi, edx
mov dword [ebp - 0x2f8], eax
mov edi, eax
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor al, 2
mov byte [ecx - 1], al
dec esi
jne 0x1001df51
mov edi, dword [ebp - 0x30c]
test edi, edi
je 0x1001e111
sub esp, 0xc
mov ecx, edi
call fcn.10025fb0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1001e108
lea edx, [ebp - 0x228]
mov dword [ebp - 0x228], 0x706c6548
mov ecx, esi
mov dword [ebp - 0x224], 0x766f7250
mov dword [ebp - 0x220], 0x72656469
mov byte [ebp - 0x21c], 0
call fcn.10026150
mov dword [ebp - 0x2f8], eax
test eax, eax
je 0x1001e108
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 8]
push eax
call fcn.1001a050
push dword [0x101169e0]
call dword [ebp - 0x2f8]
add esp, 0x1c
mov dword [ebp - 0x2f8], eax
mov ecx, esi
call fcn.10026200
mov esi, dword [ebp - 0x2f8]
test esi, esi
je 0x1001e01a
mov eax, dword [ebp - 0x2fc]
mov dword [eax], 1
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.10065a70
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x101039d0
push 0xffffffffffffffff
push 0x100
push eax
call fcn.10060cb3
push ecx
mov ecx, esp
xor eax, eax
push 0xe
push str.6E605D70776C5D
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.1001a6a0
lea ecx, [ebp - 0x2c0]
call fcn.100210b0
add esp, 0x18
mov byte [ebp - 4], 0x14
cmp word [ebp - 0x218], 0
jne 0x1001e093
xor ecx, ecx
jmp 0x1001e0af
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001e0a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2c0]
call fcn.1001a5c0
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x2c0]
push eax
call fcn.1001a050
call fcn.10019560
add esp, 0x18
cmp dword [ebp - 0x2ac], 8
jb 0x1001e108
push dword [ebp - 0x2c0]
call fcn.1005f2ec
add esp, 4
push edi
call fcn.1005f944
add esp, 4
mov edi, dword [ebp - 0x300]
test edi, edi
je 0x1001e124
push edi
call fcn.1005f944
add esp, 4
cmp dword [ebp - 0x2dc], 8
jb 0x1001e13b
push dword [ebp - 0x2f0]
call fcn.1005f2ec
add esp, 4
xor eax, eax
mov dword [ebp - 0x2dc], 7
mov word [ebp - 0x2f0], ax
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x234], 0x10
jb 0x1001e16b
push dword [ebp - 0x248]
call fcn.1005f2ec
add esp, 4
cmp dword [ebp - 0x2c4], 8
mov byte [ebp - 0x248], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
jb 0x1001e19d
push dword [ebp - 0x2d8]
call fcn.1005f2ec
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c4], 7
cmp dword [ebp - 0x294], 8
mov word [ebp - 0x2d8], ax
mov dword [ebp - 0x2c8], eax
jb 0x1001e1cd
push dword [ebp - 0x2a8]
call fcn.1005f2ec
add esp, 4
xor eax, eax
mov dword [ebp - 0x294], 7
cmp dword [ebp - 0x27c], 8
mov word [ebp - 0x2a8], ax
mov dword [ebp - 0x298], eax
jb 0x1001e1fd
push dword [ebp - 0x290]
call fcn.1005f2ec
add esp, 4
xor eax, eax
mov dword [ebp - 0x27c], 7
cmp dword [ebp + 0x1c], 8
mov word [ebp - 0x290], ax
mov dword [ebp - 0x280], eax
jb 0x1001e227
push dword [ebp + 8]
call fcn.1005f2ec
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jb 0x1001e24c
push dword [ebp + 0x20]
call fcn.1005f2ec
add esp, 4
xor eax, eax
mov dword [ebp + 0x34], 7
cmp dword [ebp + 0x4c], 8
mov dword [ebp + 0x30], 0
mov word [ebp + 0x20], ax
jb 0x1001e271
push dword [ebp + 0x38]
call fcn.1005f2ec
add esp, 4
xor eax, eax
mov dword [ebp + 0x4c], 7
cmp dword [ebp + 0x64], 8
mov dword [ebp + 0x48], 0
mov word [ebp + 0x38], ax
jb 0x1001e296
push dword [ebp + 0x50]
call fcn.1005f2ec
add esp, 4
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.1005f2f1
mov esp, ebp
pop ebp
ret