Function at 0x457ddd
Capabilities:
Get common file path

Disassembly:
push 0x14c
mov eax, 0x470fe1
call fcn.00443402
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xf0], 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]
push eax
mov byte [ebp - 4], 4
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 0x457e6a
push 1
lea eax, [ebp - 0xe1]
push eax
push 0x484fc8
mov ecx, esi
call fcn.0040cbc2
push ebx
jmp 0x4580ed
lea eax, [ebp - 0xec]
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 0x457e4f
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 edi
test eax, eax
je 0x457e4f
push 0x40
lea eax, [ebp - 0x144]
push ebx
push eax
call fcn.004423c0
mov eax, dword [ebp - 0xe8]
add esp, 0xc
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0xec]
push 3
pop ecx
push 2
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x11c], ecx
pop ecx
lea eax, [ebp - 0xf0]
push eax
push ebx
lea eax, [ebp - 0x144]
xor edx, edx
inc edx
push eax
push ecx
mov dword [ebp - 0x144], 0x1200a9
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], 5
mov dword [ebp - 0x124], 0x1f01ff
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ecx
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x457e4f
push 0x14
call fcn.0044203b
mov edi, eax
pop ecx
test edi, edi
je 0x457f70
push ebx
call fcn.0044212c
pop ecx
mov dword [ebp - 0xf8], edi
push 1
test edi, edi
je 0x457e51
push edi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x457fa5
lea eax, [ebp - 0xe1]
push 1
push eax
push 0x484fc8
mov ecx, esi
call fcn.0040cbc2
jmp 0x4580ec
push ebx
push dword [ebp - 0xf0]
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
lea eax, [ebp - 0xe1]
je 0x457f91
push ebx
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x104], 0xc
mov dword [ebp - 0x100], edi
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0x50], 0x47d68c
mov dword [ebp - 0x28], 0x484b70
call fcn.00402580
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.0040fedb
mov ecx, dword [eax]
mov byte [ebp - 4], 6
mov byte [eax + 4], 1
call fcn.0040fe80
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 5
call fcn.0040cf55
lea eax, [ebp - 0xb0]
push eax
call fcn.00457cb3
push eax
lea eax, [ebp - 0xe0]
push 0x484774
push eax
mov byte [ebp - 4], 7
call fcn.00411320
push 0x478ab0
push eax
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 8
call fcn.00417779
add esp, 0x1c
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 9
call fcn.00410b97
lea ecx, [ebp - 0x80]
call fcn.00401580
lea ecx, [ebp - 0xe0]
call fcn.00401580
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 5
call fcn.00401580
lea eax, [ebp - 0x104]
push eax
sub esp, 0x30
mov ecx, esp
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ecx], 0x47d68c
mov dword [ecx + 0x28], 0x484b70
call fcn.0040c865
call fcn.004560d3
add esp, 0x34
test eax, eax
jne 0x4580db
push 1
lea eax, [ebp - 0xe1]
push eax
push 0x484fc8
mov ecx, esi
call fcn.0040cbc2
jmp 0x4580e4
push esi
lea ecx, [ebp - 0x50]
call fcn.00410077
lea ecx, [ebp - 0x50]
call fcn.00401580
push edi
call fcn.0044212c
pop ecx
lea ecx, [ebp - 0xf0]
call fcn.0045609f
lea ecx, [ebp - 0xe8]
call fcn.004560b9
lea ecx, [ebp - 0xec]
call fcn.004560b9
lea ecx, [ebp - 0xf4]
call fcn.004560b9
mov eax, esi
call fcn.004433b1
ret