Function at 0x1001e530
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 0x100daad0
mov eax, dword fs:[0]
push eax
sub esp, 0x320
mov eax, dword [0x10115770]
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], edx
mov dword [ebp - 0x328], 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.1001ac60
lea ecx, [ebp - 0x2a8]
call fcn.10022410
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.1001ac60
lea ecx, [ebp - 0x2c0]
call fcn.10022410
add esp, 0x18
xor eax, eax
mov byte [ebp - 4], 5
push eax
push 0x1010655c
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
call fcn.1001ac60
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2c0]
cmp dword [ebp - 0x2ac], 8
mov dword [ebp - 0x21c], 7
cmovae edx, dword [ebp - 0x2c0]
xor eax, eax
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [edx], ax
jne 0x1001e642
xor ecx, ecx
jmp 0x1001e656
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001e647
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.1001ac60
mov byte [ebp - 4], 7
lea edx, [ebp - 0x2a8]
cmp dword [ebp - 0x294], 8
mov dword [ebp - 0x234], 7
cmovae edx, dword [ebp - 0x2a8]
xor eax, eax
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp word [edx], ax
jne 0x1001e6a1
xor ecx, ecx
jmp 0x1001e6b5
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001e6a6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.1001ac60
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.1001a2b0
mov ecx, eax
call fcn.10021a10
cmp dword [ebp - 0x234], 8
jb 0x1001e705
push dword [ebp - 0x248]
call fcn.1006269c
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp dword [ebp - 0x21c], 8
jb 0x1001e739
push dword [ebp - 0x230]
call fcn.1006269c
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x264], 8
jb 0x1001e771
push dword [ebp - 0x278]
call fcn.1006269c
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 - 0x260]
mov word [ebp - 0x278], ax
call fcn.10021090
sub esp, 0x14
mov byte [ebp - 4], 0xd
mov ecx, esp
lea eax, [ebp - 0x260]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.1001a430
lea ecx, [ebp - 0x320]
call fcn.10022500
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x260]
cmp eax, esi
je 0x1001e822
cmp dword [ebp - 0x24c], 0x10
jb 0x1001e7fb
push dword [ebp - 0x260]
call fcn.1006269c
add esp, 4
push esi
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x24c], 0xf
mov dword [ebp - 0x250], 0
mov byte [ebp - 0x260], 0
call fcn.100201e0
cmp dword [ebp - 0x30c], 0x10
jb 0x1001e839
push dword [ebp - 0x320]
call fcn.1006269c
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.1001a610
call fcn.1001dc10
add esp, 0x18
test eax, eax
jne 0x1001eb3a
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.1001ac60
lea ecx, [ebp - 0x278]
call fcn.10022410
add esp, 0x18
xor eax, eax
mov byte [ebp - 4], 0xe
push eax
push 0x1010655c
lea ecx, [ebp - 0x320]
mov dword [ebp - 0x30c], 7
mov dword [ebp - 0x310], 0
mov word [ebp - 0x320], ax
call fcn.1001ac60
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.1001a610
lea ecx, [ebp - 0x248]
call fcn.100225f0
add esp, 0x18
mov esi, eax
call fcn.1001a2b0
cmp dword [eax + 0x18], 8
lea edx, [eax + 4]
jb 0x1001e913
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x1001e91b
mov esi, dword [esi]
cmp dword [ebp - 0x264], 8
lea ecx, [ebp - 0x278]
push edx
cmovae ecx, dword [ebp - 0x278]
lea eax, [ebp - 0x2a8]
cmp dword [ebp - 0x294], 8
push esi
cmovae eax, dword [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x234], 8
jb 0x1001e964
push dword [ebp - 0x248]
call fcn.1006269c
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x30c], 8
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x1001e99c
push dword [ebp - 0x320]
call fcn.1006269c
add esp, 4
push ecx
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0x230]
call fcn.10021090
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.1001a610
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.1001a430
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x10
call fcn.1001dfa0
add esp, 0x30
test eax, eax
jne 0x1001eaed
sub esp, 0x18
mov ecx, esp
push str.6E605D666E5D64636B6E6766
call fcn.1001a160
lea ecx, [ebp - 0x248]
call fcn.10022410
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 - 0x248]
push eax
call fcn.1001a610
call fcn.10019220
add esp, 0x18
cmp dword [ebp - 0x234], 8
jb 0x1001ea7e
push dword [ebp - 0x248]
call fcn.1006269c
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [ebp - 0x21c], 0x10
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x1001eab2
push dword [ebp - 0x230]
call fcn.1006269c
add esp, 4
cmp dword [ebp - 0x264], 8
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
jb 0x1001f11a
push dword [ebp - 0x278]
call fcn.1006269c
add esp, 4
jmp 0x1001f11a
cmp dword [ebp - 0x21c], 0x10
jb 0x1001eb04
push dword [ebp - 0x230]
call fcn.1006269c
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 0x1001eb3a
push dword [ebp - 0x278]
call fcn.1006269c
add esp, 4
push ecx
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x2f0]
call fcn.100288c0
add esp, 4
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x260]
cmp dword [ebp - 0x24c], 0x10
cmovae eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1001f0ea
test al, 0x10
jne 0x1001f0ea
cmp dword [ebp - 0x24c], 0x10
lea ecx, [ebp - 0x150]
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
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.10063bf1
add esp, 4
mov edi, eax
mov dword [ebp - 0x300], edi
push esi
push 0
push edi
call fcn.10068f30
add esp, 0xc
mov dword [ebp - 0x2f4], 0
cmp dword [ebp - 0x24c], 0x10
lea ecx, [ebp - 0x260]
lea eax, [ebp - 0x2f4]
cmovae ecx, dword [ebp - 0x260]
push 0x10107a58
push ecx
push eax
call fcn.10063d5c
add esp, 0xc
test eax, eax
je 0x1001ec2a
mov eax, dword [ebp - 0x2f4]
test eax, eax
je 0x1001f0dd
push eax
call fcn.10063e0d
add esp, 4
jmp 0x1001f0dd
push dword [ebp - 0x2f4]
push esi
push 1
push edi
call fcn.10064049
push dword [ebp - 0x2f4]
call fcn.10063e0d
add esp, 0x14
push esi
call fcn.10063bf1
add esp, 4
mov edi, eax
mov dword [ebp - 0x324], edi
push esi
push 0
push edi
call fcn.10068f30
add esp, 0xc
xor edx, edx
test esi, esi
je 0x1001ed35
cmp esi, 0x20
jb 0x1001ed08
mov ecx, dword [ebp - 0x300]
lea eax, [ecx - 1]
add eax, esi
cmp edi, eax
ja 0x1001ec8f
lea eax, [edi - 1]
add eax, esi
cmp eax, ecx
jae 0x1001ed08
movdqa xmm1, xmmword [0x1010fd80]
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 - 0x32c], esi
mov dword [ebp - 0x308], ecx
mov edi, esi
mov ecx, dword [ebp - 0x304]
jmp 0x1001ecd0
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 0x1001ecd0
mov edi, dword [ebp - 0x324]
cmp edx, esi
jae 0x1001ed35
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 0x1001ed21
mov edi, dword [ebp - 0x324]
test edi, edi
je 0x1001f0d7
sub esp, 0xc
mov ecx, edi
call fcn.10029340
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1001f0ce
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.100294e0
mov dword [ebp - 0x2f8], eax
test eax, eax
je 0x1001f0ce
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.1001a610
push dword [0x1011aa60]
call dword [ebp - 0x2f8]
add esp, 0x1c
mov dword [ebp - 0x2f8], eax
mov ecx, esi
call fcn.10029590
mov esi, dword [ebp - 0x2f8]
test esi, esi
je 0x1001edea
mov eax, dword [ebp - 0x328]
mov dword [eax], 1
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.10068f30
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x10107ac4
push 0xffffffffffffffff
push 0x100
push eax
call fcn.100640f5
xor eax, eax
mov dword [ebp - 0x27c], 7
add esp, 0x14
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
sub esp, 0x18
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], eax
mov word [ecx], ax
cmp dword [ebp - 0x2fc], eax
je 0x1001ee68
push 0x10
push str.6E605D6B6C71765D
jmp 0x1001ee6f
push 0x16
push str.6E605D70776C5D7067765D
call fcn.1001ac60
lea ecx, [ebp - 0x320]
call fcn.10022410
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x290]
cmp eax, esi
je 0x1001eeca
cmp dword [ebp - 0x27c], 8
jb 0x1001eea5
push dword [ebp - 0x290]
call fcn.1006269c
add esp, 4
xor eax, eax
mov dword [ebp - 0x27c], 7
push esi
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x280], eax
mov word [ebp - 0x290], ax
call fcn.1001a560
cmp dword [ebp - 0x30c], 8
jb 0x1001eee1
push dword [ebp - 0x320]
call fcn.1006269c
add esp, 4
cmp word [ebp - 0x218], 0
jne 0x1001eeef
xor ecx, ecx
jmp 0x1001ef0f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x1001ef00
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001ef00
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x290]
call fcn.1001ab80
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 - 0x290]
push eax
call fcn.1001a610
call fcn.10019220
mov ecx, esp
xor eax, eax
push 4
push str.6168
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.1001ac60
lea ecx, [ebp - 0x278]
call fcn.10022410
add esp, 0x18
xor eax, eax
mov byte [ebp - 4], 0x15
push eax
push 0x1010655c
lea ecx, [ebp - 0x320]
mov dword [ebp - 0x30c], 7
mov dword [ebp - 0x310], 0
mov word [ebp - 0x320], ax
call fcn.1001ac60
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x248]
push 8
xor eax, eax
mov dword [ebp - 0x234], 7
push str.76707767
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
call fcn.1001ac60
call fcn.1001a2b0
cmp dword [eax + 0x18], 8
lea esi, [eax + 4]
jb 0x1001eff2
mov esi, dword [esi]
cmp dword [ebp - 0x234], 8
lea edx, [ebp - 0x248]
push esi
cmovae edx, dword [ebp - 0x248]
lea ecx, [ebp - 0x278]
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x2a8]
push edx
cmovae ecx, dword [ebp - 0x278]
cmp dword [ebp - 0x294], 8
push ecx
cmovae eax, dword [ebp - 0x2a8]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x234], 8
jb 0x1001f04f
push dword [ebp - 0x248]
call fcn.1006269c
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [ebp - 0x30c], 8
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x1001f083
push dword [ebp - 0x320]
call fcn.1006269c
add esp, 4
cmp dword [ebp - 0x264], 8
jb 0x1001f09a
push dword [ebp - 0x278]
call fcn.1006269c
add esp, 4
xor eax, eax
mov dword [ebp - 0x264], 7
cmp dword [ebp - 0x27c], 8
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
jb 0x1001f0ce
push dword [ebp - 0x290]
call fcn.1006269c
add esp, 4
push edi
call fcn.10062cf4
add esp, 4
mov edi, dword [ebp - 0x300]
test edi, edi
je 0x1001f0ea
push edi
call fcn.10062cf4
add esp, 4
cmp dword [ebp - 0x2dc], 8
jb 0x1001f101
push dword [ebp - 0x2f0]
call fcn.1006269c
add esp, 4
xor eax, eax
mov dword [ebp - 0x2dc], 7
mov word [ebp - 0x2f0], ax
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x24c], 0x10
jb 0x1001f131
push dword [ebp - 0x260]
call fcn.1006269c
add esp, 4
cmp dword [ebp - 0x2c4], 8
mov byte [ebp - 0x260], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
jb 0x1001f163
push dword [ebp - 0x2d8]
call fcn.1006269c
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c4], 7
cmp dword [ebp - 0x2ac], 8
mov word [ebp - 0x2d8], ax
mov dword [ebp - 0x2c8], eax
jb 0x1001f193
push dword [ebp - 0x2c0]
call fcn.1006269c
add esp, 4
xor eax, eax
mov dword [ebp - 0x2ac], 7
cmp dword [ebp - 0x294], 8
mov word [ebp - 0x2c0], ax
mov dword [ebp - 0x2b0], eax
jb 0x1001f1c3
push dword [ebp - 0x2a8]
call fcn.1006269c
add esp, 4
xor eax, eax
mov dword [ebp - 0x294], 7
cmp dword [ebp + 0x1c], 8
mov word [ebp - 0x2a8], ax
mov dword [ebp - 0x298], eax
jb 0x1001f1ed
push dword [ebp + 8]
call fcn.1006269c
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 0x1001f212
push dword [ebp + 0x20]
call fcn.1006269c
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 0x1001f237
push dword [ebp + 0x38]
call fcn.1006269c
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 0x1001f25c
push dword [ebp + 0x50]
call fcn.1006269c
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.100626a1
mov esp, ebp
pop ebp
ret