Function at 0x48b860
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x10ec]
mov ebx, dword [edi + 0x1530]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x48b898
mov ecx, dword [edi + 0x10ec]
add ecx, 0x560
mov eax, dword [ecx]
call dword [eax + 8]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48baa8
mov ecx, dword [edi + 0x10f0]
mov esi, dword [edi + 0x1534]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x48b8cb
mov ecx, dword [edi + 0x10f0]
add ecx, 0x560
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, eax
cmp esi, 0xffffffff
je 0x48baa8
push ebx
call fcn.0047ade0
mov ecx, eax
call fcn.004773d0
push esi
mov ecx, dword [eax]
add ecx, 0x6c
call fcn.004744c0
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
je 0x48c2ad
push str.add_file
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.00429e40
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48bab3
mov eax, dword [esi]
cmp dword [eax + 8], 0
je 0x48b950
sub esp, 0x18
mov ecx, esp
push 0x5834cc
call fcn.00402fa0
mov ecx, edi
call fcn.004a78f0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x208
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x58
lea eax, [ebp - 0x118]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
mov ecx, edi
call fcn.004237c0
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x320]
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x58
mov dword [ebp - 0x10c], str._b_tg
mov dword [ebp - 0x100], 1
mov dword [ebp - 0xf8], 0x104
mov dword [ebp - 0xe4], 0x181800
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0x48ba6f
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x58]
call fcn.00402fa0
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
lea eax, [ebp - 8]
push eax
call fcn.00489f10
lea ecx, [ebp - 0x58]
call fcn.00403070
cmp dword [ebp - 8], 0
je 0x48ba67
lea eax, [ebp - 8]
push eax
push esi
call fcn.0047ade0
mov ecx, eax
call fcn.00474810
test al, al
je 0x48baa0
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x90]
push eax
mov ecx, esi
call fcn.00476db0
push eax
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.0048ccd0
push eax
call fcn.0047ad80
mov ecx, eax
call fcn.0046e270
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
lea ecx, [ebp - 0x90]
call fcn.00403070
test bl, bl
je 0x48baa0
push 0
mov ecx, edi
call fcn.004a0750
lea ecx, [ebp - 8]
call fcn.00407100
lea eax, [ebp - 0x38]
push eax
call fcn.004535f0
add esp, 4
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x38]
call fcn.00403070
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 8]
call fcn.00407100
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push str.add_dir
push eax
call fcn.00429e40
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48bc1b
mov eax, dword [esi]
cmp dword [eax + 8], 0
jne 0x48b92f
push 0x104
xorps xmm0, xmm0
lea eax, [ebp - 0x320]
push 0
push eax
movups xmmword [ebp - 0x78], xmm0
movups xmmword [ebp - 0x68], xmm0
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, edi
call fcn.004237c0
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x320]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x6c], 0x5834f4
mov dword [ebp - 0x68], 0x50
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
je 0x48baa8
lea ecx, [ebp - 0x320]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x58]
call fcn.00402fa0
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
lea eax, [ebp - 8]
push eax
call fcn.00489f10
lea ecx, [ebp - 0x58]
call fcn.00403070
cmp dword [ebp - 8], 0
je 0x48bbe2
lea eax, [ebp - 8]
push eax
push esi
call fcn.0047ade0
mov ecx, eax
call fcn.00474810
test al, al
je 0x48baa0
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x90]
push eax
mov ecx, esi
call fcn.00476db0
push eax
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.0048ccd0
push eax
call fcn.0047ad80
mov ecx, eax
call fcn.0046e270
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
lea ecx, [ebp - 0x90]
call fcn.00403070
test bl, bl
je 0x48baa0
push 0
mov ecx, edi
call fcn.004a0750
lea eax, [ebp - 0x38]
push eax
call fcn.004535f0
add esp, 4
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x38]
call fcn.00403070
lea ecx, [ebp - 8]
call fcn.00407100
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push str.add_url
push eax
call fcn.00429e40
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48bcbd
mov eax, dword [esi]
cmp dword [eax + 8], 0
jne 0x48b92f
push 0x5965b4
lea ecx, [ebp - 0xa8]
call fcn.00402fa0
push 0x5965b4
lea ecx, [ebp - 0x38]
call fcn.00402fa0
push 0x5965b4
lea ecx, [ebp - 0x58]
call fcn.00402fa0
mov eax, dword [edi + 0x258]
lea edx, [ebp - 0xa8]
push edx
lea ecx, [edi + 0x258]
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x58]
push edx
call dword [eax + 0x24]
lea ecx, [ebp - 0x58]
call fcn.00403070
lea ecx, [ebp - 0x38]
call fcn.00403070
lea ecx, [ebp - 0xa8]
call fcn.00403070
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push str.add_sys
push eax
call fcn.00429e40
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48bf29
mov eax, dword [esi]
cmp dword [eax + 8], 0
jne 0x48b92f
push 0x26c
call fcn.0053428c
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x48bd56
mov dword [ebx + 8], 0x581760
mov ecx, ebx
mov dword [ebx + method.nbase::SupportWeakCallback.virtual_0], vtable.nbase::SupportWeakCallback.0
push 0
mov dword [ebx + 0x264], 0
mov dword [ebx + 0x268], 0
call fcn.004388b0
mov eax, dword [ebx + 8]
mov dword [ebx], vtable.CSysWnd.0
mov dword [ebx + method.CHideWnd.virtual_60], vtable.CSysWnd.1.0
mov eax, dword [eax + 4]
mov dword [eax + ebx + 8], vtable.CSysWnd.2.0
jmp 0x48bd58
xor ebx, ebx
mov dword [edi + 0x110c], ebx
lea ecx, [ebp - 0x20]
mov eax, dword [ebx]
xorps xmm0, xmm0
push ecx
mov ecx, ebx
movups xmmword [ebp - 0x30], xmm0
call dword [eax]
cmp dword [eax + 0x14], 8
jb 0x48bd77
mov eax, dword [eax]
mov esi, dword [ebx]
lea ecx, [ebp - 0x30]
push ecx
push 1
push 0x80
push 0x80000000
push eax
mov ecx, edi
call fcn.004237c0
push eax
mov ecx, ebx
call dword [esi + 0xc]
lea ecx, [ebp - 0x20]
call fcn.00403070
mov ecx, ebx
call fcn.00423f80
mov ecx, ebx
call fcn.00423e60
mov ecx, ebx
cmp eax, 1
je 0x48bdce
call fcn.0048b830
mov dword [edi + 0x110c], 0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebx + 0x258]
mov dword [ebp + 8], esi
call fcn.0048b830
mov dword [edi + 0x110c], 0
cmp esi, 0x22
ja 0x48c2ad
shl esi, 3
lea ecx, [ebp - 0x20]
sub esi, dword [ebp + 8]
push dword [esi*4 + 0x5b5444]
call fcn.00402fa0
push 0x5965b4
lea ecx, [ebp - 0x90]
call fcn.00402fa0
push 0x5965b4
lea ecx, [ebp - 0x70]
call fcn.00402fa0
push dword [esi*4 + 0x5b5440]
lea ecx, [ebp - 0xc0]
call fcn.00402fa0
push dword [esi*4 + 0x5b5438]
lea ecx, [ebp - 0x38]
call fcn.00402fa0
push dword [esi*4 + 0x5b543c]
lea ecx, [ebp - 0x58]
call fcn.00402fa0
push dword [esi*4 + 0x5b5434]
lea ecx, [ebp - 0xa8]
call fcn.00402fa0
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
lea eax, [ebp - 0x90]
push eax
push 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa8]
push eax
push dword [esi*4 + 0x5b5430]
lea eax, [ebp - 0x40]
push eax
call fcn.00497020
lea ecx, [ebp - 0xa8]
call fcn.00403070
lea ecx, [ebp - 0x58]
call fcn.00403070
lea ecx, [ebp - 0x38]
call fcn.00403070
lea ecx, [ebp - 0xc0]
call fcn.00403070
lea ecx, [ebp - 0x70]
call fcn.00403070
lea ecx, [ebp - 0x90]
call fcn.00403070
lea ecx, [ebp - 0x20]
call fcn.00403070
cmp dword [ebp - 0x40], 0
je 0x48bf16
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 4]
call fcn.0047ade0
mov ecx, eax
call fcn.00474810
test al, al
jne 0x48bf0d
lea ecx, [ebp - 0x40]
call fcn.00407100
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
mov ecx, edi
call fcn.004a0750
lea ecx, [ebp - 0x40]
call fcn.00407100
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push str.small_icon
push eax
call fcn.00429e40
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48bf7b
mov eax, dword [esi]
push esi
mov dword [eax + 0x60], 1
call fcn.0047ade0
mov ecx, eax
call fcn.0047b6d0
push 0
mov ecx, edi
call fcn.004a0750
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push str.big_icon
push eax
call fcn.00429e40
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48bfcd
mov eax, dword [esi]
push esi
mov dword [eax + 0x60], 0
call fcn.0047ade0
mov ecx, eax
call fcn.0047b6d0
push 0
mov ecx, edi
call fcn.004a0750
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push str.large_icon
push eax
call fcn.00429e40
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48c01f
mov eax, dword [esi]
push esi
mov dword [eax + 0x60], 2
call fcn.0047ade0
mov ecx, eax
call fcn.0047b6d0
push 0
mov ecx, edi
call fcn.004a0750
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push str.view_list
push eax
call fcn.00429e40
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48c071
mov eax, dword [esi]
push esi
mov dword [eax + 0x5c], 1
call fcn.0047ade0
mov ecx, eax
call fcn.0047b6d0
push 0
mov ecx, edi
call fcn.004a0750
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push str.view_tile
push eax
call fcn.00429e40
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48c0c3
mov eax, dword [esi]
push esi
mov dword [eax + 0x5c], 0
call fcn.0047ade0
mov ecx, eax
call fcn.0047b6d0
push 0
mov ecx, edi
call fcn.004a0750
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push str.sort_normal
push eax
call fcn.00429e40
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48c10e
push 0
push esi
call fcn.0047ade0
mov ecx, eax
call fcn.0047acc0
push 0
mov ecx, edi
call fcn.004a0750
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push str.sort_runcount
push eax
call fcn.00429e40
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48c17a
call fcn.0047aee0
cmp byte [eax + 0x35], 0
jne 0x48c157
sub esp, 0x18
mov ecx, esp
push 0x583558
call fcn.00402fa0
mov ecx, edi
call fcn.004a78f0
push 1
push esi
call fcn.0047ade0
mov ecx, eax
call fcn.0047acc0
push 0
mov ecx, edi
call fcn.004a0750
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push str.sort_initial
push eax
call fcn.00429e40
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48c1c5
push 2
push esi
call fcn.0047ade0
mov ecx, eax
call fcn.0047acc0
push 0
mov ecx, edi
call fcn.004a0750
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push str.refresh_group_icon
push eax
call fcn.00429e40
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48c20e
push esi
call fcn.0047ade0
mov ecx, eax
call fcn.00479870
push 0
mov ecx, edi
call fcn.004a0750
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push str.clear_group
push eax
call fcn.00429e40
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48c2ad
mov eax, dword [esi]
cmp dword [eax + 8], 0
je 0x48c25f
sub esp, 0x18
mov ecx, esp
push 0x5835d4
call fcn.00402fa0
mov ecx, edi
call fcn.004a78f0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0047aee0
cmp byte [eax + 0x34], 0
je 0x48c297
push 0x31
push 0x58318c
push 0x583194
mov ecx, edi
mov byte [edi + 0x1134], 1
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [edi + 0x1134], 0
cmp eax, 1
jne 0x48c2ad
push esi
call fcn.0047ade0
mov ecx, eax
call fcn.004765d0
push 0
mov ecx, edi
call fcn.004a0750
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4