Function at 0x690530a0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x44c
mov dword [ebp - 0x420], edx
test byte [0x6907605c], 8
jne 0x69053304
cmp word [esi], 0
je 0x690530df
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
sub esp, 4
mov esi, eax
test eax, eax
je 0x690532c0
movzx eax, word [ebx + 0x18]
mov edx, dword [ebx + 0xc]
lea ecx, [eax - 1]
mov eax, dword [ebx + 0x10]
lea ebx, [ebp - 0x1a]
movzx ecx, cx
call fcn.69052720
mov edx, eax
lea eax, [ebp - 0x418]
nop
movzx ecx, word [edx]
test cx, cx
je 0x69053116
add eax, 2
add edx, 2
mov word [eax - 2], cx
cmp eax, ebx
jne 0x69053100
xor edx, edx
mov word [eax], dx
mov dword [esp + 4], 0x7f02
mov dword [esp], 0
call dword [sym.imp.user32.dll_LoadCursorA]
sub esp, 8
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SetCursor]
mov dword [ebp - 0x42c], eax
call eax
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x420]
sub esp, 4
mov dword [esp + 4], 0x460
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [ebp - 0x428], eax
call eax
sub esp, 8
mov ebx, eax
test eax, eax
je 0x69053230
test byte [0x6907605c], 8
jne 0x69053338
mov eax, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
lea edi, [ebp - 0x418]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x184
mov dword [esp], ebx
mov dword [ebp - 0x41c], eax
call eax
sub esp, 0x10
lea esi, [esi]
mov dword [esp + 4], 0x3b
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcschr]
mov esi, eax
test eax, eax
je 0x690531e3
xor eax, eax
mov word [esi], ax
jmp 0x690531e3
add edi, 2
cmp word [edi], 0x20
je 0x690531e0
test byte [0x6907605c], 8
jne 0x690532d0
mov dword [esp + 0xc], edi
mov eax, dword [ebp - 0x41c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x18d
mov dword [esp], ebx
call eax
sub esp, 0x10
test esi, esi
je 0x69053230
mov ecx, 0x3b
lea edi, [esi + 2]
mov word [esi], cx
jmp 0x690531b8
xor eax, eax
mov edx, 0x2a
jmp 0x69053247
movzx edx, word [eax + 0x69079540]
mov word [ebp + eax - 0x418], dx
add eax, 2
test dx, dx
jne 0x69053240
mov ebx, dword [ebp - 0x420]
mov eax, dword [ebp - 0x428]
mov esi, 1
mov dword [esp + 4], 0x461
mov dword [esp], ebx
call eax
sub esp, 8
test eax, eax
je 0x690532ac
lea eax, [ebp - 0x418]
mov dword [esp + 0x10], 0x8010
mov dword [esp + 0xc], 0x440
mov dword [esp + 8], 0x461
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.user32.dll_DlgDirListW]
sub esp, 0x14
mov esi, eax
mov eax, dword [ebp - 0x424]
mov dword [esp], eax
mov eax, dword [ebp - 0x42c]
call eax
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, edi
call fcn.69052940
mov dword [esp + 0xc], str.Using_file_spec__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x69079934
mov dword [esp + 4], 0x6907605c
mov dword [esp], 3
call fcn.69052bd0
jmp 0x690531f6
mov eax, ecx
call fcn.69052940
mov dword [esp + 0xc], str.Trying_to_change_to__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x69079934
mov dword [esp + 4], 0x6907605c
mov dword [esp], 3
call fcn.69052bd0
jmp 0x690530c3
lea eax, [ebp - 0x418]
call fcn.69052940
mov dword [esp + 0xc], str.Using_filter__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x69079934
mov dword [esp + 4], 0x6907605c
mov dword [esp], 3
call fcn.69052bd0
jmp 0x69053184