Function at 0x593980
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x70c0f0]
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.004e1330
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 0x4c33
push 0x6b5b80
lea edx, [ebp - 0x2c]
push edx
call fcn.0045c670
add esp, 0xc
push 0x6b5b60
lea eax, [ebp - 0x43c]
push eax
call fcn.004e67ab
add esp, 8
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x43c]
push edx
call fcn.004eb8ca
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 0x593c43
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 0x593c43
xor ecx, ecx
mov word [ebp - 0x644], cx
push 0x206
push 0
lea edx, [ebp - 0x642]
push edx
call fcn.004e1330
add esp, 0xc
xor eax, eax
mov word [ebp - 0x84c], ax
push 0x206
push 0
lea ecx, [ebp - 0x84a]
push ecx
call fcn.004e1330
add esp, 0xc
xor edx, edx
mov word [ebp - 0x234], dx
push 0x206
push 0
lea eax, [ebp - 0x232]
push eax
call fcn.004e1330
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 0x6b5b48
lea eax, [ebp - 0x644]
push eax
push str._s_s_s
lea ecx, [ebp - 0x84c]
push ecx
call fcn.0045c670
add esp, 0x14
push str.__WanNeng_zip__
lea edx, [ebp - 0x234]
push edx
call fcn.004e67ab
add esp, 8
push str.TEMP__
lea eax, [ebp - 0x234]
push eax
call fcn.004eb8ca
add esp, 8
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x234]
push edx
call fcn.004eb8ca
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 0x593c43
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 0x593c43
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 0x593c0c
xor eax, eax
jmp 0x593cd7
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 0x593c56
xor eax, eax
jmp 0x593cd7
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 0x593cb8
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 0x593caf
mov eax, dword [ebp - 0x850]
mov ecx, dword [eax + 0x28]
call fcn.0058f500
mov eax, 1
jmp 0x593cd7
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.00495c0c
mov esp, ebp
pop ebp
ret