Function at 0x34094c2d
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x34140ae5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x70]
add ecx, 4
call fcn.340020d0
test eax, eax
jne 0x34094fd3
mov ecx, dword [ebp - 0x70]
add ecx, 4
call fcn.340020c0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x34094fd1
push 0
mov ecx, dword [ebp - 0x70]
add ecx, 4
call fcn.340020c0
push eax
call fcn.340da400
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x34094f6b
mov eax, dword [0x3418dcec]
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x3418dcf0]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x10]
add eax, 0x41
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x34094efc
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x70]
add ecx, 4
call fcn.340020c0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x4c], eax
mov ecx, 0x341a3e58
call fcn.3408c1f3
test eax, eax
je 0x34094d4c
lea ecx, [ebp - 0x54]
call fcn.340994ba
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x4c]
push eax
push str.CTsbFolderMonitor::MakeDir_SetFileAttributesW__lu__attr_0x_08X__Folder__s_
push 0x3418dd8c
push 0xffffffffffffffff
push 0x341a3e5c
call fcn.34090e9e
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.340994e1
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x2c], 8
mov dword [ebp - 0x40], 0
jmp 0x34094d9d
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 4
jge 0x34094efc
cmp dword [ebp - 0x50], 0
je 0x34094dbf
mov edx, dword [ebp - 0x44]
push edx
push 0
mov eax, dword [ebp - 0x50]
push eax
call fcn.340bd3e0
add esp, 0xc
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp + ecx*4 - 0x38]
push edx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityW]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x44]
jbe 0x34094e59
cmp dword [ebp - 0x50], 0
je 0x34094e00
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
push eax
call fcn.340bd446
add esp, 4
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.340bd438
add esp, 4
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x50], 0
jne 0x34094e20
jmp 0x34094efc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
push 0
mov edx, dword [ebp - 0x50]
push edx
call fcn.340bd3e0
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp + eax*4 - 0x38]
push ecx
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityW]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x34094ef7
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x44]
ja 0x34094ef7
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp + edx*4 - 0x38]
push eax
mov ecx, dword [ebp - 0x70]
add ecx, 4
call fcn.340020c0
push eax
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x34094e9f
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov ecx, 0x341a3e58
call fcn.3408c1f3
test eax, eax
je 0x34094ef7
lea ecx, [ebp - 0x58]
call fcn.340994ba
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp + edx*4 - 0x38]
push eax
push str.CTsbFolderMonitor::MakeDir_SetFileSecurityW_type__lu____lu__Folder__s_
push 0x3418de30
push 0xffffffffffffffff
push 0x341a3e5c
call fcn.34090e9e
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.340994e1
jmp 0x34094d94
cmp dword [ebp - 0x24], 0
jne 0x34094f69
mov ecx, dword [ebp - 0x70]
add ecx, 4
call fcn.340020c0
push eax
call fcn.340bd130
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, 0x341a3e58
call fcn.3408c1f3
test eax, eax
je 0x34094f69
lea ecx, [ebp - 0x60]
call fcn.340994ba
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x5c]
push eax
push str.CTsbFolderMonitor::MakeDir_SetFileRights_Everyone__lu__Folder__s_
push 0x3418dec8
push 0xffffffffffffffff
push 0x341a3e5c
call fcn.34090e9e
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.340994e1
jmp 0x34094fd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x34094f81
mov dword [ebp - 0x10], 3
mov ecx, 0x341a3e58
call fcn.3408c1f3
test eax, eax
je 0x34094fd1
lea ecx, [ebp - 0x64]
call fcn.340994ba
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 4]
push eax
push str.CTsbFolderMonitor::MakeDir_Failed__Folder__s__error__d_
push 0x3418df4c
push 0xffffffffffffffff
push 0x341a3e5c
call fcn.34090e9e
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.340994e1
jmp 0x34094fda
mov dword [ebp - 0x10], 3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret