Function at 0x6377f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
mov eax, dword [0x7030b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x850], ecx
mov eax, dword [ebp - 0x850]
mov dword [eax + 0x18], 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.004a08c0
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 0x9eac
push 0x6dff94
lea edx, [ebp - 0x2c]
push edx
call fcn.00420b30
add esp, 0xc
push 0x6dff54
lea eax, [ebp - 0x43c]
push eax
call fcn.004a53e9
add esp, 8
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x43c]
push edx
call fcn.004a6224
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 + 0x10], eax
mov edx, dword [ebp - 0x850]
cmp dword [edx + 0x10], 0
jne 0x637ab3
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 + 0x10], eax
mov eax, dword [ebp - 0x850]
cmp dword [eax + 0x10], 0
jne 0x637ab3
xor ecx, ecx
mov word [ebp - 0x644], cx
push 0x206
push 0
lea edx, [ebp - 0x642]
push edx
call fcn.004a08c0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x84c], ax
push 0x206
push 0
lea ecx, [ebp - 0x84a]
push ecx
call fcn.004a08c0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x234], dx
push 0x206
push 0
lea eax, [ebp - 0x232]
push eax
call fcn.004a08c0
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 0x6dff74
lea eax, [ebp - 0x644]
push eax
push str._s_s_s
lea ecx, [ebp - 0x84c]
push ecx
call fcn.00420b30
add esp, 0x14
push str.__GOODZIP_ZIP__
lea edx, [ebp - 0x234]
push edx
call fcn.004a53e9
add esp, 8
push str.TEMP__
lea eax, [ebp - 0x234]
push eax
call fcn.004a6224
add esp, 8
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x234]
push edx
call fcn.004a6224
add esp, 8
mov eax, dword [ebp - 0x850]
mov dword [eax + 0x18], 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 + 0x10], eax
mov eax, dword [ebp - 0x850]
cmp dword [eax + 0x10], 0
jne 0x637ab3
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 + 0x10], eax
mov eax, dword [ebp - 0x850]
cmp dword [eax + 0x10], 0
jne 0x637ab3
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 0x637a7c
xor eax, eax
jmp 0x637b47
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 + 0x10], eax
mov eax, dword [ebp - 0x854]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x850]
cmp dword [ecx + 0x10], 0
jne 0x637ac6
xor eax, eax
jmp 0x637b47
push 0
push 0
push 0
push 0xf001f
mov edx, dword [ebp - 0x850]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 0x850]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x850]
cmp dword [edx + 0x14], 0
je 0x637b28
mov eax, dword [ebp - 0x850]
mov ecx, dword [ebp - 0x850]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x2c], edx
cmp dword [ebp - 0x85c], 0
jne 0x637b1f
mov eax, dword [ebp - 0x850]
mov ecx, dword [eax + 0x2c]
call fcn.00633ae0
mov eax, 1
jmp 0x637b47
mov ecx, dword [ebp - 0x850]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x850]
mov dword [eax + 0x10], 0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004421e5
mov esp, ebp
pop ebp
ret