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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b23db
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x100dd3e0]
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.10009d16
push 0x100c27b8
mov ecx, dword [ebp - 0x498]
add ecx, 0xb0
call fcn.10009d16
lea eax, [ebp - 0x46c]
push eax
call fcn.100a9c45
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.100333d3
push eax
lea ecx, [ebp - 0x2c]
call fcn.100016cf
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x46c]
call fcn.10003af7
push 0
mov ecx, dword [ebp - 0x498]
add ecx, 0x44
call fcn.10037352
movzx eax, al
test eax, eax
je 0x1009e9ad
lea ecx, [ebp - 0x30]
call fcn.1001db5c
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x498]
add ecx, 0x44
call fcn.100333d3
mov dword [ebp - 0x4a4], eax
push 0x100bf5ff
lea ecx, [ebp - 0x30]
call fcn.10012e62
push eax
push 0x100c27e0
push dword [ebp - 0x4a4]
mov eax, dword [ebp - 0x4a4]
mov eax, dword [eax]
call dword [eax + 0x14]
push 0x100c264c
lea ecx, [ebp - 0x30]
call fcn.1003beb4
movzx eax, al
test eax, eax
je 0x1009e6f8
lea ecx, [ebp - 0x30]
call fcn.100333d3
push eax
mov ecx, dword [ebp - 0x498]
add ecx, 0x78
call fcn.10009d16
lea ecx, [ebp - 0x34]
call fcn.1001db5c
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x498]
add ecx, 0x44
call fcn.100333d3
mov dword [ebp - 0x4a8], eax
push 0x100bf672
lea ecx, [ebp - 0x34]
call fcn.10012e62
push eax
push str.ServiceInstallName
push dword [ebp - 0x4a8]
mov eax, dword [ebp - 0x4a8]
mov eax, dword [eax]
call dword [eax + 0x14]
push 0x100c2804
lea ecx, [ebp - 0x34]
call fcn.1003beb4
movzx eax, al
test eax, eax
je 0x1009e76a
lea ecx, [ebp - 0x34]
call fcn.100333d3
push eax
mov ecx, dword [ebp - 0x498]
add ecx, 0xb0
call fcn.10009d16
lea ecx, [ebp - 0x38]
call fcn.1001db5c
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x498]
add ecx, 0x44
call fcn.100333d3
mov dword [ebp - 0x4ac], eax
push 0x100bf673
lea ecx, [ebp - 0x38]
call fcn.10012e62
push eax
push 0x100c2808
push dword [ebp - 0x4ac]
mov eax, dword [ebp - 0x4ac]
mov eax, dword [eax]
call dword [eax + 0x14]
push 0x100c2818
lea ecx, [ebp - 0x38]
call fcn.1003beb4
movzx eax, al
test eax, eax
je 0x1009e989
lea ecx, [ebp - 0x468]
call fcn.1003b7a3
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.100333d3
push eax
lea ecx, [ebp - 0x470]
call fcn.10003a8c
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.100a607d
add esp, 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x470]
call fcn.10003af7
lea ecx, [ebp - 0x3c]
call fcn.10003a59
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x468]
call fcn.1004171f
test eax, eax
jbe 0x1009e858
push 0
lea ecx, [ebp - 0x468]
call fcn.1003b7ca
push eax
lea ecx, [ebp - 0x3c]
call fcn.10003b08
lea ecx, [ebp - 0x3c]
call fcn.1002419f
and word [ebp - 0x454], 0
push 0x410
push 0
lea eax, [ebp - 0x452]
push eax
call fcn.10070ca0
add esp, 0xc
mov ecx, dword [ebp - 0x498]
add ecx, 0x44
call fcn.100333d3
mov dword [ebp - 0x4b8], eax
push 0
push 0x100c281c
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.100333d3
push eax
call fcn.100a6381
add esp, 0x10
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1009e95f
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 0x1009e917
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10009d16
jmp 0x1009e95d
lea eax, [ebp - 0x474]
push eax
call fcn.100a9d73
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.100333d3
push eax
lea ecx, [ebp - 0x2c]
call fcn.10009d16
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x474]
call fcn.10003af7
jmp 0x1009e96e
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10009d16
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.10003af7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x468]
call fcn.1003b7f5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.1000a706
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.1000a706
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.1000a706
push 0x100c2828
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x490]
push eax
call fcn.1000a68c
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.10001752
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x490]
call fcn.1000173d
mov eax, dword [ebp - 0x498]
add eax, 0x78
push eax
mov ecx, dword [ebp - 0x498]
add ecx, 0x94
call fcn.10001768
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x498]
add ecx, 0xcc
call fcn.10001752
mov ecx, dword [ebp - 0x498]
add ecx, 0x78
call fcn.10004aa4
movzx eax, al
test eax, eax
jne 0x1009ea82
mov ecx, dword [ebp - 0x498]
add ecx, 0xb0
call fcn.10004aa4
movzx eax, al
test eax, eax
jne 0x1009ea82
mov ecx, dword [ebp - 0x498]
add ecx, 0x94
call fcn.10004aa4
movzx eax, al
test eax, eax
jne 0x1009ea82
mov dword [ebp - 0x4cc], 1
jmp 0x1009ea89
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.1000173d
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.1006e001
leave
ret