Function at 0x448975
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.0042e1e2
push dword [ebp + 0x40]
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push dword [ebp + 0x34]
lea ecx, [ebp + 0x28]
call fcn.0042fe12
lea eax, [ebp + 0x74]
push eax
call fcn.00428a5b
push 4
lea eax, [ebp + 0x74]
push eax
push str._fix
call fcn.0042fc5f
add esp, 0x10
mov esi, 0x484964
push esi
lea ecx, [ebp + 0x50]
mov byte [ebp + 0x57], al
call fcn.0043a4ba
push esi
lea ecx, [ebp + 0x44]
call fcn.0043a4ba
push esi
lea ecx, [ebp + 0x48]
call fcn.0043a4ba
push esi
lea ecx, [ebp + 0x4c]
call fcn.0043a4ba
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.00429920
add esp, 0xc
test al, al
je 0x448a2a
add dword [ebp + 0x74], 8
lea eax, [ebp + 0x74]
push eax
mov byte [ebp + 0x5e], 1
call fcn.00428a5b
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.0043c3b4
push ebx
lea ecx, [ebp + 0x50]
push ecx
push eax
call fcn.0043060a
mov ecx, dword [ebp + 0x34]
add esp, 0xc
push ebx
lea eax, [ebp + 0x50]
push eax
call fcn.00402bdd
mov eax, dword [ebp + 0x50]
cmp word [eax], bx
je 0x448f92
mov eax, dword [ebp + 0x74]
cmp word [eax], di
jne 0x448a71
add dword [ebp + 0x74], 2
lea eax, [ebp + 0x74]
push eax
call fcn.00428a5b
pop ecx
mov ecx, dword [ebp + 0x74]
jmp 0x448a9b
cmp ax, 0x26
jne 0x448a8c
mov byte [ebp + 0x6b], 1
jmp 0x448a96
cmp ax, 0x2a
jne 0x448aa3
mov byte [ebp + 0x5f], 1
inc ecx
inc ecx
mov dword [ebp + 0x74], ecx
mov ax, word [ecx]
cmp ax, bx
jne 0x448a80
lea eax, [ebp + 0x74]
push eax
call fcn.00428a5b
pop ecx
push esi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x28]
call fcn.0043c3b4
push ebx
lea ecx, [ebp + 0x44]
push ecx
push eax
call fcn.0043060a
push dword [ebp + 0x44]
call fcn.0040dca1
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x74]
add esp, 0x10
cmp word [eax], di
jne 0x448b4c
add dword [ebp + 0x74], 2
push esi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x28]
call fcn.0043c3b4
push ebx
lea ecx, [ebp + 0x48]
push ecx
push eax
call fcn.0043060a
mov eax, dword [ebp + 0x74]
add esp, 0xc
cmp word [eax], di
jne 0x448b4c
add dword [ebp + 0x74], 2
push esi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x28]
call fcn.0043c3b4
push ebx
lea ecx, [ebp + 0x4c]
push ecx
push eax
call fcn.0043060a
mov eax, dword [ebp + 0x74]
add esp, 0xc
cmp word [eax], di
jne 0x448b4c
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.0043c3b4
push eax
call fcn.00430857
add esp, 0xc
push dword [ebp + 0x3c]
lea ecx, [ebp + 0x58]
xor esi, esi
call fcn.0043a4ba
mov edi, dword [ebp + 0x58]
cmp word [edi], bx
je 0x448bb5
cmp byte [ebp + 0x57], bl
je 0x448bb3
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [edi], bx
mov esi, eax
je 0x448bb3
cmp word [edi + 2], 0x3a
jne 0x448bb3
cmp word [edi + 4], 0x5c
jne 0x448bb3
cmp word [edi + 6], 0x2e
je 0x448bb3
lea eax, [esi + 8]
push eax
lea ecx, [ebp + 0x58]
call fcn.0042e20b
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.004708c0
add esp, 0xc
mov word [edi + 6], 0x2e
mov esi, edi
lea ecx, [ebp + 0x74]
call fcn.0042e1c4
push dword [ebp + 0x78]
call fcn.0042b0c6
cmp byte [ebp + 0x5f], bl
mov edx, eax
pop ecx
mov dword [ebp + 0x38], edx
jne 0x448ec7
push 0xffffffffffffffff
push 0x48b7f4
lea ecx, [ebp + 0x78]
mov dword [ebp + 0x64], ebx
call fcn.0043a4f0
mov esi, dword [ebp + 0x4c]
xor eax, eax
mov ax, word [esi]
cmp ax, bx
mov dword [ebp + 0x3c], eax
je 0x448c73
push 0x7c
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
lea ecx, [ebp + 0x78]
push esi
je 0x448c36
call fcn.0043a522
push 0x48b7f0
lea ecx, [ebp + 0x78]
call fcn.0042e232
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x64], eax
jmp 0x448c2f
cmp word [eax], 0x7c
jne 0x448c2d
mov word [eax], bx
inc eax
inc eax
cmp word [eax], bx
jne 0x448c24
jmp 0x448c73
call fcn.0042e232
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.0042e20b
lea eax, [esi + 1]
push eax
mov eax, dword [ebp + 0x78]
push eax
lea eax, [eax + esi*2 + 2]
push eax
call fcn.00403fda
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 0x448c8d
mov esi, 0x3f7a2
lea eax, [esi + 8]
push eax
lea ecx, [ebp + 0x58]
call fcn.0042e20b
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.00470340
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 0x448d08
or byte [ebp + 6], 0x20
call fcn.00429a0f
cmp byte [ebp + 0x6b], bl
lea eax, [ebp - 0x30]
push eax
je 0x448d1e
call dword [0x49b008]
jmp 0x448d24
call dword [0x49b004]
cmp eax, 1
jne 0x448ebd
test byte [ebp + 5], 2
je 0x448d4e
test byte [ebp + 6], 8
mov esi, dword [ebp - 0x14]
je 0x448da7
push esi
mov edi, esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x448d5e
push dword [ebp - 0x14]
lea ecx, [ebp + 0x74]
call fcn.0043a522
jmp 0x448e59
mov eax, dword [ebp + 0x74]
cmp word [eax], bx
je 0x448d73
push 0x487330
lea ecx, [ebp + 0x74]
call fcn.0042e232
push edi
lea ecx, [ebp + 0x74]
call fcn.0042e232
push 0x484c48
lea ecx, [ebp + 0x74]
call fcn.0042e232
push esi
lea ecx, [ebp + 0x74]
call fcn.0042e232
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x448d5e
jmp 0x448e59
lea eax, [ebp + 0x64]
push eax
mov dword [ebp + 0x64], esi
call fcn.0040fcda
mov eax, dword [ebp + 0x64]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x60]
call fcn.0043a4d7
push 0x484c48
lea ecx, [ebp + 0x60]
call fcn.0042e232
lea eax, [ebp + 0x64]
push eax
call fcn.00428a5b
mov esi, dword [ebp + 0x64]
cmp word [esi], bx
pop ecx
jne 0x448df1
push dword [ebp - 0x14]
lea ecx, [ebp + 0x74]
call fcn.0043a522
jmp 0x448e51
mov eax, dword [ebp + 0x74]
cmp word [eax], bx
je 0x448e06
push 0x487330
lea ecx, [ebp + 0x74]
call fcn.0042e232
push dword [ebp + 0x60]
lea ecx, [ebp + 0x74]
call fcn.0042e232
lea eax, [ebp + 0x64]
push eax
call fcn.0040fcda
mov eax, dword [ebp + 0x64]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x38]
call fcn.0043a4d7
push dword [ebp + 0x38]
lea ecx, [ebp + 0x74]
call fcn.0042e232
lea eax, [ebp + 0x64]
push eax
call fcn.00428a5b
pop ecx
lea ecx, [ebp + 0x38]
call fcn.00428a48
mov esi, dword [ebp + 0x64]
cmp word [esi], bx
jne 0x448df1
lea ecx, [ebp + 0x60]
call fcn.00428a48
test byte [ebp + 5], 2
jne 0x448ebd
cmp byte [ebp + 0x5e], bl
jne 0x448ebd
cmp byte [ebp + 0x6b], bl
je 0x448ebd
cmp word [ebp + 0x3c], bx
je 0x448ebd
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x60]
call fcn.0043a50b
push dword [ebp + 0x60]
call fcn.0042b7f8
cmp eax, ebx
pop ecx
jne 0x448e8d
mov eax, dword [ebp + 0x60]
jmp 0x448e8f
inc eax
inc eax
push 0x2e
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
jne 0x448eb5
push 0x48539c
lea ecx, [ebp + 0x74]
call fcn.0042e232
push dword [ebp + 0x4c]
lea ecx, [ebp + 0x74]
call fcn.0042e232
lea ecx, [ebp + 0x60]
call fcn.00428a48
lea ecx, [ebp + 0x78]
call fcn.00428a48
jmp 0x448f45
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 0x448f0b
mov dword [ebp - 0x3c], 0x43164c
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 0x448f3d
lea ecx, [ebp - 0x258]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x448f3d
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp + 0x74]
call fcn.0043a522
lea ecx, [ebp + 0x78]
call fcn.00431619
mov ecx, dword [ebp + 0x7c]
cmp ecx, ebx
push dword [ebp + 0x74]
je 0x448f56
call fcn.0043a57e
jmp 0x448f74
lea ecx, [ebp + 0x78]
call fcn.0043a4ba
push dword [ebp + 0x78]
mov ecx, dword [ebp + 0x34]
push dword [ebp + 0x50]
call fcn.0042cbf7
lea ecx, [ebp + 0x78]
call fcn.00428a48
push dword [ebp + 0x40]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call fcn.0040fecf
lea ecx, [ebp + 0x74]
call fcn.00428a48
lea ecx, [ebp + 0x58]
call fcn.00428a48
lea ecx, [ebp + 0x4c]
call fcn.00428a48
lea ecx, [ebp + 0x48]
call fcn.00428a48
lea ecx, [ebp + 0x44]
call fcn.00428a48
lea ecx, [ebp + 0x50]
call fcn.00428a48
lea ecx, [ebp + 0x28]
call fcn.00428a48
lea ecx, [ebp + 0x40]
call fcn.00428a48
pop edi
pop esi
xor eax, eax
pop ebx
add ebp, 0x6c
leave
ret 0xc