Function at 0x447a96
Capabilities:
Get common file path

Disassembly:
push 0x14c
mov eax, 0x47c7b0
call fcn.00444285
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xf8], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xf8], ebx
mov edi, 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]
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x1c], 0x100
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x14], 0x500
call edi
test eax, eax
jne 0x447b31
push ebx
lea eax, [ebp - 0xe1]
mov dword [esi], 0x48e948
push eax
push 0x48e7d0
mov ecx, esi
mov dword [esi + 0x28], 0x48e950
call fcn.004105ca
push 0x14
push ebx
jmp 0x447e48
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 edi
test eax, eax
je 0x447b08
lea eax, [ebp - 0xec]
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 edi
test eax, eax
je 0x447b08
push 0x40
lea eax, [ebp - 0x154]
push ebx
push eax
call fcn.004523f0
mov eax, dword [ebp - 0xec]
add esp, 0xc
mov dword [ebp - 0x138], eax
xor edx, edx
mov eax, dword [ebp - 0xf0]
inc edx
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0xe8]
push 3
pop ecx
push 2
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x12c], ecx
pop ecx
push eax
push ebx
lea eax, [ebp - 0x154]
mov dword [ebp - 0x154], 0x1200a9
push eax
push ecx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x13c], 5
mov dword [ebp - 0x134], 0x1f01ff
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x11c], ecx
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x447b08
push 0x14
call fcn.00444353
mov edi, eax
pop ecx
test edi, edi
je 0x447e1e
push 0x14
push ebx
call fcn.00443fae
pop ecx
pop ecx
push 1
push edi
mov dword [ebp - 0xf8], edi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push ebx
test eax, eax
je 0x447e25
push dword [ebp - 0xe8]
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
lea eax, [ebp - 0xe1]
push ebx
push eax
je 0x447e2c
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x114], 0xc
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x50], 0x48e948
mov dword [ebp - 0x28], 0x48e950
call fcn.00406120
cmp dword [ebp + 0x20], 0
mov byte [ebp - 4], 6
jne 0x447cff
lea eax, [ebp - 0x50]
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0x108], eax
mov eax, 0x104
cmp dword [ebp - 0x3c], eax
jae 0x447cce
push ebx
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041482d
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
mov byte [ebp - 0x104], 1
call fcn.00413f7e
push dword [eax]
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 6
call fcn.004111ed
jmp 0x447d0b
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00407b10
lea eax, [ebp - 0x80]
push eax
call fcn.0044796c
pop ecx
cmp byte [ebp + 0x3c], 0
mov byte [ebp - 4], 8
je 0x447d53
push 8
push ebx
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x80]
call fcn.0041485b
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x7c]
call fcn.00407b10
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 8
call fcn.00404d40
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xe0]
push 0x488428
push eax
call fcn.0041546e
push 0x482d98
push eax
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 0xa
push eax
call fcn.0041bb1d
add esp, 0x18
add eax, 4
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x4c]
call fcn.00415107
lea ecx, [ebp - 0xb0]
call fcn.00404d40
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 8
call fcn.00404d40
lea eax, [ebp - 0x114]
push eax
sub esp, 0x30
lea eax, [ebp - 0x50]
mov ecx, esp
mov dword [ebp - 0xfc], ecx
push ebx
push eax
mov dword [ecx], 0x48e948
mov dword [ecx + 0x28], 0x48e950
call fcn.004104d7
call fcn.00446311
add esp, 0x34
test eax, eax
jne 0x447e13
push ebx
lea eax, [ebp - 0xe1]
mov dword [esi], 0x48e948
push eax
push 0x48e7d0
mov ecx, esi
mov dword [esi + 0x28], 0x48e950
call fcn.004105ca
lea ecx, [ebp - 0x80]
call fcn.00404d40
lea ecx, [ebp - 0x50]
call fcn.00404d40
jmp 0x447e45
push esi
lea ecx, [ebp - 0x50]
call fcn.004140d7
jmp 0x447e01
mov dword [ebp - 0xf8], edi
push ebx
lea eax, [ebp - 0xe1]
push eax
push 0x48e7d0
mov ecx, esi
mov dword [esi], 0x48e948
mov dword [esi + 0x28], 0x48e950
call fcn.004105ca
push 0x14
push edi
call fcn.00443fae
cmp dword [ebp - 0xe8], 0
pop ecx
pop ecx
je 0x447e6f
mov eax, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp eax, ebx
je 0x447e6f
push dword [ebp - 0xe8]
call eax
mov dword [ebp - 0xe8], ebx
cmp dword [ebp - 0xec], 0
mov edi, dword [sym.imp.ADVAPI32.dll_FreeSid]
je 0x447e90
cmp edi, ebx
je 0x447e90
push dword [ebp - 0xec]
call edi
mov dword [ebp - 0xec], ebx
cmp dword [ebp - 0xf0], 0
je 0x447eab
cmp edi, ebx
je 0x447eab
push dword [ebp - 0xf0]
call edi
mov dword [ebp - 0xf0], ebx
cmp dword [ebp - 0xf4], 0
je 0x447ec6
cmp edi, ebx
je 0x447ec6
push dword [ebp - 0xf4]
call edi
mov dword [ebp - 0xf4], ebx
lea ecx, [ebp + 0xc]
call fcn.00404d40
mov eax, esi
call fcn.00444234
ret