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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100baf3b
mov eax, dword fs:[0]
push eax
mov eax, 0x8444
call fcn.1008a3d0
mov eax, dword [0x100e93e0]
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 0x100a2fcb
mov ecx, dword [ebp - 0x844c]
add ecx, 0x44
call fcn.100350cd
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.100738a0
add esp, 0xc
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x8444]
push eax
call fcn.10073f13
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 0x100a2e22
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.1001900a
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.100382ce
push 0x100cd614
lea ecx, [ebp - 0x10]
call fcn.1003821d
and word [ebp - 0x8234], 0
push 0x208
push 0
lea eax, [ebp - 0x8232]
push eax
call fcn.100738a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x8234]
push eax
call fcn.100a0436
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x10]
call fcn.100350cd
push eax
lea eax, [ebp - 0x8234]
push eax
push 0x100cd620
push 0x100cd638
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
and word [ebp - 0x401c], 0
push 0x4002
push 0
lea eax, [ebp - 0x401a]
push eax
call fcn.100738a0
add esp, 0xc
and word [ebp - 0x8024], 0
push 0x4002
push 0
lea eax, [ebp - 0x8022]
push eax
call fcn.100738a0
add esp, 0xc
push section.Downlaod
call fcn.10070c0b
pop ecx
push eax
push section.Downlaod
push 0x2002
lea eax, [ebp - 0x401c]
push eax
call fcn.100a02ee
add esp, 0x10
push 0x1010a008
call fcn.10070c0b
pop ecx
push eax
push 0x1010a008
push 0x2002
lea eax, [ebp - 0x8024]
push eax
call fcn.100a02ee
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.100350cd
push eax
lea eax, [ebp - 0x8024]
push eax
push 0x100cd64c
push 0x100cd65c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x10]
call fcn.100350cd
push eax
lea eax, [ebp - 0x401c]
push eax
push 0x100cd670
push 0x100cd684
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x8448]
call fcn.10003c04
mov byte [ebp - 4], 1
push dword [0x1010e014]
push 0x100cd698
lea eax, [ebp - 0x8448]
push eax
call fcn.10015f58
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.100350cd
push eax
lea ecx, [ebp - 0x8448]
call fcn.100350cd
push eax
push 0x100cd6a0
push 0x100cd6ac
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8448]
call fcn.100105a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10017651
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.10070c21
leave
ret 4