Function at 0x592a00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x62b370]
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.004d7c10
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 0x4cab
push 0x604df0
lea edx, [ebp - 0x2c]
push edx
call fcn.00430670
add esp, 0xc
push 0x604dd0
lea eax, [ebp - 0x43c]
push eax
call fcn.004d95d7
add esp, 8
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x43c]
push edx
call fcn.004ddf30
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 0x592cc3
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 0x592cc3
xor ecx, ecx
mov word [ebp - 0x644], cx
push 0x206
push 0
lea edx, [ebp - 0x642]
push edx
call fcn.004d7c10
add esp, 0xc
xor eax, eax
mov word [ebp - 0x84c], ax
push 0x206
push 0
lea ecx, [ebp - 0x84a]
push ecx
call fcn.004d7c10
add esp, 0xc
xor edx, edx
mov word [ebp - 0x234], dx
push 0x206
push 0
lea eax, [ebp - 0x232]
push eax
call fcn.004d7c10
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 0x604e08
lea eax, [ebp - 0x644]
push eax
push str._s_s_s
lea ecx, [ebp - 0x84c]
push ecx
call fcn.00430670
add esp, 0x14
push str.__WanNeng_zip__
lea edx, [ebp - 0x234]
push edx
call fcn.004d95d7
add esp, 8
push str.TEMP__
lea eax, [ebp - 0x234]
push eax
call fcn.004ddf30
add esp, 8
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x234]
push edx
call fcn.004ddf30
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 0x592cc3
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 0x592cc3
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 0x592c8c
xor eax, eax
jmp 0x592d57
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 0x592cd6
xor eax, eax
jmp 0x592d57
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 0x592d38
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 0x592d2f
mov eax, dword [ebp - 0x850]
mov ecx, dword [eax + 0x28]
call fcn.0058eb00
mov eax, 1
jmp 0x592d57
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.00484636
mov esp, ebp
pop ebp
ret