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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100baf86
mov eax, dword fs:[0]
push eax
mov eax, 0x8444
call fcn.1008a3c0
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 0x100a2ffb
mov ecx, dword [ebp - 0x844c]
add ecx, 0x44
call fcn.1003537a
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 0x100a2e52
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.10018e35
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.1003845a
push 0x100cd634
lea ecx, [ebp - 0x10]
call fcn.100383a9
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.100a0466
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x10]
call fcn.1003537a
push eax
lea eax, [ebp - 0x8234]
push eax
push 0x100cd640
push 0x100cd658
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.100a031e
add esp, 0x10
push 0x1010a008
call fcn.10070c0b
pop ecx
push eax
push 0x1010a008
push 0x2002
lea eax, [ebp - 0x8024]
push eax
call fcn.100a031e
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.1003537a
push eax
lea eax, [ebp - 0x8024]
push eax
push 0x100cd66c
push 0x100cd67c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x10]
call fcn.1003537a
push eax
lea eax, [ebp - 0x401c]
push eax
push 0x100cd690
push 0x100cd6a4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x8448]
call fcn.10004000
mov byte [ebp - 4], 1
push dword [0x1010e014]
push 0x100cd6b8
lea eax, [ebp - 0x8448]
push eax
call fcn.10016015
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.1003537a
push eax
lea ecx, [ebp - 0x8448]
call fcn.1003537a
push eax
push 0x100cd6c0
push 0x100cd6cc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8448]
call fcn.1001085b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10023a7b
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