Function at 0x10094a35
Capabilities:
Check if file exists
Copy file
Create directory
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5253
mov eax, dword fs:[0]
push eax
sub esp, 0x6a4
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x690], ecx
mov dword [ebp - 0x438], 1
and dword [ebp - 0x650], 0
and dword [ebp - 0x654], 0
and word [ebp - 0x434], 0
push 0x208
push 0
lea eax, [ebp - 0x432]
push eax
call fcn.10071ef0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x434]
push eax
push dword [ebp + 8]
push str._temp_RandomSubPathTag_
call fcn.100a919e
add esp, 0x10
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10071ef0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
push dword [0x100fc1b0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
lea eax, [ebp - 0x434]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
and word [ebp - 0x64c], 0
push 0x208
push 0
lea eax, [ebp - 0x64a]
push eax
call fcn.10071ef0
add esp, 0xc
lea eax, [ebp - 0x64c]
push eax
push 0
push 0x100c55b0
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp dword [ebp - 0x438], 0
je 0x10094b5e
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10094b5e
mov dword [ebp - 0x694], 1
jmp 0x10094b65
and dword [ebp - 0x694], 0
mov eax, dword [ebp - 0x694]
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0
je 0x10094ba0
push 0
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10094ba0
mov dword [ebp - 0x698], 1
jmp 0x10094ba7
and dword [ebp - 0x698], 0
mov eax, dword [ebp - 0x698]
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0
je 0x10094c94
lea eax, [ebp - 0x64c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x658], eax
cmp dword [ebp - 0x438], 0
je 0x10094bf1
cmp dword [ebp - 0x658], 0
je 0x10094bf1
mov dword [ebp - 0x69c], 1
jmp 0x10094bf8
and dword [ebp - 0x69c], 0
mov eax, dword [ebp - 0x69c]
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0
je 0x10094c39
push 0x100c55b4
push dword [ebp - 0x658]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x650], eax
cmp dword [ebp - 0x650], 0
je 0x10094c39
mov dword [ebp - 0x6a0], 1
jmp 0x10094c40
and dword [ebp - 0x6a0], 0
mov eax, dword [ebp - 0x6a0]
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0
je 0x10094c81
push 0x100c55c0
push dword [ebp - 0x658]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x654], eax
cmp dword [ebp - 0x654], 0
je 0x10094c81
mov dword [ebp - 0x6a4], 1
jmp 0x10094c88
and dword [ebp - 0x6a4], 0
mov eax, dword [ebp - 0x6a4]
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 0
je 0x10094fd2
mov eax, dword [ebp - 0x690]
add eax, 0x14
push eax
lea ecx, [ebp - 0x668]
call fcn.10003e4c
and dword [ebp - 4], 0
lea ecx, [ebp - 0x66c]
call fcn.10010891
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x664]
call fcn.10010891
mov byte [ebp - 4], 2
push 0
push 0x100c55d8
mov eax, dword [ebp - 0x690]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x690]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
mov dword [ebp - 0x660], eax
push dword [ebp - 0x660]
push 0x100c55e4
lea eax, [ebp - 0x66c]
push eax
call fcn.100161b4
add esp, 0xc
push dword [ebp + 0xc]
push 0x100c55f0
lea eax, [ebp - 0x664]
push eax
call fcn.100161b4
add esp, 0xc
lea ecx, [ebp - 0x664]
call fcn.10030677
push eax
lea ecx, [ebp - 0x66c]
call fcn.10030677
push eax
lea ecx, [ebp - 0x668]
call fcn.100244fe
push 1
lea eax, [ebp - 0x678]
push eax
lea ecx, [ebp - 0x668]
call fcn.1004015b
mov dword [ebp - 0x6a8], eax
push 0x100c55fc
push dword [ebp - 0x6a8]
call fcn.10037848
pop ecx
pop ecx
mov byte [ebp - 0x671], al
lea ecx, [ebp - 0x678]
call fcn.1001092f
movzx eax, byte [ebp - 0x671]
test eax, eax
je 0x10094da9
push 0x100c5600
lea ecx, [ebp - 0x668]
call fcn.1000a2a1
push 0
push 0x100c5604
lea ecx, [ebp - 0x668]
call fcn.10010a22
test eax, eax
jge 0x10094df0
push dword [ebp - 0x660]
push 0x100c5620
push 0x100c563c
lea eax, [ebp - 0x66c]
push eax
call fcn.100161b4
add esp, 0x10
lea eax, [ebp - 0x66c]
push eax
lea ecx, [ebp - 0x668]
call fcn.10040142
push 1
lea eax, [ebp - 0x680]
push eax
lea ecx, [ebp - 0x668]
call fcn.1004015b
mov dword [ebp - 0x6ac], eax
push 0x100c564c
push dword [ebp - 0x6ac]
call fcn.10037848
pop ecx
pop ecx
mov byte [ebp - 0x679], al
lea ecx, [ebp - 0x680]
call fcn.1001092f
movzx eax, byte [ebp - 0x679]
test eax, eax
je 0x10094e48
push 0x100c5650
lea ecx, [ebp - 0x668]
call fcn.1000a2a1
push 0
push 0x100c5654
lea ecx, [ebp - 0x668]
call fcn.10010a22
test eax, eax
jge 0x10094e8b
push 1
push 0x100c566c
push 0x100c5684
lea eax, [ebp - 0x66c]
push eax
call fcn.100161b4
add esp, 0x10
lea eax, [ebp - 0x66c]
push eax
lea ecx, [ebp - 0x668]
call fcn.10040142
push 0x80c
call fcn.1006efe7
pop ecx
mov dword [ebp - 0x688], eax
cmp dword [ebp - 0x688], 0
je 0x10094eb8
mov ecx, dword [ebp - 0x688]
call fcn.100400e5
mov dword [ebp - 0x6b0], eax
jmp 0x10094ebf
and dword [ebp - 0x6b0], 0
mov eax, dword [ebp - 0x6b0]
mov dword [ebp - 0x684], eax
mov eax, dword [ebp - 0x684]
mov dword [ebp - 0x65c], eax
push 0x14
call fcn.1006efe7
pop ecx
mov dword [ebp - 0x68c], eax
mov eax, dword [ebp - 0x65c]
mov ecx, dword [ebp - 0x68c]
mov dword [eax], ecx
push 0x14
push 0
mov eax, dword [ebp - 0x65c]
push dword [eax]
call fcn.10071ef0
add esp, 0xc
mov eax, dword [ebp - 0x65c]
mov eax, dword [eax]
mov dword [eax], 0x14
mov eax, dword [ebp - 0x65c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x660]
mov dword [eax + 8], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x65c]
mov ecx, dword [ecx]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x65c]
mov ecx, dword [ebp - 0x654]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x65c]
mov ecx, dword [ebp - 0x650]
mov dword [eax + 8], ecx
push 0x3ff
lea ecx, [ebp - 0x668]
call fcn.10030677
push eax
mov eax, dword [ebp - 0x65c]
add eax, 0xc
push eax
call fcn.10072563
add esp, 0xc
push 0
push 0
push dword [ebp - 0x65c]
push 0x10093035
push 0
push 0
call fcn.10072823
add esp, 0x18
mov dword [ebp - 0x670], eax
push dword [ebp - 0x670]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x664]
call fcn.1001092f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x66c]
call fcn.1001092f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x668]
call fcn.1001092f
mov eax, dword [ebp - 0x438]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006f271
leave
ret 8