Function at 0x40a8ba
Capabilities:
Compare security identifiers
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd42a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x540
lea ecx, [ebp - 0x18]
call fcn.004054e3
and dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004054e3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004054e3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004054e3
mov byte [ebp - 4], 3
and dword [ebp - 0x80], 0
and dword [ebp - 0x90], 0
and dword [ebp - 0x4c], 0
and dword [ebp - 0x94], 0
and dword [ebp - 0x68], 0
and dword [ebp - 0x7c], 0
and dword [ebp - 0x6c], 0
and dword [ebp - 0x40], 0
and dword [ebp - 0x44], 0
mov dword [ebp - 0x78], 4
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x80]
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0x4c]
mov ecx, dword [ebp + 0xc]
call fcn.00405b2a
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x40a9b5
and dword [ebp - 0x208], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x208]
jmp 0x40c84e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40ad41
push dword [ebp - 0x94]
lea ecx, [ebp - 0x18]
call fcn.004065f0
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x40aae2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
jge 0x40aaa0
push str.HeapAlloc__
push dword [ebp - 0xe4]
push 0x4dafb0
lea eax, [ebp - 0x4b0]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x4c2]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x2dc], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2dc]
call fcn.00405cc1
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x2ec], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2ec]
call fcn.00405b2a
push eax
push 0x719
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4b0]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c2]
call fcn.004055b0
and dword [ebp - 0x2f4], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x2f4]
jmp 0x40c84e
push dword [ebp - 0x90]
lea ecx, [ebp - 0x3c]
call fcn.004065f0
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x40ac00
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jge 0x40abbe
push str.HeapAlloc__
push dword [ebp - 0xec]
push 0x4dafb0
lea eax, [ebp - 0x4cb]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x33f]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x11c]
call fcn.00405cc1
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x124]
call fcn.00405b2a
push eax
push 0x71f
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4cb]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x33f]
call fcn.004055b0
and dword [ebp - 0x2c0], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x2c0]
jmp 0x40c84e
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x80]
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0x4c]
mov ecx, dword [ebp + 0xc]
call fcn.00405b2a
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x40ad3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
jge 0x40acfa
push str.HeapAlloc__
push dword [ebp - 0xf4]
push 0x4dafb0
lea eax, [ebp - 0x417]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x351]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x134]
call fcn.00405cc1
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x13c]
call fcn.00405b2a
push eax
push 0x725
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x417]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x351]
call fcn.004055b0
and dword [ebp - 0x204], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x204]
jmp 0x40c84e
jmp 0x40adde
and dword [ebp - 0x70], 0
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00405b2a
push eax
call sub.ADVAPI32.dll_ConvertStringSidToSidA
cmp dword [ebp - 0x70], 0
jne 0x40ad9f
and dword [ebp - 0x144], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x144]
jmp 0x40c84e
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
inc eax
push eax
lea ecx, [ebp - 0x18]
call fcn.004065f0
mov dword [ebp - 0x4c], eax
push dword [ebp - 0xfc]
push dword [ebp - 0x70]
push dword [ebp - 0x4c]
call fcn.004ae720
add esp, 0xc
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x7c]
push eax
push 0
push dword [ebp - 0x68]
push dword [ebp - 0x78]
mov ecx, dword [ebp + 8]
call fcn.00405b2a
push eax
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityA]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x40ae49
and dword [ebp - 0x20c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x20c]
jmp 0x40c84e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x40af5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jge 0x40af19
push str.GetFileSecurity__
push dword [ebp - 0x98]
push 0x4dafb0
lea eax, [ebp - 0x483]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x363]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x214], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x214]
call fcn.00405cc1
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x21c]
call fcn.00405b2a
push eax
push 0x741
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x483]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x363]
call fcn.004055b0
and dword [ebp - 0x15c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x15c]
jmp 0x40c84e
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x30]
call fcn.004065f0
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x40b076
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jge 0x40b034
push str.HeapAlloc__
push dword [ebp - 0xa0]
push 0x4dafb0
lea eax, [ebp - 0x429]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x375]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x164]
call fcn.00405cc1
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x16c]
call fcn.00405b2a
push eax
push 0x747
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x429]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x375]
call fcn.004055b0
and dword [ebp - 0x234], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x234]
jmp 0x40c84e
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
push dword [ebp - 0x68]
push dword [ebp - 0x78]
mov ecx, dword [ebp + 8]
call fcn.00405b2a
push eax
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityA]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x40b1a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jge 0x40b160
push str.GetFileSecurity__
push dword [ebp - 0xf8]
push 0x4dafb0
lea eax, [ebp - 0x4b9]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x387]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x23c]
call fcn.00405cc1
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x244]
call fcn.00405b2a
push eax
push 0x74d
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x4b9]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x387]
call fcn.004055b0
and dword [ebp - 0x184], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x184]
jmp 0x40c84e
push 1
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x40b2bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
jge 0x40b27a
push str.InitializeSecurityDescriptor__
push dword [ebp - 0xa8]
push 0x4dafb0
lea eax, [ebp - 0x43b]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x399]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x18c], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x18c]
call fcn.00405cc1
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x194], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x194]
call fcn.00405b2a
push eax
push 0x755
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x43b]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x399]
call fcn.004055b0
and dword [ebp - 0x25c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x25c]
jmp 0x40c84e
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorDacl]
test eax, eax
jne 0x40b3e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jge 0x40b3a0
push str.GetSecurityDescriptorDacl__
push dword [ebp - 0xd8]
push 0x4dafb0
lea eax, [ebp - 0x495]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x3ab]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x264]
call fcn.00405cc1
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x26c]
call fcn.00405b2a
push eax
push 0x75d
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x495]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3ab]
call fcn.004055b0
and dword [ebp - 0x1ac], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x1ac]
jmp 0x40c84e
and dword [ebp - 0x10c], 0
and dword [ebp - 0x104], 0
mov dword [ebp - 0x108], 8
cmp dword [ebp - 0x6c], 0
jne 0x40b407
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0
je 0x40b533
push 2
push 0xc
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
jne 0x40b533
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jge 0x40b4f1
push str.GetAclInformation__
push dword [ebp - 0xb0]
push 0x4dafb0
lea eax, [ebp - 0x44d]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x3bd]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x1b4]
call fcn.00405cc1
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x1bc], eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x1bc]
call fcn.00405b2a
push eax
push 0x76d
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x44d]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3bd]
call fcn.004055b0
and dword [ebp - 0x284], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x284]
jmp 0x40c84e
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov ecx, dword [ebp - 0x108]
lea eax, [ecx + eax + 8]
mov dword [ebp - 0xb8], eax
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x24]
call fcn.004065f0
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x40b66a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
jge 0x40b628
push str.HeapAlloc__
push dword [ebp - 0xf0]
push 0x4dafb0
lea eax, [ebp - 0x4d4]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x3cf]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x28c], eax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x28c]
call fcn.00405cc1
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x294]
call fcn.00405b2a
push eax
push 0x77c
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x4d4]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3cf]
call fcn.004055b0
and dword [ebp - 0x1d4], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x1d4]
jmp 0x40c84e
push 2
push dword [ebp - 0xb8]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
jne 0x40b786
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
jge 0x40b744
push str.InitializeAcl__
push dword [ebp - 0xe0]
push 0x4dafb0
lea eax, [ebp - 0x45f]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x3e1]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x1dc], eax
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x1dc]
call fcn.00405cc1
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x1e4]
call fcn.00405b2a
push eax
push 0x784
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x45f]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3e1]
call fcn.004055b0
and dword [ebp - 0x2ac], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x2ac]
jmp 0x40c84e
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x84], 0
je 0x40ba3d
cmp dword [ebp - 0x10c], 0
je 0x40ba3d
and dword [ebp - 0x44], 0
jmp 0x40b7b4
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x10c]
jae 0x40ba3d
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
jne 0x40b8de
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jge 0x40b89c
push str.GetAce__
push dword [ebp - 0xc0]
push 0x4dafb0
lea eax, [ebp - 0x4a7]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x3f3]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x2b4]
call fcn.00405cc1
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x2bc]
call fcn.00405b2a
push eax
push 0x79c
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x4a7]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3f3]
call fcn.004055b0
and dword [ebp - 0x1fc], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x1fc]
jmp 0x40c84e
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax + 1]
and eax, 0x10
je 0x40b8ef
jmp 0x40ba3d
mov eax, dword [ebp - 0x40]
add eax, 8
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x40b908
jmp 0x40b7ad
mov eax, dword [ebp - 0x40]
movzx eax, word [eax + 2]
push eax
push dword [ebp - 0x40]
push 0xffffffffffffffff
push 2
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_AddAce]
test eax, eax
jne 0x40ba2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
jge 0x40b9e9
push str.AddAce__
push dword [ebp - 0x100]
push 0x4dafb0
lea eax, [ebp - 0x471]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x405]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x2cc], eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x2cc]
call fcn.00405cc1
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x288]
call fcn.00405b2a
push eax
push 0x7b5
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x471]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x405]
call fcn.004055b0
and dword [ebp - 0x210], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x210]
jmp 0x40c84e
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
jmp 0x40b7ad
push dword [ebp - 0x4c]
push dword [ebp + 0x10]
push 2
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_AddAccessAllowedAce]
test eax, eax
jne 0x40bb59
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jge 0x40bb17
push str.AddAccessAllowedAce__
push dword [ebp - 0xc8]
push 0x4dafb0
lea eax, [ebp - 0x32d]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x336]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x218], eax
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x218]
call fcn.00405cc1
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x220]
call fcn.00405b2a
push eax
push 0x7c3
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x32d]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x336]
call fcn.004055b0
and dword [ebp - 0x2e8], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x2e8]
jmp 0x40c84e
mov byte [ebp - 0x55], 3
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x88]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
jne 0x40bc7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
jge 0x40bc39
push str.GetAce__
push dword [ebp - 0xe8]
push 0x4dafb0
lea eax, [ebp - 0x348]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x35a]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x298]
call fcn.00405cc1
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x2d0], eax
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x2d0]
call fcn.00405b2a
push eax
push 0x7cf
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x348]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x35a]
call fcn.004055b0
and dword [ebp - 0x238], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x238]
jmp 0x40c84e
mov eax, dword [ebp - 0x40]
mov cl, byte [ebp - 0x55]
mov byte [eax + 1], cl
cmp dword [ebp - 0x84], 0
je 0x40bef9
cmp dword [ebp - 0x10c], 0
je 0x40bef9
jmp 0x40bca7
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x10c]
jae 0x40bef9
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
jne 0x40bdd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
jge 0x40bd8f
push str.GetAce__
push dword [ebp - 0xd0]
push 0x4dafb0
lea eax, [ebp - 0x36c]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x37e]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x240], eax
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x240]
call fcn.00405cc1
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x248]
call fcn.00405b2a
push eax
push 0x7e2
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x36c]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x37e]
call fcn.004055b0
and dword [ebp - 0x2a8], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x2a8]
jmp 0x40c84e
mov eax, dword [ebp - 0x40]
movzx eax, word [eax + 2]
push eax
push dword [ebp - 0x40]
push 0xffffffffffffffff
push 2
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_AddAce]
test eax, eax
jne 0x40bef4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jge 0x40beb2
push str.AddAce__
push dword [ebp - 0x9c]
push 0x4dafb0
lea eax, [ebp - 0x390]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x3a2]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x2d8], eax
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x2d8]
call fcn.00405cc1
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x2b0]
call fcn.00405b2a
push eax
push 0x7ea
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x390]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3a2]
call fcn.004055b0
and dword [ebp - 0x260], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x260]
jmp 0x40c84e
jmp 0x40bca0
push 0
push dword [ebp - 0x5c]
push 1
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x40c018
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jge 0x40bfd6
push str.SetSecurityDescriptorDacl__
push dword [ebp - 0xa4]
push 0x4dafb0
lea eax, [ebp - 0x3b4]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x3c6]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x268]
call fcn.00405cc1
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x270]
call fcn.00405b2a
push eax
push 0x7f4
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x3b4]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c6]
call fcn.004055b0
and dword [ebp - 0x114], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x114]
jmp 0x40c84e
push str.SetSecurityDescriptorControl
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
je 0x40c2ea
xor eax, eax
mov word [ebp - 0x64], ax
xor eax, eax
mov word [ebp - 0x8c], ax
xor eax, eax
mov word [ebp - 0x54], ax
and dword [ebp - 0x118], 0
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorControl]
test eax, eax
jne 0x40c17d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jge 0x40c13b
push str.GetSecurityDescriptorControl__
push dword [ebp - 0xac]
push 0x4dafb0
lea eax, [ebp - 0x3d8]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x3ea]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x128]
call fcn.00405cc1
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 0x29
mov ecx, dword [ebp - 0x138]
call fcn.00405b2a
push eax
push 0x806
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x3d8]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3ea]
call fcn.004055b0
and dword [ebp - 0x140], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x140]
jmp 0x40c84e
movzx eax, word [ebp - 0x54]
and eax, 0x400
je 0x40c19e
mov eax, 0x500
mov word [ebp - 0x64], ax
mov ax, word [ebp - 0x64]
mov word [ebp - 0x8c], ax
jmp 0x40c1bd
movzx eax, word [ebp - 0x54]
and eax, 0x1000
je 0x40c1bd
mov eax, 0x1000
mov word [ebp - 0x64], ax
mov ax, word [ebp - 0x64]
mov word [ebp - 0x8c], ax
movzx eax, word [ebp - 0x64]
test eax, eax
je 0x40c2ea
push dword [ebp - 0x8c]
push dword [ebp - 0x64]
lea eax, [ebp - 0x320]
push eax
call dword [ebp - 0xb4]
test eax, eax
jne 0x40c2ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jge 0x40c2a8
push str._SetSecurityDescriptorControl__
push dword [ebp - 0xbc]
push 0x4dafb0
lea eax, [ebp - 0x3fc]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x40e]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 0x2a
mov ecx, dword [ebp - 0x150]
call fcn.00405cc1
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x160], eax
mov byte [ebp - 4], 0x2b
mov ecx, dword [ebp - 0x160]
call fcn.00405b2a
push eax
push 0x816
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x3fc]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40e]
call fcn.004055b0
and dword [ebp - 0x168], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x168]
jmp 0x40c84e
lea eax, [ebp - 0x320]
push eax
push dword [ebp - 0x78]
mov ecx, dword [ebp + 8]
call fcn.00405b2a
push eax
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
test eax, eax
jne 0x40c40e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jge 0x40c3cc
push str.SetFileSecurity__
push dword [ebp - 0xc4]
push 0x4dafb0
lea eax, [ebp - 0x420]
push eax
push dword [ebp + 8]
push str.FAAR_
lea eax, [ebp - 0x432]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 0x2c
mov ecx, dword [ebp - 0x178]
call fcn.00405cc1
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x188], eax
mov byte [ebp - 4], 0x2d
mov ecx, dword [ebp - 0x188]
call fcn.00405b2a
push eax
push 0x821
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x420]
call fcn.004055b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x432]
call fcn.004055b0
and dword [ebp - 0x190], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x190]
jmp 0x40c84e
cmp dword [ebp + 0x14], 0
je 0x40c80e
lea ecx, [ebp - 0x510]
call fcn.0042583a
mov byte [ebp - 4], 0x2e
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0x510]
call fcn.00425aba
push 0
push 0
lea ecx, [ebp - 0x510]
call fcn.004259cf
mov ecx, eax
call fcn.00408571
movsx eax, al
cmp eax, 0x5c
je 0x40c493
push 0x4dae74
lea ecx, [ebp - 0x301]
call fcn.004053d4
mov byte [ebp - 4], 0x2f
lea eax, [ebp - 0x301]
push eax
push 0
lea ecx, [ebp - 0x510]
call fcn.004259cf
mov ecx, eax
call fcn.00406100
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x301]
call fcn.004055b0
and dword [ebp - 0x48], 0
jmp 0x40c4a0
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x510]
call fcn.0047e16a
cmp dword [ebp - 0x48], eax
jge 0x40c7ff
lea eax, [ebp - 0x320]
push eax
push dword [ebp - 0x78]
push dword [ebp - 0x48]
lea ecx, [ebp - 0x510]
call fcn.004259cf
mov ecx, eax
call fcn.00405b2a
push eax
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
test eax, eax
jne 0x40c5af
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jge 0x40c5af
push str.SetFileSecurity__
push dword [ebp - 0xcc]
push 0x4dafb0
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x510]
call fcn.004259cf
push eax
push str.FAAR_
lea eax, [ebp - 0x456]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 4], 0x30
mov ecx, dword [ebp - 0x1a0]
call fcn.00405cc1
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 4], 0x31
mov ecx, dword [ebp - 0x1b0]
call fcn.00405b2a
push eax
push 0x82b
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x444]
call fcn.004055b0
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x456]
call fcn.004055b0
lea ecx, [ebp - 0x54c]
call fcn.0040238f
mov byte [ebp - 4], 0x32
push 0x4dad8c
lea ecx, [ebp - 0x30a]
call fcn.004053d4
mov byte [ebp - 4], 0x33
push dword [ebp - 0x48]
push 0
push 0
lea eax, [ebp - 0x54c]
push eax
lea eax, [ebp - 0x510]
push eax
lea eax, [ebp - 0x30a]
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x510]
call fcn.004259cf
push eax
call fcn.00410872
add esp, 0x1c
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x30a]
call fcn.004055b0
and dword [ebp - 0x74], 0
jmp 0x40c621
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x54c]
call fcn.0047e16a
cmp dword [ebp - 0x74], eax
jge 0x40c7eb
lea eax, [ebp - 0x320]
push eax
push dword [ebp - 0x78]
push dword [ebp - 0x74]
lea ecx, [ebp - 0x54c]
call fcn.0041d468
add eax, 0x3c
push eax
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x510]
call fcn.004259cf
mov ecx, eax
call fcn.00405cc1
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 4], 0x34
mov ecx, dword [ebp - 0x1c0]
call fcn.00405b2a
push eax
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
test eax, eax
jne 0x40c6a5
mov dword [ebp - 0xd4], 1
jmp 0x40c6ac
and dword [ebp - 0xd4], 0
mov al, byte [ebp - 0xd4]
mov byte [ebp - 0x5d], al
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x468]
call fcn.004055b0
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x40c7e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404f48
pop ecx
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jge 0x40c7e6
push str.SetFileSecurity__
push dword [ebp - 0xdc]
push 0x4dafb0
lea eax, [ebp - 0x47a]
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0x54c]
call fcn.0041d468
add eax, 0x3c
push eax
lea eax, [ebp - 0x48c]
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x510]
call fcn.004259cf
push eax
push str.FAAR_
lea eax, [ebp - 0x49e]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1d0], eax
mov byte [ebp - 4], 0x35
mov ecx, dword [ebp - 0x1d0]
call fcn.00405cc1
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1e0], eax
mov byte [ebp - 4], 0x36
mov ecx, dword [ebp - 0x1e0]
call fcn.00405cc1
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1f0], eax
mov byte [ebp - 4], 0x37
mov ecx, dword [ebp - 0x1f0]
call fcn.00405b2a
push eax
push 0x831
push str.D:projectsUTIL_srcgdir.cpp
call fcn.004048de
add esp, 0x14
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x47a]
call fcn.004055b0
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x48c]
call fcn.004055b0
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x49e]
call fcn.004055b0
jmp 0x40c61a
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x54c]
call fcn.004023ee
jmp 0x40c499
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x510]
call fcn.00425937
mov dword [ebp - 0x1f8], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004055b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004055b0
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret