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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5dde
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x498], ecx
push str.TxdlService.exe
mov ecx, dword [ebp - 0x498]
add ecx, 0x78
call fcn.10009d69
push 0x100c71c4
mov ecx, dword [ebp - 0x498]
add ecx, 0xb0
call fcn.10009d69
lea eax, [ebp - 0x46c]
push eax
call fcn.100ad395
pop ecx
mov dword [ebp - 0x49c], eax
mov eax, dword [ebp - 0x49c]
mov dword [ebp - 0x4a0], eax
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4a0]
call fcn.10020899
push eax
lea ecx, [ebp - 0x2c]
call fcn.100016da
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x46c]
call fcn.1001030a
push 0
mov ecx, dword [ebp - 0x498]
add ecx, 0x44
call fcn.10012572
movzx eax, al
test eax, eax
je 0x100a153f
lea ecx, [ebp - 0x30]
call fcn.1001daed
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x498]
add ecx, 0x44
call fcn.10020899
mov dword [ebp - 0x4a4], eax
push 0x100c4817
lea ecx, [ebp - 0x30]
call fcn.1000203e
push eax
push str.ServiceExeName
push dword [ebp - 0x4a4]
mov eax, dword [ebp - 0x4a4]
mov eax, dword [eax]
call dword [eax + 0x14]
push 0x100c71fc
lea ecx, [ebp - 0x30]
call fcn.1003c84f
movzx eax, al
test eax, eax
je 0x100a128a
lea ecx, [ebp - 0x30]
call fcn.10020899
push eax
mov ecx, dword [ebp - 0x498]
add ecx, 0x78
call fcn.10009d69
lea ecx, [ebp - 0x34]
call fcn.1001daed
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x498]
add ecx, 0x44
call fcn.10020899
mov dword [ebp - 0x4a8], eax
push 0x100c482a
lea ecx, [ebp - 0x34]
call fcn.1000203e
push eax
push str.ServiceInstallName
push dword [ebp - 0x4a8]
mov eax, dword [ebp - 0x4a8]
mov eax, dword [eax]
call dword [eax + 0x14]
push 0x100c7214
lea ecx, [ebp - 0x34]
call fcn.1003c84f
movzx eax, al
test eax, eax
je 0x100a12fc
lea ecx, [ebp - 0x34]
call fcn.10020899
push eax
mov ecx, dword [ebp - 0x498]
add ecx, 0xb0
call fcn.10009d69
lea ecx, [ebp - 0x38]
call fcn.1001daed
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x498]
add ecx, 0x44
call fcn.10020899
mov dword [ebp - 0x4ac], eax
push 0x100c482b
lea ecx, [ebp - 0x38]
call fcn.1000203e
push eax
push 0x100c7218
push dword [ebp - 0x4ac]
mov eax, dword [ebp - 0x4ac]
mov eax, dword [eax]
call dword [eax + 0x14]
push 0x100c7228
lea ecx, [ebp - 0x38]
call fcn.1003c84f
movzx eax, al
test eax, eax
je 0x100a151b
lea ecx, [ebp - 0x468]
call fcn.1003bb51
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.10020899
push eax
lea ecx, [ebp - 0x470]
call fcn.10003b8c
mov dword [ebp - 0x4b0], eax
mov eax, dword [ebp - 0x4b0]
mov dword [ebp - 0x4b4], eax
mov byte [ebp - 4], 7
push 0
push 0x2c
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x4b4]
call fcn.100a949d
add esp, 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x470]
call fcn.1001030a
lea ecx, [ebp - 0x3c]
call fcn.10003b59
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x468]
call fcn.1000a2ff
test eax, eax
jbe 0x100a13ea
push 0
lea ecx, [ebp - 0x468]
call fcn.1004169c
push eax
lea ecx, [ebp - 0x3c]
call fcn.10003bf7
lea ecx, [ebp - 0x3c]
call fcn.10023f19
and word [ebp - 0x454], 0
push 0x410
push 0
lea eax, [ebp - 0x452]
push eax
call fcn.10072040
add esp, 0xc
mov ecx, dword [ebp - 0x498]
add ecx, 0x44
call fcn.10020899
mov dword [ebp - 0x4b8], eax
push 0
push 0x100c722c
push dword [ebp - 0x4b8]
mov eax, dword [ebp - 0x4b8]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x458], eax
push 0x208
lea eax, [ebp - 0x454]
push eax
push dword [ebp - 0x458]
lea ecx, [ebp - 0x3c]
call fcn.10020899
push eax
call fcn.100a990b
add esp, 0x10
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100a14f1
push 0
lea eax, [ebp - 0x454]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a14a9
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10009d69
jmp 0x100a14ef
lea eax, [ebp - 0x474]
push eax
call fcn.100ad4c3
pop ecx
mov dword [ebp - 0x4bc], eax
mov eax, dword [ebp - 0x4bc]
mov dword [ebp - 0x4c0], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x4c0]
call fcn.10020899
push eax
lea ecx, [ebp - 0x2c]
call fcn.10009d69
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x474]
call fcn.1001030a
jmp 0x100a1500
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10009d69
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.1001030a
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x468]
call fcn.1003bb78
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.1000a683
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.1000a683
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.1000a683
push 0x100c7238
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x490]
push eax
call fcn.1000a5c3
add esp, 0xc
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x4c4]
mov dword [ebp - 0x4c8], eax
mov byte [ebp - 4], 0xa
push dword [ebp - 0x4c8]
mov ecx, dword [ebp - 0x498]
add ecx, 0x94
call fcn.1000175d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x490]
call fcn.10001748
mov eax, dword [ebp - 0x498]
add eax, 0x78
push eax
mov ecx, dword [ebp - 0x498]
add ecx, 0x94
call fcn.10001773
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x498]
add ecx, 0xcc
call fcn.1000175d
mov ecx, dword [ebp - 0x498]
add ecx, 0x78
call fcn.10001898
movzx eax, al
test eax, eax
jne 0x100a1614
mov ecx, dword [ebp - 0x498]
add ecx, 0xb0
call fcn.10001898
movzx eax, al
test eax, eax
jne 0x100a1614
mov ecx, dword [ebp - 0x498]
add ecx, 0x94
call fcn.10001898
movzx eax, al
test eax, eax
jne 0x100a1614
mov dword [ebp - 0x4cc], 1
jmp 0x100a161b
and dword [ebp - 0x4cc], 0
mov eax, dword [ebp - 0x4cc]
mov dword [ebp - 0x494], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10001748
mov eax, dword [ebp - 0x494]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006f3c1
leave
ret