Function at 0x4447c5
Capabilities:
Get common file path

Disassembly:
push 0x14c
mov eax, 0x4a5e38
call fcn.0045a4e9
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xec], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
lea eax, [ebp - 0xf4]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x1c], 0x100
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x14], 0x500
call esi
test eax, eax
jne 0x44484b
push 1
lea eax, [ebp - 0xe1]
push eax
push 0x4c0d0c
mov ecx, edi
call fcn.004091b8
jmp 0x444ae2
lea eax, [ebp - 0xf0]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
push eax
call esi
test eax, eax
je 0x444831
lea eax, [ebp - 0xe8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x221
push 0x20
push 2
lea eax, [ebp - 0x18]
push eax
call esi
test eax, eax
je 0x444831
push 0x40
lea eax, [ebp - 0x140]
push ebx
push eax
call fcn.00458f10
mov eax, dword [ebp - 0xe8]
add esp, 0xc
xor ecx, ecx
push 3
pop edx
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0xf0]
push 2
inc ecx
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x11c], ecx
pop ecx
lea eax, [ebp - 0xec]
push eax
push ebx
lea eax, [ebp - 0x140]
push eax
push ecx
mov dword [ebp - 0x140], 0x1200a9
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], 5
mov dword [ebp - 0x120], 0x1f01ff
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x108], ecx
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x444831
push 0x14
call fcn.00458527
mov esi, eax
pop ecx
mov dword [ebp - 0x14c], esi
mov byte [ebp - 4], 4
push 1
test esi, esi
jne 0x44496f
lea eax, [ebp - 0xe1]
push eax
push 0x4c0d0c
mov ecx, edi
call fcn.004091b8
push ebx
jmp 0x444adc
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x444994
lea eax, [ebp - 0xe1]
push 1
push eax
push 0x4c0d0c
mov ecx, edi
call fcn.004091b8
jmp 0x444adb
push ebx
push dword [ebp - 0xec]
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
lea eax, [ebp - 0xe1]
je 0x444980
push ebx
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x100], 0xc
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0x50], 0x4c0f30
mov dword [ebp - 0x28], 0x4c0ed0
call fcn.00404200
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.0040a14b
mov ecx, dword [eax]
mov byte [ebp - 4], 6
mov byte [eax + 4], 1
call fcn.0040a0f0
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 5
call fcn.00409574
lea eax, [ebp - 0xb0]
push eax
call fcn.0044469b
push eax
lea eax, [ebp - 0xe0]
push 0x4b419c
push eax
mov byte [ebp - 4], 7
call fcn.0040b2a8
push 0x4b410c
push eax
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 8
call fcn.0040b22b
add esp, 0x1c
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 9
call fcn.0040b99a
lea ecx, [ebp - 0x80]
call fcn.00401b80
lea ecx, [ebp - 0xe0]
call fcn.00401b80
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 5
call fcn.00401b80
lea eax, [ebp - 0x100]
push eax
sub esp, 0x30
mov ecx, esp
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ecx], 0x4c0f30
mov dword [ecx + 0x28], 0x4c0ed0
call fcn.00408e82
call fcn.00441a0b
add esp, 0x34
test eax, eax
jne 0x444aca
push 1
lea eax, [ebp - 0xe1]
push eax
push 0x4c0d0c
mov ecx, edi
call fcn.004091b8
jmp 0x444ad3
push edi
lea ecx, [ebp - 0x50]
call fcn.0040a1af
lea ecx, [ebp - 0x50]
call fcn.00401b80
push esi
call fcn.00458d46
pop ecx
lea ecx, [ebp - 0xec]
call fcn.00440c03
lea ecx, [ebp - 0xe8]
call fcn.00440c1d
lea ecx, [ebp - 0xf0]
call fcn.00440c1d
lea ecx, [ebp - 0xf4]
call fcn.00440c1d
mov eax, edi
call fcn.0045a498
ret