Function at 0x48baf0
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 + 0x10f0]
mov ebx, dword [edi + 0x1540]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x48bb28
mov ecx, dword [edi + 0x10f0]
add ecx, 0x560
mov eax, dword [ecx]
call dword [eax + 8]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48bd38
mov ecx, dword [edi + 0x10f4]
mov esi, dword [edi + 0x1544]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x48bb5b
mov ecx, dword [edi + 0x10f4]
add ecx, 0x560
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, eax
cmp esi, 0xffffffff
je 0x48bd38
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 0x48c53d
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 0x48bd43
mov eax, dword [esi]
cmp dword [eax + 8], 0
je 0x48bbe0
sub esp, 0x18
mov ecx, esp
push 0x584594
call fcn.00402fa0
mov ecx, edi
call fcn.004a7eb0
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 0x48bcff
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.0048a1a0
lea ecx, [ebp - 0x58]
call fcn.00403070
cmp dword [ebp - 8], 0
je 0x48bcf7
lea eax, [ebp - 8]
push eax
push esi
call fcn.0047ade0
mov ecx, eax
call fcn.00474810
test al, al
je 0x48bd30
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.0048cf60
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 0x48bd30
push 0
mov ecx, edi
call fcn.004a0a40
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 0x48beab
mov eax, dword [esi]
cmp dword [eax + 8], 0
jne 0x48bbbf
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], 0x5845bc
mov dword [ebp - 0x68], 0x50
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
je 0x48bd38
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.0048a1a0
lea ecx, [ebp - 0x58]
call fcn.00403070
cmp dword [ebp - 8], 0
je 0x48be72
lea eax, [ebp - 8]
push eax
push esi
call fcn.0047ade0
mov ecx, eax
call fcn.00474810
test al, al
je 0x48bd30
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.0048cf60
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 0x48bd30
push 0
mov ecx, edi
call fcn.004a0a40
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 0x48bf4d
mov eax, dword [esi]
cmp dword [eax + 8], 0
jne 0x48bbbf
push 0x597624
lea ecx, [ebp - 0xa8]
call fcn.00402fa0
push 0x597624
lea ecx, [ebp - 0x38]
call fcn.00402fa0
push 0x597624
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 0x48c1b9
mov eax, dword [esi]
cmp dword [eax + 8], 0
jne 0x48bbbf
push 0x26c
call fcn.0053488c
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x48bfe6
mov dword [ebx + 8], 0x5827a0
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 0x48bfe8
xor ebx, ebx
mov dword [edi + 0x111c], 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 0x48c007
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 0x48c05e
call fcn.0048bac0
mov dword [edi + 0x111c], 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.0048bac0
mov dword [edi + 0x111c], 0
cmp esi, 0x22
ja 0x48c53d
shl esi, 3
lea ecx, [ebp - 0x20]
sub esi, dword [ebp + 8]
push dword [esi*4 + 0x5b6444]
call fcn.00402fa0
push 0x597624
lea ecx, [ebp - 0x90]
call fcn.00402fa0
push 0x597624
lea ecx, [ebp - 0x70]
call fcn.00402fa0
push dword [esi*4 + 0x5b6440]
lea ecx, [ebp - 0xc0]
call fcn.00402fa0
push dword [esi*4 + 0x5b6438]
lea ecx, [ebp - 0x38]
call fcn.00402fa0
push dword [esi*4 + 0x5b643c]
lea ecx, [ebp - 0x58]
call fcn.00402fa0
push dword [esi*4 + 0x5b6434]
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 + 0x5b6430]
lea eax, [ebp - 0x40]
push eax
call fcn.004972b0
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 0x48c1a6
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 4]
call fcn.0047ade0
mov ecx, eax
call fcn.00474810
test al, al
jne 0x48c19d
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.004a0a40
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 0x48c20b
mov eax, dword [esi]
push esi
mov dword [eax + 0x60], 1
call fcn.0047ade0
mov ecx, eax
call fcn.0047b910
push 0
mov ecx, edi
call fcn.004a0a40
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 0x48c25d
mov eax, dword [esi]
push esi
mov dword [eax + 0x60], 0
call fcn.0047ade0
mov ecx, eax
call fcn.0047b910
push 0
mov ecx, edi
call fcn.004a0a40
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 0x48c2af
mov eax, dword [esi]
push esi
mov dword [eax + 0x60], 2
call fcn.0047ade0
mov ecx, eax
call fcn.0047b910
push 0
mov ecx, edi
call fcn.004a0a40
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 0x48c301
mov eax, dword [esi]
push esi
mov dword [eax + 0x5c], 1
call fcn.0047ade0
mov ecx, eax
call fcn.0047b910
push 0
mov ecx, edi
call fcn.004a0a40
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 0x48c353
mov eax, dword [esi]
push esi
mov dword [eax + 0x5c], 0
call fcn.0047ade0
mov ecx, eax
call fcn.0047b910
push 0
mov ecx, edi
call fcn.004a0a40
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 0x48c39e
push 0
push esi
call fcn.0047ade0
mov ecx, eax
call fcn.0047acc0
push 0
mov ecx, edi
call fcn.004a0a40
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 0x48c40a
call fcn.0047aee0
cmp byte [eax + 0x35], 0
jne 0x48c3e7
sub esp, 0x18
mov ecx, esp
push 0x5845ec
call fcn.00402fa0
mov ecx, edi
call fcn.004a7eb0
push 1
push esi
call fcn.0047ade0
mov ecx, eax
call fcn.0047acc0
push 0
mov ecx, edi
call fcn.004a0a40
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 0x48c455
push 2
push esi
call fcn.0047ade0
mov ecx, eax
call fcn.0047acc0
push 0
mov ecx, edi
call fcn.004a0a40
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 0x48c49e
push esi
call fcn.0047ade0
mov ecx, eax
call fcn.00479870
push 0
mov ecx, edi
call fcn.004a0a40
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 0x48c53d
mov eax, dword [esi]
cmp dword [eax + 8], 0
je 0x48c4ef
sub esp, 0x18
mov ecx, esp
push 0x58464c
call fcn.00402fa0
mov ecx, edi
call fcn.004a7eb0
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 0x48c527
push 0x31
push 0x584254
push 0x58425c
mov ecx, edi
mov byte [edi + 0x1144], 1
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [edi + 0x1144], 0
cmp eax, 1
jne 0x48c53d
push esi
call fcn.0047ade0
mov ecx, eax
call fcn.004765d0
push 0
mov ecx, edi
call fcn.004a0a40
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4