Function at 0x466550
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x50a901
mov eax, dword fs:[0]
push eax
sub esp, 0x4fc
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x4f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x510]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x520]
mov eax, dword [ebp + 0xdc]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 3
push 0xffffffffffffffff
lea esi, [ebp + 0xdc]
push 0x100c
push eax
call ebx
mov ecx, eax
mov eax, dword [esp + 0x524]
movzx edi, ax
mov edx, edi
cmp edx, 0x579
jg 0x466c09
je 0x466b8d
sub edx, 0x472
cmp edx, 0xa3
ja case.0x4665e9.1144
movzx edx, byte [edx + 0x466ed8]
jmp dword [edx*4 + 0x466eac]
push 0
push 1
push ebp
call fcn.00468380
jmp 0x466e80
push 2
push 1
push ebp
call fcn.00468380
jmp 0x466e80
add ebp, 0xd8
push ebp
call fcn.004c4140
jmp 0x466e80
push ebp
call fcn.0046a420
jmp 0x466e80
push 1
push 0
push ebp
call fcn.00468380
jmp 0x466e80
mov eax, dword [esi]
push 0
push ecx
push 0x1076
push eax
call ebx
jmp 0x466e80
mov eax, dword [ebp + 0x4c98]
xor edi, edi
cmp eax, edi
jne 0x4668fb
mov ecx, dword [ebp + 0x51d4]
cmp dword [ecx - 0xc], edi
jne 0x466696
lea edx, [esp + 0x50]
push 0x194
push edx
call fcn.00433510
mov eax, dword [eax]
mov ecx, dword [ebp + 4]
push 0x40
push eax
push ecx
xor eax, eax
call fcn.00488c60
add esp, 0x14
lea ecx, [esp + 0x50]
call fcn.004016f0
jmp 0x466e80
lea esi, [esp + 0x1c]
call fcn.004048a0
xor esi, esi
mov dword [esp + 0x518], edi
mov dword [esp + 0x14], esi
lea ebx, [ebp + 0x4ec0]
jmp 0x4666b8
mov esi, dword [esp + 0x14]
push 0x195
test esi, esi
jne 0x4666e5
lea edx, [esp + 0x50]
push edx
call fcn.00433510
add esp, 8
lea edi, [esp + 0x1c]
mov byte [esp + 0x518], 1
call fcn.00404930
lea ecx, [esp + 0x4c]
jmp 0x466710
lea eax, [esp + 0x30]
push eax
call fcn.00433510
mov byte [esp + 0x520], 2
mov ecx, dword [eax]
push esi
push ecx
push str._s___d_
lea edi, [esp + 0x30]
call fcn.00404890
add esp, 0x14
lea ecx, [esp + 0x2c]
mov byte [esp + 0x518], 0
call fcn.004016f0
lea eax, [ebp + 0x51d4]
mov edi, ebx
call fcn.00404930
mov edx, dword [esp + 0x1c]
push edx
mov ecx, 0x104
mov esi, ebx
call fcn.00401520
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
or eax, 0xffffffff
call fcn.0041eac0
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x466770
call fcn.004013b0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0x3e8
mov dword [esp + 0x14], eax
jl 0x4666b4
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x4667b1
lea eax, [esp + 0x44]
push 0x194
push eax
call fcn.00433510
mov ecx, dword [eax]
mov edx, dword [ebp + 4]
push 0x40
push ecx
push edx
xor eax, eax
call fcn.00488c60
add esp, 0x14
lea ecx, [esp + 0x44]
call fcn.004016f0
lea ecx, [esp + 0x1c]
call fcn.004016f0
jmp 0x466e80
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x4667a3
lea esi, [esp + 0x14]
call fcn.004048a0
mov byte [esp + 0x518], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x46683c
call fcn.004177c0
test eax, eax
je 0x46683c
lea eax, [esp + 0x20]
push 0x108
push eax
call fcn.00433510
mov esi, eax
lea ecx, [esp + 0x3c]
push 0x109
push ecx
mov byte [esp + 0x528], 4
call fcn.00433510
mov byte [esp + 0x528], 5
mov edx, dword [esi]
mov ecx, dword [ebx]
push edx
mov edx, dword [eax]
push ecx
push edx
push str._s___s__n_n_s
lea edi, [esp + 0x34]
call fcn.00404890
add esp, 0x20
lea ecx, [esp + 0x34]
call fcn.004016f0
lea ecx, [esp + 0x20]
jmp 0x46686e
lea eax, [esp + 0x3c]
push 0x109
push eax
call fcn.00433510
mov byte [esp + 0x520], 6
mov ecx, dword [ebx]
mov edx, dword [eax]
push ecx
push edx
push str._s___s_
lea edi, [esp + 0x28]
call fcn.00404890
add esp, 0x14
lea ecx, [esp + 0x3c]
mov byte [esp + 0x518], 3
call fcn.004016f0
lea esi, [esp + 0x30]
call fcn.00401140
mov esi, eax
lea eax, [esp + 0x28]
push 0x106
push eax
mov byte [esp + 0x520], 7
call fcn.00433510
push esi
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x52c], 8
call fcn.0041d700
mov edx, dword [esp + 0x28]
mov ecx, dword [ebp + 4]
mov eax, dword [eax]
add esp, 0x14
push 0x40
push edx
push ecx
call fcn.00488c60
add esp, 0xc
lea ecx, [esp + 0x24]
call fcn.004016f0
lea ecx, [esp + 0x28]
call fcn.004016f0
lea ecx, [esp + 0x30]
call fcn.004016f0
lea ecx, [esp + 0x14]
call fcn.004016f0
lea ecx, [esp + 0x1c]
call fcn.004016f0
jmp 0x466e80
cmp eax, 1
jne 0x466e80
lea edx, [esp + 0x48]
push 0x186
push edx
mov dword [esp + 0x20], edi
call fcn.00433510
mov edi, eax
lea esi, [esp + 0x48]
mov dword [esp + 0x520], 9
call fcn.00401140
push edi
push eax
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x52c], 0xa
call fcn.0041d700
add esp, 0x14
lea edi, [esp + 0x18]
mov eax, ebp
mov byte [esp + 0x518], 0xb
call fcn.0046f3b0
test eax, eax
lea ecx, [esp + 0x38]
sete bl
call fcn.004016f0
mov ecx, esi
call fcn.004016f0
lea ecx, [esp + 0x48]
mov dword [esp + 0x518], 0xffffffff
call fcn.004016f0
test bl, bl
jne 0x466e80
lea ecx, [esp + 0x54]
push ecx
call fcn.004447a0
mov dword [esp + 0x54], vtable.C360zipDialogT_class_CNewFolderDlgImpl__0__1__0_.0
lea ebx, [ebp + 0x51e0]
push ebx
push ecx
mov dword [esp + 0x520], 0xc
lea eax, [ebp + 0x51e4]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.0041eca0
lea esi, [esp + 0x5c]
call fcn.0044def0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
mov edi, esi
call fcn.004455d0
cmp eax, 1
jne 0x466ae0
lea esi, [ebp + 0x5314]
call fcn.0044d3b0
lea edx, [esp + 0xb8]
push edx
lea edi, [ebp + 0x531c]
mov dword [ebp + 0x5318], 1
mov dword [esi], 1
call int.0041ca50
lea edi, [ebp + 0x5334]
mov eax, ebx
call fcn.00404930
cmp dword [ebp + 0x53dc], 0xffffffff
jne 0x466ab4
cmp dword [ebp + 0x51e4], 0
je 0x466ab4
lea esi, [esp + 0x14]
call fcn.004048a0
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x51c], 0xd
mov eax, dword [ebp + 0x51e4]
push 0xffff
mov edx, esi
mov dword [esp + 0x24], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xb0]
call eax
test eax, eax
je 0x466aa3
cmp dword [esp + 0x1c], 0
je 0x466aa3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call fcn.00427ad0
mov edi, eax
call fcn.00427b40
sub eax, 0xd698
neg eax
sbb eax, eax
and eax, 0x2751
add eax, 0xd698
mov dword [ebp + 0x53dc], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x518], 0xc
call fcn.004016f0
cmp dword [esp + 0x18], 0
mov ecx, dword [ebp + 0x53dc]
mov dword [ebp + 0x5358], ecx
lea eax, [ebp + 0x5314]
je 0x466ad7
push eax
mov ecx, ebp
call fcn.0045ef20
jmp 0x466ae0
push 1
push eax
push ebp
call fcn.0045e970
lea esi, [esp + 0x54]
mov dword [esp + 0x518], 0xffffffff
call fcn.00445290
jmp 0x466e80
mov eax, dword [ebp + 0x4c98]
cmp eax, 1
jne 0x466b21
mov ebp, dword [ebp + 0x51e4]
mov edx, dword [ebp]
mov eax, dword [edx + 0x6c]
push ebp
call eax
push eax
call fcn.0047f690
add esp, 4
jmp 0x466e80
test eax, eax
jne 0x466e80
cmp ecx, 0xffffffff
jne 0x466b3e
mov ecx, dword [ebp + 0x4f1c]
call fcn.0047f590
jmp 0x466e80
push ecx
push esi
call fcn.00480a30
test eax, eax
je 0x466e80
cmp word [eax], 0
jne 0x466e80
mov eax, dword [eax + 0x10]
test eax, eax
je 0x466e80
push eax
xor esi, esi
xor edi, edi
call fcn.0047f520
add esp, 4
jmp 0x466e80
push ebp
call fcn.0046b590
jmp 0x466e80
push 0
mov ecx, ebp
call fcn.0046a9f0
jmp 0x466e80
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov dword [esp + 0x518], 0xe
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x466bd5
mov ecx, 0x104
lea eax, [esp + 0x18]
call fcn.004014d0
mov esi, dword [esp + 0x18]
call fcn.00445420
mov eax, dword [eax + 4]
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x466bff
cmp eax, dword [esi - 8]
jle 0x466e47
push 0x80070057
call fcn.00401540
sub edx, 0x57a
je 0x466dd3
sub edx, 1
je 0x466d5e
sub edx, 0x7a95
je 0x466c85
add eax, 0xfffffa6a
cmp ax, 0x18
ja 0x466e80
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
add edi, 0xfffffaab
push edi
push str._c:_
lea edi, [esp + 0x1c]
mov dword [esp + 0x520], 0x14
call fcn.00404890
mov ecx, dword [esp + 0x1c]
add esp, 8
push ebp
call fcn.0046bbe0
mov ecx, edi
call fcn.004016f0
jmp 0x466e80
lea ecx, [ebp + 0x4c9c]
mov eax, 2
lea esi, [esp + 0x18]
call fcn.0041b5e0
mov ebx, 0x12
mov dword [esp + 0x518], ebx
call fcn.00492130
mov eax, dword [eax + 0x128]
xor ecx, ecx
test eax, eax
sete cl
push ecx
call fcn.00492130
mov ecx, eax
call fcn.00494830
call fcn.00492130
mov eax, dword [eax + 0x128]
mov edx, dword [esp + 0x18]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x8010
push edx
call dword [sym.imp.USER32.dll_CheckMenuItem]
call fcn.00492130
cmp dword [eax + 0x128], 0
je 0x466e80
lea esi, [esp + 0x54]
call fcn.00450440
mov dword [esp + 0xb4], 0
mov dword [esp + 0x54], vtable.C360zipDialogT_class_CCoolMenuDlgImpl__0__1__0_.0
push str.Global73486847_09F4_420C_938D_2EC57D99C562_CoolMenu_1.0
push 0
push 0x1f0001
mov byte [esp + 0x524], 0x13
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x466d3a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea edi, [esp + 0x58]
call fcn.00474a70
mov eax, edi
push eax
mov byte [esp + 0x51c], bl
call fcn.00466490
jmp 0x466e80
mov edx, dword [ebp + 4]
push 0x510130
lea eax, [esp + 0xc8]
call fcn.004492a0
mov dword [esp + 0x518], 0x10
call dword [sym.imp.USER32.dll_GetActiveWindow]
lea esi, [esp + 0xc4]
call fcn.00448010
cmp eax, 1
jne 0x466dc0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2fa]
call fcn.00401640
mov byte [esp + 0x518], 0x11
mov ecx, dword [esp + 0x18]
push ebp
call fcn.0046bbe0
lea ecx, [esp + 0x18]
call fcn.004016f0
mov edx, dword [esp + 0x500]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x466e80
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov dword [esp + 0x518], 0xf
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x466e1a
mov ecx, 0x104
lea eax, [esp + 0x18]
call fcn.004014d0
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 4]
push 1
push 5
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004e4d4d
add esp, 8
test eax, eax
jl 0x466bff
cmp eax, dword [esi - 8]
jg 0x466bff
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
jle 0x466e5d
push ebp
mov ecx, esi
call fcn.0046bbe0
add esi, 0xfffffff0
or eax, 0xffffffff
lea edx, [esi + 0xc]
mov dword [esp + 0x518], eax
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x466e80
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
xor eax, eax
mov ecx, dword [esp + 0x510]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4f8]
xor ecx, esp
call fcn.004e3edb
add esp, 0x508
ret 8