Function at 0x45c9f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d46fa
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5080f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push eax
push 0x104
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.00411a90
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0x104
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ecx, eax
test ecx, ecx
je 0x45cd61
cmp ecx, 0x104
ja 0x45cd61
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
ja 0x45caa3
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
cmovae eax, dword [ebp - 0x2c]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x45cab0
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00411a90
mov dword [ebp - 0x90], 0
xor eax, eax
mov byte [ebp - 4], 2
mov word [ebp - 0x90], ax
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x80], 0
add eax, 2
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x94], 1
setb cl
neg ecx
or ecx, eax
push ecx
lea ecx, [ebp - 0x90]
call fcn.0040edc0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x90]
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0040b710
sub esp, 8
lea ecx, [ebp - 0x68]
mov eax, esp
mov dword [eax], str.Temp
mov dword [eax + 4], 4
call fcn.0040b710
lea ecx, [ebp - 0x2c]
call fcn.004127e0
movups xmm0, xmmword [ebp - 0x90]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x80]
movq qword [ebp - 0x1c], xmm0
xor eax, eax
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
call fcn.004127e0
mov dword [ebp - 0x44], 0
push 4
xor eax, eax
mov dword [ebp - 0x34], 0
push str.asw_
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 1
call fcn.004123e0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push eax
call fcn.0043ada0
add esp, 4
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xac]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x88], xmm0
call fcn.00411c90
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x45cbe7
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040b4c0
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 7
call fcn.004127e0
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0xac]
call fcn.0040b7a0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x45cc50
mov ecx, eax
call fcn.004127e0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1c], xmm0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 7
nop dword [eax]
lea ecx, [ebp - 0xac]
call fcn.004127e0
push 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x60], 0xc
push eax
push 1
push str.D:P_A_CIOI_GA___SY__A_CIOI_GA___BA__A_CIOI_GRGX___BU_
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x45cdce
movq xmm0, qword [ebp - 0x60]
mov eax, dword [ebp - 0x58]
mov byte [ebp - 0x54], 0
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x60]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.00436030
test al, al
je 0x45ce3b
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x84]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
call fcn.00412370
mov edx, str.SFX_temp_folder__s_created.
lea ecx, [ebp - 0x78]
movq xmm0, qword [eax]
movq qword [ebp - 0x78], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x6c], 0x46414341
mov dword [ebp - 0x68], 0x31424330
mov dword [ebp - 0x64], 0x3c
call fcn.0045a980
lea ecx, [edi + 8]
add esp, 4
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x45cd22
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.004123e0
cmp byte [ebp - 0x54], 0
jne 0x45cd36
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.0045db30
lea ecx, [ebp - 0x44]
call fcn.004127e0
lea ecx, [ebp - 0x2c]
call fcn.004127e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00484d55
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x84]
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x46414341
push eax
mov dword [ebp - 0x68], 0x31424330
mov dword [ebp - 0x64], 0x23
call fcn.00412370
push eax
lea ecx, [ebp - 0xac]
call fcn.004123a0
lea eax, [ebp - 0x14]
push eax
call fcn.0045d810
add esp, 4
push str.Get_window_directory_fail
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0043e0b0
push 0x5057bc
lea eax, [ebp - 0x8c]
push eax
call fcn.004a0209
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x84]
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x46414341
push eax
mov dword [ebp - 0x68], 0x31424330
mov dword [ebp - 0x64], 0x32
call fcn.00412370
push eax
lea ecx, [ebp - 0xac]
call fcn.004123a0
lea eax, [ebp - 0x14]
push eax
call fcn.0045d8d0
add esp, 4
push str.Create_tmp_directory_security_descriptor_fail
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0043e0b0
push 0x5057bc
lea eax, [ebp - 0x8c]
push eax
call fcn.004a0209
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
call fcn.00412590
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x84]
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x46414341
push eax
mov dword [ebp - 0x68], 0x31424330
mov dword [ebp - 0x64], 0x38
call fcn.00412370
push eax
lea ecx, [ebp - 0xac]
call fcn.004123a0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0045a8c0
add esp, 8
push str.Create_directory_fail
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0043e0b0
push 0x5057bc
lea eax, [ebp - 0x8c]
push eax
call fcn.004a0209
int3