Function at 0x1001a210
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x650
mov eax, dword [0x10180440]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
js 0x1001a438
push 0x208
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.10106210
add esp, 0xc
lea eax, [ebp - 0x228]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x228]
push eax
call edi
test esi, esi
jle 0x1001a27f
lea eax, [ebp - 0x228]
push eax
call edi
sub esi, 1
jne 0x1001a271
mov eax, dword [0x1018735c]
mov esi, dword [eax]
cmp esi, eax
je 0x1001a438
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x638]
push 0
push eax
call fcn.10106210
add esp, 0xc
lea eax, [ebp - 0x228]
push dword [esi + 0x14]
push eax
lea eax, [ebp - 0x638]
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esi + 0x10]
test eax, eax
jne 0x1001a45f
cmp ecx, 7
jne 0x1001a3e7
push 0x208
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.10106210
add esp, 0xc
lea eax, [ebp - 0x430]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x20], 0x61004d
mov word [ebp - 0x650], ax
lea ecx, [ebp - 0x650]
push 0xd
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x740073
push eax
mov dword [ebp - 0x18], 0x720065
mov dword [ebp - 0x14], 0x440050
mov dword [ebp - 0x10], 0x440046
mov dword [ebp - 0xc], 0x740061
mov dword [ebp - 8], 0x61
mov dword [ebp - 0x640], 0
mov dword [ebp - 0x63c], 7
call fcn.1000a620
cmp dword [ebp - 0x63c], 8
lea eax, [ebp - 0x650]
cmovae eax, dword [ebp - 0x650]
push eax
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [ebp - 0x63c]
cmp edx, 8
jb 0x1001a3d3
mov ecx, dword [ebp - 0x650]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a3c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a472
push edx
push ecx
call fcn.100c3e1a
add esp, 8
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x228]
push eax
call edi
test eax, eax
jne 0x1001a44b
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1001a414
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1001a410
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x1001a410
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1001a400
mov esi, eax
jmp 0x1001a42c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1001a42c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1001a420
cmp esi, dword [0x1018735c]
jne 0x1001a2a0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c416e
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c416e
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c416e
mov esp, ebp
pop ebp
ret
call fcn.10109939
int3