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

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x4cc
push ebx
push esi
push edi
mov dword [ebp + 0x34], ecx
push 0x20a
lea ecx, [ebp + 0x40]
call fcn.0042c415
push dword [ebp + 0x40]
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push dword [ebp + 0x34]
lea ecx, [ebp + 0x28]
call fcn.0042e119
lea eax, [ebp + 0x74]
push eax
call fcn.00426ff7
push 4
lea eax, [ebp + 0x74]
push eax
push str._fix
call fcn.0042df66
add esp, 0x10
mov esi, 0x480934
push esi
lea ecx, [ebp + 0x50]
mov byte [ebp + 0x57], al
call fcn.004361de
push esi
lea ecx, [ebp + 0x44]
call fcn.004361de
push esi
lea ecx, [ebp + 0x48]
call fcn.004361de
push esi
lea ecx, [ebp + 0x4c]
call fcn.004361de
push 4
push dword [ebp + 0x74]
xor ebx, ebx
push str.raw
mov dword [ebp + 0x60], ebx
mov byte [ebp + 0x6b], bl
mov byte [ebp + 0x5f], bl
mov byte [ebp + 0x5e], bl
call fcn.00427eca
add esp, 0xc
test al, al
je 0x444f85
add dword [ebp + 0x74], 8
lea eax, [ebp + 0x74]
push eax
mov byte [ebp + 0x5e], 1
call fcn.00426ff7
pop ecx
xor esi, esi
inc esi
push esi
push 0x2c
pop edi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x28]
call fcn.00440583
push ebx
lea ecx, [ebp + 0x50]
push ecx
push eax
call fcn.0042e8ac
mov ecx, dword [ebp + 0x34]
add esp, 0xc
push ebx
lea eax, [ebp + 0x50]
push eax
call fcn.00402a5b
mov eax, dword [ebp + 0x50]
cmp word [eax], bx
je 0x4454ed
mov eax, dword [ebp + 0x74]
cmp word [eax], di
jne 0x444fcc
add dword [ebp + 0x74], 2
lea eax, [ebp + 0x74]
push eax
call fcn.00426ff7
pop ecx
mov ecx, dword [ebp + 0x74]
jmp 0x444ff6
cmp ax, 0x26
jne 0x444fe7
mov byte [ebp + 0x6b], 1
jmp 0x444ff1
cmp ax, 0x2a
jne 0x444ffe
mov byte [ebp + 0x5f], 1
inc ecx
inc ecx
mov dword [ebp + 0x74], ecx
mov ax, word [ecx]
cmp ax, bx
jne 0x444fdb
lea eax, [ebp + 0x74]
push eax
call fcn.00426ff7
pop ecx
push esi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x28]
call fcn.00440583
push ebx
lea ecx, [ebp + 0x44]
push ecx
push eax
call fcn.0042e8ac
push dword [ebp + 0x44]
call fcn.0040ce49
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x74]
add esp, 0x10
cmp word [eax], di
jne 0x4450a7
add dword [ebp + 0x74], 2
push esi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x28]
call fcn.00440583
push ebx
lea ecx, [ebp + 0x48]
push ecx
push eax
call fcn.0042e8ac
mov eax, dword [ebp + 0x74]
add esp, 0xc
cmp word [eax], di
jne 0x4450a7
add dword [ebp + 0x74], 2
push esi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x28]
call fcn.00440583
push ebx
lea ecx, [ebp + 0x4c]
push ecx
push eax
call fcn.0042e8ac
mov eax, dword [ebp + 0x74]
add esp, 0xc
cmp word [eax], di
jne 0x4450a7
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 + 0x28]
call fcn.00440583
push eax
call fcn.0042eaf9
add esp, 0xc
push dword [ebp + 0x3c]
lea ecx, [ebp + 0x58]
xor esi, esi
call fcn.004361de
mov edi, dword [ebp + 0x58]
cmp word [edi], bx
je 0x445110
cmp byte [ebp + 0x57], bl
je 0x44510e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [edi], bx
mov esi, eax
je 0x44510e
cmp word [edi + 2], 0x3a
jne 0x44510e
cmp word [edi + 4], 0x5c
jne 0x44510e
cmp word [edi + 6], 0x2e
je 0x44510e
lea eax, [esi + 8]
push eax
lea ecx, [ebp + 0x58]
call fcn.0042c43e
mov edi, dword [ebp + 0x58]
lea eax, [esi + esi + 4]
push eax
lea eax, [edi + 4]
push eax
lea eax, [edi + 8]
push eax
call fcn.0046ca60
add esp, 0xc
mov word [edi + 6], 0x2e
mov esi, edi
lea ecx, [ebp + 0x74]
call fcn.0042c3f7
push dword [ebp + 0x78]
call fcn.00429656
cmp byte [ebp + 0x5f], bl
mov edx, eax
pop ecx
mov dword [ebp + 0x38], edx
jne 0x445422
push 0xffffffffffffffff
push 0x4873e8
lea ecx, [ebp + 0x78]
mov dword [ebp + 0x64], ebx
call fcn.00436214
mov esi, dword [ebp + 0x4c]
xor eax, eax
mov ax, word [esi]
cmp ax, bx
mov dword [ebp + 0x3c], eax
je 0x4451ce
push 0x7c
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
lea ecx, [ebp + 0x78]
push esi
je 0x445191
call fcn.00436246
push 0x4873e4
lea ecx, [ebp + 0x78]
call fcn.0042c465
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x64], eax
jmp 0x44518a
cmp word [eax], 0x7c
jne 0x445188
mov word [eax], bx
inc eax
inc eax
cmp word [eax], bx
jne 0x44517f
jmp 0x4451ce
call fcn.0042c465
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [esi + esi + 6]
push eax
lea ecx, [ebp + 0x78]
call fcn.0042c43e
lea eax, [esi + 1]
push eax
mov eax, dword [ebp + 0x78]
push eax
lea eax, [eax + esi*2 + 2]
push eax
call fcn.00403c15
mov eax, dword [ebp + 0x78]
add esp, 0xc
mov word [eax + esi*4 + 4], bx
mov dword [ebp + 0x64], eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
lea esi, [edi + edi + 0x10]
cmp esi, 0x3f7a0
jg 0x4451e8
mov esi, 0x3f7a2
lea eax, [esi + 8]
push eax
lea ecx, [ebp + 0x58]
call fcn.0042c43e
mov eax, esi
sub eax, edi
lea eax, [eax + eax + 0x10]
push eax
mov eax, dword [ebp + 0x58]
lea eax, [eax + edi*2]
push ebx
push eax
call fcn.0046c4e0
xor eax, eax
add esp, 0xc
push 0x14
mov dword [ebp - 0x30], 0x58
pop ecx
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x48]
mov cx, word [eax]
neg cx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x64]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 4]
or eax, dword [ebp + 0x60]
mov dword [ebp], ecx
test eax, 0x40000
mov dword [ebp + 4], eax
jne 0x445263
or byte [ebp + 6], 0x20
call fcn.00427fb9
cmp byte [ebp + 0x6b], bl
lea eax, [ebp - 0x30]
push eax
je 0x445279
call dword [0x496fe8]
jmp 0x44527f
call dword [0x496fe4]
cmp eax, 1
jne 0x445418
test byte [ebp + 5], 2
je 0x4452a9
test byte [ebp + 6], 8
mov esi, dword [ebp - 0x14]
je 0x445302
push esi
mov edi, esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x4452b9
push dword [ebp - 0x14]
lea ecx, [ebp + 0x74]
call fcn.00436246
jmp 0x4453b4
mov eax, dword [ebp + 0x74]
cmp word [eax], bx
je 0x4452ce
push 0x480c6c
lea ecx, [ebp + 0x74]
call fcn.0042c465
push edi
lea ecx, [ebp + 0x74]
call fcn.0042c465
push 0x480be8
lea ecx, [ebp + 0x74]
call fcn.0042c465
push esi
lea ecx, [ebp + 0x74]
call fcn.0042c465
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x4452b9
jmp 0x4453b4
lea eax, [ebp + 0x64]
push eax
mov dword [ebp + 0x64], esi
call fcn.0040eda5
mov eax, dword [ebp + 0x64]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x60]
call fcn.004361fb
push 0x480be8
lea ecx, [ebp + 0x60]
call fcn.0042c465
lea eax, [ebp + 0x64]
push eax
call fcn.00426ff7
mov esi, dword [ebp + 0x64]
cmp word [esi], bx
pop ecx
jne 0x44534c
push dword [ebp - 0x14]
lea ecx, [ebp + 0x74]
call fcn.00436246
jmp 0x4453ac
mov eax, dword [ebp + 0x74]
cmp word [eax], bx
je 0x445361
push 0x480c6c
lea ecx, [ebp + 0x74]
call fcn.0042c465
push dword [ebp + 0x60]
lea ecx, [ebp + 0x74]
call fcn.0042c465
lea eax, [ebp + 0x64]
push eax
call fcn.0040eda5
mov eax, dword [ebp + 0x64]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x38]
call fcn.004361fb
push dword [ebp + 0x38]
lea ecx, [ebp + 0x74]
call fcn.0042c465
lea eax, [ebp + 0x64]
push eax
call fcn.00426ff7
pop ecx
lea ecx, [ebp + 0x38]
call fcn.0042704a
mov esi, dword [ebp + 0x64]
cmp word [esi], bx
jne 0x44534c
lea ecx, [ebp + 0x60]
call fcn.0042704a
test byte [ebp + 5], 2
jne 0x445418
cmp byte [ebp + 0x5e], bl
jne 0x445418
cmp byte [ebp + 0x6b], bl
je 0x445418
cmp word [ebp + 0x3c], bx
je 0x445418
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x60]
call fcn.0043622f
push dword [ebp + 0x60]
call fcn.00429d2e
cmp eax, ebx
pop ecx
jne 0x4453e8
mov eax, dword [ebp + 0x60]
jmp 0x4453ea
inc eax
inc eax
push 0x2e
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
jne 0x445410
push 0x4812fc
lea ecx, [ebp + 0x74]
call fcn.0042c465
push dword [ebp + 0x4c]
lea ecx, [ebp + 0x74]
call fcn.0042c465
lea ecx, [ebp + 0x60]
call fcn.0042704a
lea ecx, [ebp + 0x78]
call fcn.0042704a
jmp 0x4454a0
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x460]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x60]
or eax, 0x40
cmp esi, ebx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x258], bx
mov word [ebp - 0x460], bx
mov dword [ebp - 0x40], eax
je 0x445466
mov dword [ebp - 0x3c], 0x42f7a4
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp eax, ebx
mov dword [ebp + 0x78], eax
je 0x445498
lea ecx, [ebp - 0x258]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x445498
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp + 0x74]
call fcn.00436246
lea ecx, [ebp + 0x78]
call fcn.0042f771
mov ecx, dword [ebp + 0x7c]
cmp ecx, ebx
push dword [ebp + 0x74]
je 0x4454b1
call fcn.004362a2
jmp 0x4454cf
lea ecx, [ebp + 0x78]
call fcn.004361de
push dword [ebp + 0x78]
mov ecx, dword [ebp + 0x34]
push dword [ebp + 0x50]
call fcn.0042af0d
lea ecx, [ebp + 0x78]
call fcn.0042704a
push dword [ebp + 0x40]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call fcn.0040a910
lea ecx, [ebp + 0x74]
call fcn.0042704a
lea ecx, [ebp + 0x58]
call fcn.0042704a
lea ecx, [ebp + 0x4c]
call fcn.0042704a
lea ecx, [ebp + 0x48]
call fcn.0042704a
lea ecx, [ebp + 0x44]
call fcn.0042704a
lea ecx, [ebp + 0x50]
call fcn.0042704a
lea ecx, [ebp + 0x28]
call fcn.0042704a
lea ecx, [ebp + 0x40]
call fcn.0042704a
pop edi
pop esi
xor eax, eax
pop ebx
add ebp, 0x6c
leave
ret 0xc