Function at 0x1001d8f0
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 0x100d7f2a
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x10112770]
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.1001a9d0
lea ecx, [ebp - 0x290]
call fcn.10021430
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.1001a9d0
lea ecx, [ebp - 0x2a8]
call fcn.10021430
add esp, 0x18
xor eax, eax
mov byte [ebp - 4], 5
push eax
push 0x1010354c
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
call fcn.1001a9d0
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 0x1001d9fc
xor ecx, ecx
jmp 0x1001da10
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001da01
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x260]
call fcn.1001a9d0
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 0x1001da5b
xor ecx, ecx
jmp 0x1001da6f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001da60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.1001a9d0
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.1001a070
mov ecx, eax
call fcn.10020a30
cmp dword [ebp - 0x21c], 8
jb 0x1001dabf
push dword [ebp - 0x230]
call fcn.1005fb8c
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 0x1001daf3
push dword [ebp - 0x260]
call fcn.1005fb8c
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 0x1001db2b
push dword [ebp - 0x278]
call fcn.1005fb8c
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.100200b0
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.1001a1f0
lea ecx, [ebp - 0x2c0]
call fcn.10021520
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x248]
cmp eax, esi
je 0x1001dbdc
cmp dword [ebp - 0x234], 0x10
jb 0x1001dbb5
push dword [ebp - 0x248]
call fcn.1005fb8c
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.1001f420
cmp dword [ebp - 0x2ac], 0x10
jb 0x1001dbf3
push dword [ebp - 0x2c0]
call fcn.1005fb8c
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.1001a380
call fcn.1001cfe0
add esp, 0x18
test eax, eax
jne 0x1001def4
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.1001a9d0
lea ecx, [ebp - 0x278]
call fcn.10021430
add esp, 0x18
xor eax, eax
mov byte [ebp - 4], 0xe
push eax
push 0x1010354c
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x2ac], 7
mov dword [ebp - 0x2b0], 0
mov word [ebp - 0x2c0], ax
call fcn.1001a9d0
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.1001a380
lea ecx, [ebp - 0x260]
call fcn.10021610
add esp, 0x18
mov esi, eax
call fcn.1001a070
cmp dword [eax + 0x18], 8
lea edx, [eax + 4]
jb 0x1001dccd
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x1001dcd5
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 0x1001dd1e
push dword [ebp - 0x260]
call fcn.1005fb8c
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 0x1001dd56
push dword [ebp - 0x2c0]
call fcn.1005fb8c
add esp, 4
push ecx
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0x230]
call fcn.100200b0
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.1001a380
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.1001a1f0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x10
call fcn.1001d360
add esp, 0x30
test eax, eax
jne 0x1001dea7
sub esp, 0x18
mov ecx, esp
push str.6E605D666E5D64636B6E6766
call fcn.10019fe0
lea ecx, [ebp - 0x260]
call fcn.10021430
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.1001a380
call fcn.10019890
add esp, 0x18
cmp dword [ebp - 0x24c], 8
jb 0x1001de38
push dword [ebp - 0x260]
call fcn.1005fb8c
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 0x1001de6c
push dword [ebp - 0x230]
call fcn.1005fb8c
add esp, 4
cmp dword [ebp - 0x264], 8
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
jb 0x1001e2d4
push dword [ebp - 0x278]
call fcn.1005fb8c
add esp, 4
jmp 0x1001e2d4
cmp dword [ebp - 0x21c], 0x10
jb 0x1001debe
push dword [ebp - 0x230]
call fcn.1005fb8c
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 0x1001def4
push dword [ebp - 0x278]
call fcn.1005fb8c
add esp, 4
push ecx
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x2f0]
call fcn.100256b0
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 0x1001e2a4
test al, 0x10
jne 0x1001e2a4
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.100610e1
add esp, 4
mov edi, eax
mov dword [ebp - 0x300], edi
push esi
push 0
push edi
call fcn.10066410
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 0x101049f8
push ecx
push eax
call fcn.1006124c
add esp, 0xc
test eax, eax
je 0x1001dfe4
mov eax, dword [ebp - 0x2f4]
test eax, eax
je 0x1001e297
push eax
call fcn.100612fd
add esp, 4
jmp 0x1001e297
push dword [ebp - 0x2f4]
push esi
push 1
push edi
call fcn.10061539
push dword [ebp - 0x2f4]
call fcn.100612fd
add esp, 0x14
push esi
call fcn.100610e1
add esp, 4
mov edi, eax
mov dword [ebp - 0x30c], edi
push esi
push 0
push edi
call fcn.10066410
add esp, 0xc
xor edx, edx
test esi, esi
je 0x1001e0e5
cmp esi, 0x20
jb 0x1001e0b8
mov ecx, dword [ebp - 0x300]
lea eax, [ecx - 1]
add eax, esi
cmp edi, eax
ja 0x1001e049
lea eax, [esi - 1]
add eax, edi
cmp eax, ecx
jae 0x1001e0b8
movdqa xmm1, xmmword [0x1010c730]
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 0x1001e080
mov edi, dword [ebp - 0x30c]
cmp edx, esi
jae 0x1001e0e5
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 0x1001e0d1
mov edi, dword [ebp - 0x30c]
test edi, edi
je 0x1001e291
sub esp, 0xc
mov ecx, edi
call fcn.100263c0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1001e288
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.10026560
mov dword [ebp - 0x2f8], eax
test eax, eax
je 0x1001e288
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.1001a380
push dword [0x10117a60]
call dword [ebp - 0x2f8]
add esp, 0x1c
mov dword [ebp - 0x2f8], eax
mov ecx, esi
call fcn.10026610
mov esi, dword [ebp - 0x2f8]
test esi, esi
je 0x1001e19a
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.10066410
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x10104a30
push 0xffffffffffffffff
push 0x100
push eax
call fcn.100615e5
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.1001a9d0
lea ecx, [ebp - 0x2c0]
call fcn.10021430
add esp, 0x18
mov byte [ebp - 4], 0x14
cmp word [ebp - 0x218], 0
jne 0x1001e213
xor ecx, ecx
jmp 0x1001e22f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001e220
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2c0]
call fcn.1001a8f0
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.1001a380
call fcn.10019890
add esp, 0x18
cmp dword [ebp - 0x2ac], 8
jb 0x1001e288
push dword [ebp - 0x2c0]
call fcn.1005fb8c
add esp, 4
push edi
call fcn.100601e4
add esp, 4
mov edi, dword [ebp - 0x300]
test edi, edi
je 0x1001e2a4
push edi
call fcn.100601e4
add esp, 4
cmp dword [ebp - 0x2dc], 8
jb 0x1001e2bb
push dword [ebp - 0x2f0]
call fcn.1005fb8c
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 0x1001e2eb
push dword [ebp - 0x248]
call fcn.1005fb8c
add esp, 4
cmp dword [ebp - 0x2c4], 8
mov byte [ebp - 0x248], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
jb 0x1001e31d
push dword [ebp - 0x2d8]
call fcn.1005fb8c
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 0x1001e34d
push dword [ebp - 0x2a8]
call fcn.1005fb8c
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 0x1001e37d
push dword [ebp - 0x290]
call fcn.1005fb8c
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 0x1001e3a7
push dword [ebp + 8]
call fcn.1005fb8c
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 0x1001e3cc
push dword [ebp + 0x20]
call fcn.1005fb8c
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 0x1001e3f1
push dword [ebp + 0x38]
call fcn.1005fb8c
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 0x1001e416
push dword [ebp + 0x50]
call fcn.1005fb8c
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.1005fb91
mov esp, ebp
pop ebp
ret