Function at 0x4493e3
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x4c8
push ebx
push esi
push edi
mov dword [ebp + 0x40], ecx
push 0x20a
lea ecx, [ebp + 0x4c]
call fcn.0042465d
push dword [ebp + 0x4c]
push 0x208
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
push dword [ebp + 0x40]
lea ecx, [ebp + 0x30]
call fcn.00425dc3
lea ecx, [ebp + 0x74]
call fcn.00429ef2
mov esi, 0x4758e0
push esi
lea ecx, [ebp + 0x54]
call fcn.0042a183
push esi
lea ecx, [ebp + 0x44]
call fcn.0042a183
push esi
lea ecx, [ebp + 0x50]
call fcn.0042a183
push esi
lea ecx, [ebp + 0x5c]
call fcn.0042a183
push 4
push dword [ebp + 0x74]
xor ebx, ebx
push str.raw
mov dword [ebp + 0x60], ebx
mov byte [ebp + 0x67], bl
mov byte [ebp + 0x65], bl
mov byte [ebp + 0x66], bl
call fcn.00425759
add esp, 0xc
test al, al
je 0x44947f
add dword [ebp + 0x74], 8
lea ecx, [ebp + 0x74]
mov byte [ebp + 0x66], 1
call fcn.00429ef2
xor esi, esi
inc esi
push esi
push 0x2c
pop edi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x30]
call fcn.00443613
push ebx
lea ecx, [ebp + 0x54]
push ecx
push eax
call fcn.0042df66
mov ecx, dword [ebp + 0x40]
add esp, 0xc
push ebx
lea eax, [ebp + 0x54]
push eax
call fcn.00402996
mov eax, dword [ebp + 0x54]
cmp word [eax], bx
je 0x44999a
mov eax, dword [ebp + 0x74]
cmp word [eax], di
jne 0x4494c6
add dword [ebp + 0x74], 2
lea ecx, [ebp + 0x74]
call fcn.00429ef2
mov ecx, dword [ebp + 0x74]
jmp 0x4494ee
cmp ax, 0x26
jne 0x4494df
mov byte [ebp + 0x67], 1
jmp 0x4494e9
cmp ax, 0x2a
jne 0x4494f6
mov byte [ebp + 0x65], 1
inc ecx
inc ecx
mov dword [ebp + 0x74], ecx
mov ax, word [ecx]
cmp ax, bx
jne 0x4494d3
lea ecx, [ebp + 0x74]
call fcn.00429ef2
push esi
mov eax, ecx
push edi
push eax
lea ecx, [ebp + 0x30]
call fcn.00443613
push ebx
lea ecx, [ebp + 0x44]
push ecx
push eax
call fcn.0042df66
push dword [ebp + 0x44]
call fcn.00412d51
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x74]
add esp, 0x10
cmp word [eax], di
jne 0x44959c
add dword [ebp + 0x74], 2
push esi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x30]
call fcn.00443613
push ebx
lea ecx, [ebp + 0x50]
push ecx
push eax
call fcn.0042df66
mov eax, dword [ebp + 0x74]
add esp, 0xc
cmp word [eax], di
jne 0x44959c
add dword [ebp + 0x74], 2
push esi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x30]
call fcn.00443613
push ebx
lea ecx, [ebp + 0x5c]
push ecx
push eax
call fcn.0042df66
mov eax, dword [ebp + 0x74]
add esp, 0xc
cmp word [eax], di
jne 0x44959c
add dword [ebp + 0x74], 2
push edi
lea eax, [ebp + 0x60]
push eax
push esi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x30]
call fcn.00443613
push eax
call fcn.0042e1ad
add esp, 0xc
push dword [ebp + 0x68]
lea ecx, [ebp + 0x58]
xor esi, esi
call fcn.0042a183
mov eax, dword [ebp + 0x68]
cmp word [eax], bx
je 0x4495b4
mov esi, dword [ebp + 0x58]
lea ecx, [ebp + 0x74]
call fcn.0042460b
push dword [ebp + 0x78]
call fcn.00426edf
cmp byte [ebp + 0x65], bl
mov edx, eax
pop ecx
mov dword [ebp + 0x2c], edx
jne 0x4498cf
push 0xffffffffffffffff
push 0x47be88
lea ecx, [ebp + 0x78]
mov dword [ebp + 0x68], ebx
call fcn.00424642
mov eax, dword [ebp + 0x5c]
xor ecx, ecx
mov cx, word [eax]
cmp cx, bx
mov dword [ebp + 0x3c], ecx
je 0x44967b
push 0x7c
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
push dword [ebp + 0x5c]
lea ecx, [ebp + 0x78]
je 0x44963b
call fcn.0042a1b7
push 0x47be84
lea ecx, [ebp + 0x78]
call fcn.004246c0
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x68], eax
jmp 0x449634
cmp word [eax], 0x7c
jne 0x449632
mov word [eax], bx
inc eax
inc eax
cmp word [eax], bx
jne 0x449629
jmp 0x44967b
call fcn.004246c0
push dword [ebp + 0x78]
call fcn.0046176a
mov esi, eax
pop ecx
lea eax, [esi + esi + 6]
push eax
lea ecx, [ebp + 0x78]
call fcn.00424699
lea eax, [esi + 1]
push eax
mov eax, dword [ebp + 0x78]
push eax
lea eax, [eax + esi*2 + 2]
push eax
call fcn.0040391f
mov eax, dword [ebp + 0x78]
mov word [eax + esi*4 + 4], bx
mov eax, dword [ebp + 0x78]
add esp, 0xc
mov dword [ebp + 0x68], eax
push dword [ebp + 0x58]
call fcn.0046176a
lea edi, [eax + eax]
mov esi, edi
cmp esi, 0x3f7a0
pop ecx
mov dword [ebp + 0x48], eax
jg 0x449699
mov esi, 0x3f7a2
lea eax, [esi + 8]
push eax
lea ecx, [ebp + 0x58]
call fcn.00424699
mov eax, esi
sub eax, dword [ebp + 0x48]
lea eax, [eax + eax + 0x10]
push eax
mov eax, dword [ebp + 0x58]
add edi, eax
push ebx
push edi
call fcn.00461780
xor eax, eax
add esp, 0xc
push 0x14
mov dword [ebp - 0x2c], 0x58
pop ecx
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x50]
mov cx, word [eax]
neg cx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp], ebx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0x60]
mov dword [ebp + 4], ecx
test eax, 0x40000
mov dword [ebp + 8], eax
jne 0x449714
or byte [ebp + 0xa], 0x20
call fcn.00425891
cmp byte [ebp + 0x67], bl
lea eax, [ebp - 0x2c]
push eax
je 0x44972a
call dword [0x48afa0]
jmp 0x449730
call dword [0x48af9c]
cmp eax, 1
jne 0x4498c5
test byte [ebp + 9], 2
je 0x44975a
test byte [ebp + 0xa], 8
mov esi, dword [ebp - 0x10]
je 0x4497b3
push esi
mov edi, esi
call fcn.0046176a
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
pop ecx
jne 0x44976a
push dword [ebp - 0x10]
lea ecx, [ebp + 0x74]
call fcn.0042a1b7
jmp 0x449861
mov eax, dword [ebp + 0x74]
cmp word [eax], bx
je 0x44977f
push 0x475c24
lea ecx, [ebp + 0x74]
call fcn.004246c0
push edi
lea ecx, [ebp + 0x74]
call fcn.004246c0
push 0x475ba4
lea ecx, [ebp + 0x74]
call fcn.004246c0
push esi
lea ecx, [ebp + 0x74]
call fcn.004246c0
push esi
call fcn.0046176a
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
pop ecx
jne 0x44976a
jmp 0x449861
lea eax, [ebp + 0x68]
push eax
mov dword [ebp + 0x68], esi
call fcn.0040e4ba
mov eax, dword [ebp + 0x68]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x60]
call fcn.00424629
push 0x475ba4
lea ecx, [ebp + 0x60]
call fcn.004246c0
lea ecx, [ebp + 0x68]
call fcn.00429ef2
mov esi, dword [ebp + 0x68]
cmp word [esi], bx
jne 0x4497fb
push dword [ebp - 0x10]
lea ecx, [ebp + 0x74]
call fcn.0042a1b7
jmp 0x449859
mov eax, dword [ebp + 0x74]
cmp word [eax], bx
je 0x449810
push 0x475c24
lea ecx, [ebp + 0x74]
call fcn.004246c0
push dword [ebp + 0x60]
lea ecx, [ebp + 0x74]
call fcn.004246c0
lea eax, [ebp + 0x68]
push eax
call fcn.0040e4ba
mov eax, dword [ebp + 0x68]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x48]
call fcn.00424629
push dword [ebp + 0x48]
lea ecx, [ebp + 0x74]
call fcn.004246c0
lea ecx, [ebp + 0x68]
call fcn.00429ef2
lea ecx, [ebp + 0x48]
call fcn.00424686
mov esi, dword [ebp + 0x68]
cmp word [esi], bx
jne 0x4497fb
lea ecx, [ebp + 0x60]
call fcn.00424686
test byte [ebp + 9], 2
jne 0x4498c5
cmp byte [ebp + 0x66], bl
jne 0x4498c5
cmp byte [ebp + 0x67], bl
je 0x4498c5
cmp word [ebp + 0x3c], bx
je 0x4498c5
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x60]
call fcn.0042a1a0
push dword [ebp + 0x60]
call fcn.0042783d
cmp eax, ebx
pop ecx
jne 0x449895
mov eax, dword [ebp + 0x60]
jmp 0x449897
inc eax
inc eax
push 0x2e
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
jne 0x4498bd
push 0x476244
lea ecx, [ebp + 0x74]
call fcn.004246c0
push dword [ebp + 0x5c]
lea ecx, [ebp + 0x74]
call fcn.004246c0
lea ecx, [ebp + 0x60]
call fcn.00424686
lea ecx, [ebp + 0x78]
call fcn.00424686
jmp 0x44994d
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x60]
or eax, 0x40
cmp esi, ebx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x254], bx
mov word [ebp - 0x45c], bx
mov dword [ebp - 0x3c], eax
je 0x449913
mov dword [ebp - 0x38], 0x42ed59
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp eax, ebx
mov dword [ebp + 0x78], eax
je 0x449945
lea ecx, [ebp - 0x254]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x449945
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp + 0x74]
call fcn.0042a1b7
lea ecx, [ebp + 0x78]
call fcn.0042ed26
mov ecx, dword [ebp + 0x7c]
cmp ecx, ebx
push dword [ebp + 0x74]
je 0x44995e
call fcn.00424710
jmp 0x44997c
lea ecx, [ebp + 0x78]
call fcn.0042a183
push dword [ebp + 0x78]
mov ecx, dword [ebp + 0x40]
push dword [ebp + 0x54]
call fcn.00428e1b
lea ecx, [ebp + 0x78]
call fcn.00424686
push dword [ebp + 0x4c]
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
call fcn.0040a118
lea ecx, [ebp + 0x74]
call fcn.00424686
lea ecx, [ebp + 0x58]
call fcn.00424686
lea ecx, [ebp + 0x5c]
call fcn.00424686
lea ecx, [ebp + 0x50]
call fcn.00424686
lea ecx, [ebp + 0x44]
call fcn.00424686
lea ecx, [ebp + 0x54]
call fcn.00424686
lea ecx, [ebp + 0x30]
call fcn.00424686
lea ecx, [ebp + 0x4c]
call fcn.00424686
pop edi
pop esi
xor eax, eax
pop ebx
add ebp, 0x6c
leave
ret 0xc