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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc270
mov eax, dword fs:[0]
push eax
mov eax, 0x8444
call fcn.1008b810
mov eax, dword [0x100ee3e0]
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 0x100a3cc7
mov ecx, dword [ebp - 0x844c]
add ecx, 0x44
call fcn.100348a0
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.10074c40
add esp, 0xc
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x8444]
push eax
call fcn.100752b3
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 0x100a3b1e
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.10024328
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.10038092
push 0x100d05d4
lea ecx, [ebp - 0x10]
call fcn.10037fe1
and word [ebp - 0x8234], 0
push 0x208
push 0
lea eax, [ebp - 0x8232]
push eax
call fcn.10074c40
add esp, 0xc
push 0x104
lea eax, [ebp - 0x8234]
push eax
call fcn.100a1adc
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x10]
call fcn.100348a0
push eax
lea eax, [ebp - 0x8234]
push eax
push 0x100d05e0
push 0x100d05f8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
and word [ebp - 0x401c], 0
push 0x4002
push 0
lea eax, [ebp - 0x401a]
push eax
call fcn.10074c40
add esp, 0xc
and word [ebp - 0x8024], 0
push 0x4002
push 0
lea eax, [ebp - 0x8022]
push eax
call fcn.10074c40
add esp, 0xc
push section.Downlaod
call fcn.10071f8b
pop ecx
push eax
push section.Downlaod
push 0x2002
lea eax, [ebp - 0x401c]
push eax
call fcn.100a19c7
add esp, 0x10
push 0x1010f008
call fcn.10071f8b
pop ecx
push eax
push 0x1010f008
push 0x2002
lea eax, [ebp - 0x8024]
push eax
call fcn.100a19c7
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.100348a0
push eax
lea eax, [ebp - 0x8024]
push eax
push 0x100d060c
push 0x100d061c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x10]
call fcn.100348a0
push eax
lea eax, [ebp - 0x401c]
push eax
push 0x100d0630
push 0x100d0644
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x8448]
call fcn.10010607
mov byte [ebp - 4], 1
push dword [0x10113014]
push 0x100d0658
lea eax, [ebp - 0x8448]
push eax
call fcn.10015ed2
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.100348a0
push eax
lea ecx, [ebp - 0x8448]
call fcn.100348a0
push eax
push 0x100d0660
push 0x100d066c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8448]
call fcn.100106a5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1001767b
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.10071fa1
leave
ret 4