Function at 0x426880
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x426f6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x5c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x23c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.00462818
test al, al
jne 0x426909
xor ecx, ecx
mov edx, 0x2776
mov eax, dword [ebp - 4]
call sym.DnPatch.exe__Zipmstr_TZipMaster_ShowZipMessage_qqri17System_AnsiString
jmp 0x426f44
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4e], 0
jne 0x426f44
mov eax, dword [ebp - 4]
cmp byte [eax + 0x174], 0
je 0x426952
mov eax, dword [ebp - 4]
cmp byte [eax + 0x64], 0
jne 0x426952
mov eax, dword [ebp - 4]
cmp word [eax + 0x28a], 0
jne 0x426952
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x23c], edx
xor ecx, ecx
mov edx, 0x2906
mov eax, dword [ebp - 4]
call sym.DnPatch.exe__Zipmstr_TZipMaster_ShowZipMessage_qqri17System_AnsiString
mov eax, dword [ebp - 4]
mov byte [eax + 0x4e], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x4c], 0
mov eax, dword [sym.DnPatch.exe__Unzdll_UnzDllHandle]
cmp dword [eax], 0
jne 0x426978
mov byte [ebp - 0x15], 1
mov eax, dword [ebp - 4]
call sym.DnPatch.exe__Zipmstr_TZipMaster_Load_Unz_Dll_qqrv
jmp 0x42697c
mov byte [ebp - 0x15], 0
mov eax, dword [sym.DnPatch.exe__Unzdll_UnzDllHandle]
cmp dword [eax], 0
jne 0x426992
mov eax, dword [ebp - 4]
mov byte [eax + 0x4e], 0
jmp 0x426f44
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1a4], 0
je 0x426a17
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1e4], 0
jne 0x4269d0
lea eax, [ebp - 0x239]
push eax
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x239]
mov ecx, 0x201
call fcn.00474bd0
jmp 0x4269e4
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1e4]
mov eax, dword [ebp - 4]
call sym.DnPatch.exe__Zipmstr_TZipMaster_AppendSlash_qqr17System_AnsiString
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp - 4]
call sym.DnPatch.exe__Zipmstr_TZipMaster_ReadSpan_qqr17System_AnsiStringr17System_AnsiString
test eax, eax
je 0x426a25
mov eax, dword [ebp - 4]
mov byte [eax + 0x4e], 0
cmp byte [ebp - 0x15], 0
je 0x426f44
mov eax, dword [ebp - 4]
call sym.DnPatch.exe__Zipmstr_TZipMaster_Unload_Unz_Dll_qqrv
jmp 0x426f44
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x58]
call fcn.00474a00
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.004227fc
test al, al
je 0x426a3f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.00462f3c
mov eax, dword [ebp - 4]
call sym.DnPatch.exe__Zipmstr_TZipMaster_GetUnzVers_qqrv
mov dword [ebp - 0x10], eax
test byte [ebp - 8], 3
je 0x426a82
cmp dword [ebp - 0x10], 0xa0
jge 0x426a82
mov eax, dword [ebp - 4]
mov byte [eax + 0x4e], 0
cmp byte [ebp - 0x15], 0
je 0x426a6e
mov eax, dword [ebp - 4]
call sym.DnPatch.exe__Zipmstr_TZipMaster_Unload_Unz_Dll_qqrv
xor ecx, ecx
mov edx, 0x2907
mov eax, dword [ebp - 4]
call sym.DnPatch.exe__Zipmstr_TZipMaster_ShowZipMessage_qqri17System_AnsiString
jmp 0x426f44
xor eax, eax
push ebp
push 0x426ef0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x426de9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x10], 0x98
jge 0x426b9d
mov eax, 0x4050
call fcn.00461e84
mov edx, dword [ebp - 4]
mov dword [edx + 0x258], eax
lea edx, [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call sym.DnPatch.exe__Zipmstr_TZipMaster_SetUnZipSwitches_qqrr17System_AnsiStringi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x258]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x426b7d
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x240]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x240]
call fcn.00474c20
inc eax
call fcn.00463194
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 0x4c], eax
lea ecx, [ebp - 0x244]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x244]
call fcn.00474c20
inc eax
push eax
lea ecx, [ebp - 0x248]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + ecx*4 + 0x4c]
pop ecx
call fcn.00463044
inc dword [ebp - 0xc]
dec dword [ebp - 0x28]
jne 0x426af7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x48], 7
jmp 0x426d74
mov eax, 0x94
call fcn.00461e84
mov edx, dword [ebp - 4]
mov dword [edx + 0x258], eax
lea edx, [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call sym.DnPatch.exe__Zipmstr_TZipMaster_SetUnZipSwitches_qqrr17System_AnsiStringi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x258]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [eax]
call dword [edx + 0x14]
shl eax, 3
lea eax, [eax + eax*8]
call fcn.00461e84
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x426c96
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
shl eax, 3
lea eax, [eax + eax*8]
add dword [ebp - 0x20], eax
lea ecx, [ebp - 0x24c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x24c]
call fcn.00474c20
inc eax
call fcn.00463194
mov edx, dword [ebp - 0x20]
mov dword [edx], eax
lea ecx, [ebp - 0x250]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x250]
call fcn.00474c20
inc eax
push eax
lea ecx, [ebp - 0x254]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x254]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
pop ecx
call fcn.00463044
inc dword [ebp - 0xc]
dec dword [ebp - 0x28]
jne 0x426c05
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x40], eax
test byte [ebp - 8], 1
je 0x426d67
mov eax, dword [ebp - 4]
call sym.DnPatch.exe__Zipmstr_TZipMaster_GetCount_qqrv
dec eax
test eax, eax
jl 0x426d67
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0xc]
call fcn.004542d8
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x258]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x258]
call fcn.00474e18
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x2a]
call fcn.00474e18
mov edx, eax
pop eax
call fcn.00462138
test eax, eax
jne 0x426d5b
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x50], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x54], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x58], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x40], 1
jmp 0x426d67
inc dword [ebp - 0xc]
dec dword [ebp - 0x28]
jne 0x426ccd
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x90], 7
mov eax, dword [ebp - 8]
and eax, 1
not eax
test eax, eax
jne 0x426d95
test byte [ebp - 8], 1
je 0x426dae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x258]
cmp dword [eax + 0x50], 0
je 0x426dae
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x258]
push eax
mov eax, dword [sym.DnPatch.exe__Unzdll_UnzDllExec]
mov eax, dword [eax]
call eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], eax
test byte [ebp - 8], 1
je 0x426dcb
mov eax, dword [ebp - 4]
cmp dword [eax + 0x5c], 1
je 0x426dcb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
call fcn.00456f68
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1a4], 0
jle 0x426ddf
mov eax, dword [ebp - 0x1c]
call fcn.00462b08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x426e02
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426efa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x258]
mov eax, dword [eax + 0x44]
call fcn.004631e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x258]
mov eax, dword [eax + 0x18]
call fcn.004631e0
cmp dword [ebp - 0x10], 0x98
jge 0x426e88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x258]
mov eax, dword [eax + 0x40]
dec eax
cmp eax, 0
jl 0x426e78
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x258]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4 + 0x4c]
call fcn.004631e0
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x426e5a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x258]
call fcn.00472b18
jmp 0x426ee4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x258]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x40]
dec eax
cmp eax, 0
jl 0x426ecb
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
shl eax, 3
lea eax, [eax + eax*8]
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
call fcn.004631e0
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x426ea3
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x48]
call fcn.00472b18
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x258]
call fcn.00472b18
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x258], edx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426f71
lea eax, [ebp - 0x258]
mov edx, 7
call fcn.0047498c
lea eax, [ebp - 0x1c]
call fcn.00474968
ret