Function at 0x10097380
Capabilities:
Create directory
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10176ac6
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x10248500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xd4]
movzx ecx, byte [eax + 0x90]
test ecx, ecx
jne 0x100973d8
lea ecx, [ebp + 8]
call fcn.10023a30
movzx edx, al
test edx, edx
je 0x100973ed
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10012130
nop
jmp 0x10097674
mov eax, dword [ebp - 0xd4]
mov byte [eax + 0x90], 1
lea ecx, [ebp - 0x40]
call fcn.1001b000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.1001b000
mov byte [ebp - 4], 2
push 0x10952f38
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x10097582
push 0x101d2028
push 0x10952f38
lea ecx, [ebp - 0x70]
call fcn.1000fa20
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xdc]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.10092180
add esp, 0xc
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0x40]
call fcn.1001bf50
lea ecx, [ebp - 0x58]
call fcn.10012130
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.10012130
nop
push 0x101d2034
lea edx, [ebp + 8]
push edx
push 0x101d203c
push 0x10952f38
lea ecx, [ebp - 0xd0]
call fcn.1000fa20
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xe8]
push ecx
lea edx, [ebp - 0xb8]
push edx
call fcn.10092180
add esp, 0xc
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xf0]
push ecx
lea edx, [ebp - 0xa0]
push edx
call fcn.10092150
add esp, 0xc
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xf8]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.10092180
add esp, 0xc
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x28]
call fcn.1001bf50
lea ecx, [ebp - 0x88]
call fcn.10012130
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.10012130
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.10012130
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.10012130
nop
push 0
lea ecx, [ebp - 0x40]
call fcn.10022d10
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0xd4]
push edx
lea ecx, [ebp - 0x108]
call fcn.1000faf0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
lea ecx, [ebp - 0x110]
call fcn.1000faf0
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x118]
call fcn.1000faf0
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0xd4]
push edx
lea ecx, [ebp - 0x120]
call fcn.1000faf0
nop
mov eax, dword [ebp - 0xd4]
movzx ecx, byte [eax + 0x91]
test ecx, ecx
je 0x10097609
mov ecx, dword [ebp - 0xd4]
call fcn.100979c0
nop
lea edx, [ebp + 8]
push edx
mov ecx, 0x10247a40
call fcn.1003d320
push 0
push 0
push 0
push 0x10097690
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xd4]
mov byte [ecx + 0x90], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10012130
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10012130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10012130
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016fccf
mov esp, ebp
pop ebp
ret 0x18