Function at 0x100a492b
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bdc90
mov eax, dword fs:[0]
push eax
mov eax, 0x8444
call fcn.1008b6f0
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x844c], ecx
mov eax, dword [ebp - 0x844c]
cmp dword [eax + 0x70], 0
je 0x100a4ba2
mov ecx, dword [ebp - 0x844c]
add ecx, 0x44
call fcn.1000ba55
mov dword [ebp - 0x8450], eax
mov eax, dword [ebp - 0x8450]
mov eax, dword [eax]
push dword [ebp - 0x8450]
call dword [eax + 0x28]
and word [ebp - 0x8444], 0
push 0x208
push 0
lea eax, [ebp - 0x8442]
push eax
call fcn.10071b30
add esp, 0xc
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x8444]
push eax
call fcn.1007526c
add esp, 0xc
lea eax, [ebp - 0x8444]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x8444]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100a49f9
push 0
lea eax, [ebp - 0x8444]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.1001910a
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10038c4e
push 0x100d0c94
lea ecx, [ebp - 0x10]
call fcn.10038b9d
and word [ebp - 0x8234], 0
push 0x208
push 0
lea eax, [ebp - 0x8232]
push eax
call fcn.10071b30
add esp, 0xc
push 0x104
lea eax, [ebp - 0x8234]
push eax
call fcn.100a21a9
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x10]
call fcn.1000ba55
push eax
lea eax, [ebp - 0x8234]
push eax
push 0x100d0ca0
push 0x100d0cb8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
and word [ebp - 0x401c], 0
push 0x4002
push 0
lea eax, [ebp - 0x401a]
push eax
call fcn.10071b30
add esp, 0xc
and word [ebp - 0x8024], 0
push 0x4002
push 0
lea eax, [ebp - 0x8022]
push eax
call fcn.10071b30
add esp, 0xc
push section.Downlaod
call fcn.10071ffb
pop ecx
push eax
push section.Downlaod
push 0x2002
lea eax, [ebp - 0x401c]
push eax
call fcn.100a2061
add esp, 0x10
push 0x1010e008
call fcn.10071ffb
pop ecx
push eax
push 0x1010e008
push 0x2002
lea eax, [ebp - 0x8024]
push eax
call fcn.100a2061
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.1000ba55
push eax
lea eax, [ebp - 0x8024]
push eax
push 0x100d0ccc
push 0x100d0cdc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x10]
call fcn.1000ba55
push eax
lea eax, [ebp - 0x401c]
push eax
push 0x100d0cf0
push 0x100d0d04
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x8448]
call fcn.10003b20
mov byte [ebp - 4], 1
push dword [0x10112014]
push 0x100d0d18
lea eax, [ebp - 0x8448]
push eax
call fcn.10016180
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.1000ba55
push eax
lea ecx, [ebp - 0x8448]
call fcn.1000ba55
push eax
push 0x100d0d20
push 0x100d0d2c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8448]
call fcn.10010769
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1002d38b
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10071b1a
leave
ret 4