Function at 0x1000d880
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
mov ecx, 0x100c3468
push 0xffffffffffffffff
push 0x1009c363
push eax
mov dword fs:[0], esp
sub esp, 0x1e8
push esi
push edi
push 0xc
call fcn.1000d340
mov esi, eax
xor edx, edx
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d8b5
sub ecx, edi
je 0x1000d8e1
xor ecx, ecx
mov al, byte [ecx + esi]
inc edx
mov byte [ecx + 0x100c345c], al
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000d8d1
sub eax, edi
movzx ecx, dx
cmp ecx, eax
jb 0x1000d8c2
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push 0x100a1ed0
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x1000df49
mov edx, dword [ebp - 0x3c]
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000d920
sub ecx, esi
push ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.1000e140
push dword [ebp - 0x3c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
mov dword [ebp - 0x108], 0x2a212a04
mov dword [ebp - 0x104], 0x2a6d2a62
xor ecx, ecx
mov dword [ebp - 0x100], 0x2a302a03
mov dword [ebp - 0xfc], 0x2a3c2a37
mov dword [ebp - 0xf8], 0x2a0e2a12
mov dword [ebp - 0xf4], 0x2a0c2a11
mov dword [ebp - 0xf0], 0x2a112a02
mov dword [ebp - 0xec], 0x2a102a4b
mov dword [ebp - 0xe8], 0x2a072a01
mov dword [ebp - 0xe4], 0x2a042a0e
mov dword [ebp - 0xe0], 0x2a1e2a1b
mov dword [ebp - 0xdc], 0x2a182a43
mov dword [ebp - 0xd8], 0x2a182a1d
mov dword [ebp - 0xd4], 0x2a102a5f
mov dword [ebp - 0xd0], 0x2a1c2a19
mov dword [ebp - 0xcc], 0x2a1b2a06
mov dword [ebp - 0xc8], 0x2a1e2a0d
mov dword [ebp - 0xc4], 0x2a152a13
mov dword [ebp - 0xc0], 0x2a4e2a23
mov dword [ebp - 0xbc], 0x2a1d2a4f
mov dword [ebp - 0xb8], 0x2ab22ae6
mov dword [ebp - 0xb4], 0x2ab52aba
mov dword [ebp - 0xb0], 0x2ae12ae5
mov dword [ebp - 0xac], 0x2ab12ab5
mov dword [ebp - 0xa8], 0x2aec2abc
mov dword [ebp - 0xa4], 0x2abe2ab9
mov dword [ebp - 0xa0], 0x2abb2ad3
mov dword [ebp - 0x9c], 0x2abc2aa0
mov dword [ebp - 0x98], 0x2aa82abe
mov dword [ebp - 0x94], 0x2aa32aa4
mov dword [ebp - 0x90], 0x2abb2aa4
mov dword [ebp - 0x8c], 0x2aa32aa7
mov dword [ebp - 0x88], 0x2aac2aa9
mov dword [ebp - 0x84], 0x2af52ac5
mov dword [ebp - 0x80], 0x2af32af3
mov dword [ebp - 0x7c], 0x2ac02afb
mov dword [ebp - 0x78], 0x2a902a95
mov dword [ebp - 0x74], 0x2ac62ac7
mov dword [ebp - 0x70], 0x2ac62ac1
mov dword [ebp - 0x6c], 0x2ac62a92
mov dword [ebp - 0x68], 0x2a9e2a9c
mov dword [ebp - 0x64], 0x2a9c2a9c
mov dword [ebp - 0x60], 0x2ac82acf
mov dword [ebp - 0x5c], 0x2acc2a99
mov word [ebp - 0x58], ax
mov byte [ebp - 0x56], 1
nop dword [eax]
lea eax, [ecx + 0x2a58]
xor word [ebp + ecx*2 - 0x108], ax
inc ecx
cmp ecx, 0x58
jb 0x1000daf0
lea ecx, [ebp - 0x108]
mov byte [ebp - 0x56], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000db11
sub ecx, edx
lea eax, [ebp - 0x108]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.1000e000
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
xor eax, eax
mov dword [ebp - 0x38], 0x2a092a04
mov dword [ebp - 0x34], 0x2a342a28
xor ecx, ecx
mov dword [ebp - 0x30], 0x2a322a1f
mov dword [ebp - 0x2c], 0x2a712a67
mov dword [ebp - 0x28], 0x2a002a04
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], 1
pop ebx
lea eax, [ecx + 0x2a58]
xor word [ebp + ecx*2 - 0x38], ax
inc ecx
cmp ecx, 0xa
jb 0x1000db74
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x22], 0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000db90
sub ecx, edx
lea eax, [ebp - 0x38]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.1000e000
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
push 1
cmovae eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x1f4]
push 0x40
push 2
push eax
call fcn.1000cf70
mov eax, dword [ebp - 0x1f4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1f8], eax
movaps xmm0, xmmword [0x100a18c0]
xor ecx, ecx
movups xmmword [ebp - 0x142], xmm0
mov byte [ebp - 4], 1
movaps xmm0, xmmword [0x100a1890]
movups xmmword [ebp - 0x132], xmm0
mov dword [ebp - 0x112], 0xe4c9f1fa
movaps xmm0, xmmword [0x100a1900]
movups xmmword [ebp - 0x122], xmm0
mov dword [ebp - 0x10e], 0xe8e0e4e8
mov word [ebp - 0x10a], 0x100
nop dword [eax]
mov al, cl
add al, 0x58
xor byte [ebp + ecx - 0x142], al
inc ecx
cmp ecx, 0x38
jb 0x1000dc40
lea eax, [ebp - 0x142]
mov byte [ebp - 0x109], 0
push eax
lea eax, [ebp - 0x1f4]
push eax
call fcn.1000cc20
mov esi, eax
add esp, 8
mov ecx, dword [esi]
push 0xa
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.1000e480
movzx ecx, al
push ecx
mov ecx, esi
call fcn.1000e260
mov ecx, esi
call fcn.1000ac60
mov dword [ebp - 0x18], 0x12081d03
xor ecx, ecx
mov dword [ebp - 0x14], 0xc0c180a
mov word [ebp - 0x10], 0x3d
mov byte [ebp - 0xe], 1
nop word [eax + eax]
mov al, cl
add al, 0x58
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 9
jb 0x1000dcb0
lea eax, [ebp - 0x18]
mov byte [ebp - 0xe], 0
push eax
lea eax, [ebp - 0x1f4]
push eax
call fcn.1000cc20
mov esi, eax
add esp, 8
mov ecx, dword [esi]
push 0xa
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.1000e480
movzx ecx, al
push ecx
mov ecx, esi
call fcn.1000e260
mov ecx, esi
call fcn.1000ac60
movaps xmm0, xmmword [0x100a1880]
xor ecx, ecx
movups xmmword [ebp - 0x1e], xmm0
mov byte [ebp - 0xe], 1
mov al, cl
add al, 0x58
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 0xf
jb 0x1000dd08
push 0x100c345c
lea eax, [ebp - 0x1e]
mov byte [ebp - 0xe], 0
push eax
lea eax, [ebp - 0x1f4]
push eax
call fcn.1000cc20
add esp, 8
push eax
call fcn.1000cc20
mov esi, eax
add esp, 8
mov ecx, dword [esi]
push 0xa
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.1000e480
movzx ecx, al
push ecx
mov ecx, esi
call fcn.1000e260
mov ecx, esi
call fcn.1000ac60
movaps xmm0, xmmword [0x100a18e0]
xor ecx, ecx
movups xmmword [ebp - 0x1f], xmm0
mov word [ebp - 0xf], 0x100
mov al, cl
add al, 0x58
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x10
jb 0x1000dd70
push 0x100c345c
lea eax, [ebp - 0x1f]
mov byte [ebp - 0xe], 0
push eax
lea eax, [ebp - 0x1f4]
push eax
call fcn.1000cc20
add esp, 8
push eax
call fcn.1000cc20
mov esi, eax
add esp, 8
mov ecx, dword [esi]
push 0xa
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.1000e480
movzx ecx, al
push ecx
mov ecx, esi
call fcn.1000e260
mov ecx, esi
call fcn.1000ac60
movaps xmm0, xmmword [0x100a18a0]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x55
mov byte [ebp - 0xe], 1
nop dword [eax]
mov al, cl
add al, 0x58
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0x11
jb 0x1000dde0
push 0x100c345c
lea eax, [ebp - 0x20]
mov byte [ebp - 0xe], 0
push eax
lea eax, [ebp - 0x1f4]
push eax
call fcn.1000cc20
add esp, 8
push eax
call fcn.1000cc20
mov esi, eax
add esp, 8
mov ecx, dword [esi]
push 0xa
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.1000e480
movzx ecx, al
push ecx
mov ecx, esi
call fcn.1000e260
mov ecx, esi
call fcn.1000ac60
lea ecx, [ebp - 0x1f0]
call fcn.10009f00
test eax, eax
jne 0x1000dece
mov eax, dword [ebp - 0x1f4]
lea edx, [ebp - 0x1f4]
mov eax, dword [eax + 4]
add edx, eax
mov eax, dword [edx + 0xc]
or eax, 2
mov ecx, eax
or ecx, 4
cmp dword [edx + 0x38], 0
cmovne ecx, eax
mov eax, dword [edx + 0x10]
and ecx, 0x17
mov dword [edx + 0xc], ecx
and eax, ecx
je 0x1000dece
push 1
test al, 4
je 0x1000dea6
lea eax, [ebp - 0x18]
push eax
call fcn.1000af80
add esp, 8
push eax
push str.ios_base::badbit_set
lea ecx, [ebp - 0x34]
call fcn.100046b0
push 0x100b84a8
lea eax, [ebp - 0x34]
push eax
call fcn.10050963
test al, 2
lea eax, [ebp - 0x18]
push eax
je 0x1000debe
call fcn.1000af80
add esp, 8
push eax
push str.ios_base::failbit_set
jmp 0x1000de90
call fcn.1000af80
add esp, 8
push eax
push str.ios_base::eofbit_set
jmp 0x1000de90
call fcn.1000d4f0
mov eax, dword [ebp - 0x1f4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1f8], eax
lea ecx, [ebp - 0x1f0]
call fcn.10004940
mov eax, dword [ebp - 0x1f4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1f8], eax
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.100120c0
add esp, 4
lea ecx, [ebp - 0x54]
call fcn.1000d220
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret