Function at 0x45f140
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x850], ecx
mov eax, dword [ebp - 0x850]
mov dword [eax + 0x14], 0
mov dword [ebp - 0x85c], 1
xor ecx, ecx
mov word [ebp - 0x43c], cx
push 0x206
push 0
lea edx, [ebp - 0x43a]
push edx
call fcn.00485370
add esp, 0xc
xor eax, eax
mov word [ebp - 0x2c], ax
xor ecx, ecx
mov dword [ebp - 0x2a], ecx
mov dword [ebp - 0x26], ecx
mov dword [ebp - 0x22], ecx
mov dword [ebp - 0x1e], ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
mov dword [ebp - 0xe], ecx
mov dword [ebp - 0xa], ecx
mov word [ebp - 6], cx
push 0x4aae
push 0x56ad00
lea edx, [ebp - 0x2c]
push edx
call fcn.00434b60
add esp, 0xc
push 0x56ad08
lea eax, [ebp - 0x43c]
push eax
call fcn.0048dcd9
add esp, 8
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x43c]
push edx
call fcn.0048ee96
add esp, 8
lea eax, [ebp - 0x43c]
push eax
push 1
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ecx, dword [ebp - 0x850]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x850]
cmp dword [edx + 0xc], 0
jne 0x45f403
mov dword [ebp - 0x858], 0x1704
mov dword [ebp - 0x85c], 0
lea eax, [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x858]
push ecx
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edx, dword [ebp - 0x850]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x850]
cmp dword [eax + 0xc], 0
jne 0x45f403
xor ecx, ecx
mov word [ebp - 0x644], cx
push 0x206
push 0
lea edx, [ebp - 0x642]
push edx
call fcn.00485370
add esp, 0xc
xor eax, eax
mov word [ebp - 0x84c], ax
push 0x206
push 0
lea ecx, [ebp - 0x84a]
push ecx
call fcn.00485370
add esp, 0xc
xor edx, edx
mov word [ebp - 0x234], dx
push 0x206
push 0
lea eax, [ebp - 0x232]
push eax
call fcn.00485370
add esp, 0xc
lea ecx, [ebp - 0x644]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x2c]
push edx
push 0x56ad28
lea eax, [ebp - 0x644]
push eax
push 0x56ad38
lea ecx, [ebp - 0x84c]
push ecx
call fcn.00434b60
add esp, 0x14
push str.__FYunZip_ZIP__
lea edx, [ebp - 0x234]
push edx
call fcn.0048dcd9
add esp, 8
push str.TEMP__
lea eax, [ebp - 0x234]
push eax
call fcn.0048ee96
add esp, 8
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x234]
push edx
call fcn.0048ee96
add esp, 8
mov eax, dword [ebp - 0x850]
mov dword [eax + 0x14], 1
lea ecx, [ebp - 0x234]
push ecx
push 1
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edx, dword [ebp - 0x850]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x850]
cmp dword [eax + 0xc], 0
jne 0x45f403
lea ecx, [ebp - 0x234]
push ecx
push 1
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edx, dword [ebp - 0x850]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x850]
cmp dword [eax + 0xc], 0
jne 0x45f403
push 0
push 0x80
push 4
push 0
push 3
push 0x10000000
lea ecx, [ebp - 0x84c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x854], eax
cmp dword [ebp - 0x854], 0xffffffff
jne 0x45f3cc
xor eax, eax
jmp 0x45f497
lea edx, [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x858]
push eax
push 0
push 4
push 0
mov ecx, dword [ebp - 0x854]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edx, dword [ebp - 0x850]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x854]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x850]
cmp dword [ecx + 0xc], 0
jne 0x45f416
xor eax, eax
jmp 0x45f497
push 0
push 0
push 0
push 0xf001f
mov edx, dword [ebp - 0x850]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 0x850]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x850]
cmp dword [edx + 0x10], 0
je 0x45f478
mov eax, dword [ebp - 0x850]
mov ecx, dword [ebp - 0x850]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x28], edx
cmp dword [ebp - 0x85c], 0
jne 0x45f46f
mov eax, dword [ebp - 0x850]
mov ecx, dword [eax + 0x28]
call fcn.0045d5f0
mov eax, 1
jmp 0x45f497
mov ecx, dword [ebp - 0x850]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x850]
mov dword [eax + 0xc], 0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret