Function at 0x48a740
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 + 0x1100]
mov ebx, dword [edi + 0x1544]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x48a778
mov ecx, dword [edi + 0x1100]
add ecx, 0x560
mov eax, dword [ecx]
call dword [eax + 8]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48a988
mov ecx, dword [edi + 0x1104]
mov esi, dword [edi + 0x1548]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x48a7ab
mov ecx, dword [edi + 0x1104]
add ecx, 0x560
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, eax
cmp esi, 0xffffffff
je 0x48a988
push ebx
call fcn.0047a670
mov ecx, eax
call fcn.00476d80
push esi
mov ecx, dword [eax]
add ecx, 0x68
call fcn.00473f20
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
je 0x48b16c
push str.add_file
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48a993
mov eax, dword [esi]
cmp dword [eax + 8], 0
je 0x48a830
sub esp, 0x18
mov ecx, esp
push 0x57fe6c
call fcn.00402fa0
mov ecx, edi
call fcn.004a4b20
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 0x48a94f
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.00488e10
lea ecx, [ebp - 0x58]
call fcn.00403070
cmp dword [ebp - 8], 0
je 0x48a947
lea eax, [ebp - 8]
push eax
push esi
call fcn.0047a670
mov ecx, eax
call fcn.00474270
test al, al
je 0x48a980
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x90]
push eax
mov ecx, esi
call fcn.00476760
push eax
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.0048bb90
push eax
call fcn.0047a610
mov ecx, eax
call fcn.0046dd70
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
lea ecx, [ebp - 0x90]
call fcn.00403070
test bl, bl
je 0x48a980
push 0
mov ecx, edi
call fcn.0049de60
lea ecx, [ebp - 8]
call fcn.00407100
lea eax, [ebp - 0x38]
push eax
call fcn.00450ba0
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.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48aafb
mov eax, dword [esi]
cmp dword [eax + 8], 0
jne 0x48a80f
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], 0x57fe94
mov dword [ebp - 0x68], 0x50
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
je 0x48a988
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.00488e10
lea ecx, [ebp - 0x58]
call fcn.00403070
cmp dword [ebp - 8], 0
je 0x48aac2
lea eax, [ebp - 8]
push eax
push esi
call fcn.0047a670
mov ecx, eax
call fcn.00474270
test al, al
je 0x48a980
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x90]
push eax
mov ecx, esi
call fcn.00476760
push eax
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.0048bb90
push eax
call fcn.0047a610
mov ecx, eax
call fcn.0046dd70
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
lea ecx, [ebp - 0x90]
call fcn.00403070
test bl, bl
je 0x48a980
push 0
mov ecx, edi
call fcn.0049de60
lea eax, [ebp - 0x38]
push eax
call fcn.00450ba0
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.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48ab9d
mov eax, dword [esi]
cmp dword [eax + 8], 0
jne 0x48a80f
push 0x592f34
lea ecx, [ebp - 0xa8]
call fcn.00402fa0
push 0x592f34
lea ecx, [ebp - 0x38]
call fcn.00402fa0
push 0x592f34
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.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48ae09
mov eax, dword [esi]
cmp dword [eax + 8], 0
jne 0x48a80f
push 0x26c
call fcn.005313dc
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x48ac36
mov dword [ebx + 8], 0x57e244
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.004389a0
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 0x48ac38
xor ebx, ebx
mov dword [edi + 0x1120], 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 0x48ac57
mov eax, dword [eax]
mov esi, dword [ebx]
lea ecx, [ebp - 0x30]
push ecx
push 0
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 0x48acae
call fcn.0048a710
mov dword [edi + 0x1120], 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.0048a710
mov dword [edi + 0x1120], 0
cmp esi, 0x22
ja 0x48b16c
shl esi, 3
lea ecx, [ebp - 0x20]
sub esi, dword [ebp + 8]
push dword [esi*4 + 0x5b2444]
call fcn.00402fa0
push 0x592f34
lea ecx, [ebp - 0x90]
call fcn.00402fa0
push 0x592f34
lea ecx, [ebp - 0x70]
call fcn.00402fa0
push dword [esi*4 + 0x5b2440]
lea ecx, [ebp - 0xc0]
call fcn.00402fa0
push dword [esi*4 + 0x5b2438]
lea ecx, [ebp - 0x38]
call fcn.00402fa0
push dword [esi*4 + 0x5b243c]
lea ecx, [ebp - 0x58]
call fcn.00402fa0
push dword [esi*4 + 0x5b2434]
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 + 0x5b2430]
lea eax, [ebp - 0x40]
push eax
call fcn.00494ce0
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 0x48adf6
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 4]
call fcn.0047a670
mov ecx, eax
call fcn.00474270
test al, al
jne 0x48aded
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.0049de60
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.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48ae5b
mov eax, dword [esi]
push esi
mov dword [eax + 0x60], 1
call fcn.0047a670
mov ecx, eax
call fcn.0047adb0
push 0
mov ecx, edi
call fcn.0049de60
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.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48aead
mov eax, dword [esi]
push esi
mov dword [eax + 0x60], 0
call fcn.0047a670
mov ecx, eax
call fcn.0047adb0
push 0
mov ecx, edi
call fcn.0049de60
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.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48aeff
mov eax, dword [esi]
push esi
mov dword [eax + 0x60], 2
call fcn.0047a670
mov ecx, eax
call fcn.0047adb0
push 0
mov ecx, edi
call fcn.0049de60
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.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48af51
mov eax, dword [esi]
push esi
mov dword [eax + 0x5c], 1
call fcn.0047a670
mov ecx, eax
call fcn.0047adb0
push 0
mov ecx, edi
call fcn.0049de60
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.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48afa3
mov eax, dword [esi]
push esi
mov dword [eax + 0x5c], 0
call fcn.0047a670
mov ecx, eax
call fcn.0047adb0
push 0
mov ecx, edi
call fcn.0049de60
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.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48afee
push 0
push esi
call fcn.0047a670
mov ecx, eax
call fcn.0047a550
push 0
mov ecx, edi
call fcn.0049de60
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.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48b039
push 1
push esi
call fcn.0047a670
mov ecx, eax
call fcn.0047a550
push 0
mov ecx, edi
call fcn.0049de60
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.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48b084
push 2
push esi
call fcn.0047a670
mov ecx, eax
call fcn.0047a550
push 0
mov ecx, edi
call fcn.0049de60
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.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48b0cd
push esi
call fcn.0047a670
mov ecx, eax
call fcn.00479140
push 0
mov ecx, edi
call fcn.0049de60
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.00429ec0
push eax
call fcn.00407200
add esp, 8
lea ecx, [ebp - 0x20]
mov bl, al
call fcn.00403070
test bl, bl
je 0x48b16c
mov eax, dword [esi]
cmp dword [eax + 8], 0
je 0x48b11e
sub esp, 0x18
mov ecx, esp
push 0x57ff54
call fcn.00402fa0
mov ecx, edi
call fcn.004a4b20
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00481830
cmp byte [eax + 0x30], 0
je 0x48b156
push 0x31
push 0x57fb2c
push 0x57fb34
mov ecx, edi
mov byte [edi + 0x1148], 1
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [edi + 0x1148], 0
cmp eax, 1
jne 0x48b16c
push esi
call fcn.0047a670
mov ecx, eax
call fcn.00476020
push 0
mov ecx, edi
call fcn.0049de60
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4