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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5d51
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x468], ecx
lea ecx, [ebp - 0x18]
call fcn.1003819e
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
call fcn.100011d7
mov byte [ebp - 4], 1
push 0
mov ecx, dword [ebp - 0x468]
add ecx, 0x44
call fcn.1001299c
movzx eax, al
test eax, eax
je 0x100a0f2d
mov ecx, dword [ebp - 0x468]
add ecx, 0x44
call fcn.1001e65e
mov dword [ebp - 0x46c], eax
push 0x100c483e
lea ecx, [ebp - 0x10]
call fcn.1004044c
push eax
push 0x100c7258
push dword [ebp - 0x46c]
mov eax, dword [ebp - 0x46c]
mov eax, dword [eax]
call dword [eax + 0x14]
lea ecx, [ebp - 0x1c]
call fcn.100011d7
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x468]
add ecx, 0x44
call fcn.1001e65e
mov dword [ebp - 0x470], eax
push 0x100c483f
lea ecx, [ebp - 0x1c]
call fcn.1004044c
push eax
push str.ServiceExeDirList
push dword [ebp - 0x470]
mov eax, dword [ebp - 0x470]
mov eax, dword [eax]
call dword [eax + 0x14]
push 0x100c727c
lea ecx, [ebp - 0x1c]
call fcn.1003ca1b
movzx eax, al
test eax, eax
je 0x100a0d38
mov ecx, dword [ebp - 0x468]
add ecx, 0x44
call fcn.1001e65e
mov dword [ebp - 0x474], eax
push 0x100c4852
lea ecx, [ebp - 0x1c]
call fcn.1004044c
push eax
push str.ServiceExeDir
push dword [ebp - 0x474]
mov eax, dword [ebp - 0x474]
mov eax, dword [eax]
call dword [eax + 0x14]
lea ecx, [ebp - 0x2c]
call fcn.1000adec
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.1001e65e
push eax
lea ecx, [ebp - 0x454]
call fcn.10003be1
mov dword [ebp - 0x478], eax
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x47c], eax
mov byte [ebp - 4], 4
push 0
push 0x2c
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x47c]
call fcn.100a94ce
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x454]
call fcn.10003c4c
and dword [ebp - 0x30], 0
jmp 0x100a0da0
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x2c]
call fcn.10042d98
cmp dword [ebp - 0x30], eax
jae 0x100a0f15
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.1003bca0
mov ecx, eax
call fcn.100249ae
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.1003bca0
mov ecx, eax
call fcn.10003b98
movzx eax, al
test eax, eax
jne 0x100a0f10
push 0x100c7290
lea ecx, [ebp - 0x10]
call fcn.1003ca4d
movzx eax, al
test eax, eax
je 0x100a0f10
and word [ebp - 0x44c], 0
push 0x410
push 0
lea eax, [ebp - 0x44a]
push eax
call fcn.10072050
add esp, 0xc
mov ecx, dword [ebp - 0x468]
add ecx, 0x44
call fcn.1001e65e
mov dword [ebp - 0x480], eax
push 0
push 0x100c7294
push dword [ebp - 0x480]
mov eax, dword [ebp - 0x480]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x450], eax
push 0x208
lea eax, [ebp - 0x44c]
push eax
push dword [ebp - 0x450]
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.1003bca0
mov ecx, eax
call fcn.1001e65e
push eax
call fcn.100a993c
add esp, 0x10
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100a0e97
push 0
lea eax, [ebp - 0x44c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a0f10
lea eax, [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x458]
call fcn.100249fc
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x488], eax
mov byte [ebp - 4], 5
push dword [ebp - 0x488]
lea ecx, [ebp - 0x18]
call fcn.1003772f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x458]
call fcn.10024124
lea ecx, [ebp - 0x10]
call fcn.1001e65e
push eax
lea ecx, [ebp - 0x18]
call fcn.10038214
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x468]
add ecx, 0x74
call fcn.10037d40
jmp 0x100a0d99
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.1003bccb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000aa54
mov ecx, dword [ebp - 0x468]
add ecx, 0x74
call fcn.10037e32
movzx eax, al
test eax, eax
je 0x100a0fe1
lea eax, [ebp - 0x460]
push eax
call fcn.100ad502
pop ecx
mov dword [ebp - 0x48c], eax
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x490], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x490]
call fcn.1001e65e
push eax
lea ecx, [ebp - 0x45c]
call fcn.100249fc
mov dword [ebp - 0x494], eax
mov eax, dword [ebp - 0x494]
mov dword [ebp - 0x498], eax
mov byte [ebp - 4], 7
push dword [ebp - 0x498]
lea ecx, [ebp - 0x18]
call fcn.1003772f
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x45c]
call fcn.10024124
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x460]
call fcn.10003c4c
push str.TxdlCom.exe
lea ecx, [ebp - 0x18]
call fcn.10038214
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x468]
add ecx, 0x74
call fcn.10037d40
mov dword [ebp - 0x464], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.1000aa54
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10024124
mov eax, dword [ebp - 0x464]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.1006f3d1
leave
ret