Function at 0x45d8f9
Capabilities:
Get common file path

Disassembly:
push 0x14c
mov eax, 0x4a0fd5
call fcn.00459b85
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 0x45d994
push ebx
lea eax, [ebp - 0xe1]
mov dword [esi], 0x4b6748
push eax
push 0x4b65d4
mov ecx, esi
mov dword [esi + 0x28], 0x4b6750
call fcn.0041070a
push 0x14
push ebx
jmp 0x45dc6d
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 0x45d96b
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 0x45d96b
push 0x40
lea eax, [ebp - 0x154]
push ebx
push eax
call fcn.004714b0
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 0x45d96b
push 0x14
call fcn.00459c53
mov edi, eax
pop ecx
test edi, edi
je 0x45dc43
push 0x14
push ebx
call fcn.004598ae
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 0x45dc4a
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 0x45dc51
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x114], 0xc
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x50], 0x4b6748
mov dword [ebp - 0x28], 0x4b6750
call fcn.004060a0
cmp dword [ebp + 0x20], 0
mov byte [ebp - 4], 6
jne 0x45db62
lea eax, [ebp - 0x50]
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0x108], eax
mov eax, 0x104
cmp dword [ebp - 0x3c], eax
jae 0x45db31
push ebx
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041496d
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
mov byte [ebp - 0x104], 1
call fcn.004140be
push dword [eax]
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 6
call fcn.0041132b
jmp 0x45db6e
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00407b80
lea eax, [ebp - 0xe0]
push eax
call fcn.0045d7cf
push eax
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 8
push 0x4b0098
push eax
call fcn.00415510
push 0x4a8ba8
push eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 9
push eax
call fcn.0041b88d
add esp, 0x1c
add eax, 4
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x4c]
call fcn.00415247
lea ecx, [ebp - 0x80]
call fcn.00404cc0
lea ecx, [ebp - 0xb0]
call fcn.00404cc0
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 6
call fcn.00404cc0
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], 0x4b6748
mov dword [ecx + 0x28], 0x4b6750
call fcn.00410617
call fcn.0045c289
add esp, 0x34
test eax, eax
jne 0x45dc38
push ebx
lea eax, [ebp - 0xe1]
mov dword [esi], 0x4b6748
push eax
push 0x4b65d4
mov ecx, esi
mov dword [esi + 0x28], 0x4b6750
call fcn.0041070a
lea ecx, [ebp - 0x50]
call fcn.00404cc0
jmp 0x45dc6a
push esi
lea ecx, [ebp - 0x50]
call fcn.00414217
jmp 0x45dc2e
mov dword [ebp - 0xf8], edi
push ebx
lea eax, [ebp - 0xe1]
push eax
push 0x4b65d4
mov ecx, esi
mov dword [esi], 0x4b6748
mov dword [esi + 0x28], 0x4b6750
call fcn.0041070a
push 0x14
push edi
call fcn.004598ae
cmp dword [ebp - 0xe8], 0
pop ecx
pop ecx
je 0x45dc94
mov eax, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp eax, ebx
je 0x45dc94
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 0x45dcb5
cmp edi, ebx
je 0x45dcb5
push dword [ebp - 0xec]
call edi
mov dword [ebp - 0xec], ebx
cmp dword [ebp - 0xf0], 0
je 0x45dcd0
cmp edi, ebx
je 0x45dcd0
push dword [ebp - 0xf0]
call edi
mov dword [ebp - 0xf0], ebx
cmp dword [ebp - 0xf4], 0
je 0x45dceb
cmp edi, ebx
je 0x45dceb
push dword [ebp - 0xf4]
call edi
mov dword [ebp - 0xf4], ebx
lea ecx, [ebp + 0xc]
call fcn.00404cc0
mov eax, esi
call fcn.00459b34
ret