Function at 0x4429ce
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.0042aed6
push dword [ebp + 0x40]
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push dword [ebp + 0x34]
lea ecx, [ebp + 0x28]
call fcn.0042c9fa
lea eax, [ebp + 0x74]
push eax
call fcn.0042609c
push 4
lea eax, [ebp + 0x74]
push eax
push str._fix
call fcn.0042c7e8
add esp, 0x10
mov esi, 0x47a8e8
push esi
lea ecx, [ebp + 0x4c]
mov byte [ebp + 0x57], al
call fcn.00434695
push esi
lea ecx, [ebp + 0x44]
call fcn.00434695
push esi
lea ecx, [ebp + 0x48]
call fcn.00434695
push esi
lea ecx, [ebp + 0x50]
call fcn.00434695
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.00426f2f
add esp, 0xc
test al, al
je 0x442a83
add dword [ebp + 0x74], 8
lea eax, [ebp + 0x74]
push eax
mov byte [ebp + 0x5e], 1
call fcn.0042609c
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.0043e2e9
push ebx
lea ecx, [ebp + 0x4c]
push ecx
push eax
call fcn.0042d669
mov ecx, dword [ebp + 0x34]
add esp, 0xc
push ebx
lea eax, [ebp + 0x4c]
push eax
call fcn.00402aa0
mov eax, dword [ebp + 0x4c]
cmp word [eax], bx
je 0x442ff4
mov eax, dword [ebp + 0x74]
cmp word [eax], di
jne 0x442aca
add dword [ebp + 0x74], 2
lea eax, [ebp + 0x74]
push eax
call fcn.0042609c
pop ecx
mov ecx, dword [ebp + 0x74]
jmp 0x442af4
cmp ax, 0x26
jne 0x442ae5
mov byte [ebp + 0x6b], 1
jmp 0x442aef
cmp ax, 0x2a
jne 0x442afc
mov byte [ebp + 0x5f], 1
inc ecx
inc ecx
mov dword [ebp + 0x74], ecx
mov ax, word [ecx]
cmp ax, bx
jne 0x442ad9
lea eax, [ebp + 0x74]
push eax
call fcn.0042609c
pop ecx
push esi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x28]
call fcn.0043e2e9
push ebx
lea ecx, [ebp + 0x44]
push ecx
push eax
call fcn.0042d669
push dword [ebp + 0x44]
call fcn.0040ca55
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x74]
add esp, 0x10
cmp word [eax], di
jne 0x442ba5
add dword [ebp + 0x74], 2
push esi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x28]
call fcn.0043e2e9
push ebx
lea ecx, [ebp + 0x48]
push ecx
push eax
call fcn.0042d669
mov eax, dword [ebp + 0x74]
add esp, 0xc
cmp word [eax], di
jne 0x442ba5
add dword [ebp + 0x74], 2
push esi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x28]
call fcn.0043e2e9
push ebx
lea ecx, [ebp + 0x50]
push ecx
push eax
call fcn.0042d669
mov eax, dword [ebp + 0x74]
add esp, 0xc
cmp word [eax], di
jne 0x442ba5
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.0043e2e9
push eax
call fcn.0042d84d
add esp, 0xc
push dword [ebp + 0x3c]
lea ecx, [ebp + 0x58]
xor esi, esi
call fcn.00434695
mov edi, dword [ebp + 0x58]
cmp word [edi], bx
je 0x442c0e
cmp byte [ebp + 0x57], bl
je 0x442c0c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [edi], bx
mov esi, eax
je 0x442c0c
cmp word [edi + 2], 0x3a
jne 0x442c0c
cmp word [edi + 4], 0x5c
jne 0x442c0c
cmp word [edi + 6], 0x2e
je 0x442c0c
lea eax, [esi + 8]
push eax
lea ecx, [ebp + 0x58]
call fcn.0042aeff
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.00466d00
add esp, 0xc
mov word [edi + 6], 0x2e
mov esi, edi
lea ecx, [ebp + 0x74]
call fcn.0042aeb8
push dword [ebp + 0x78]
call fcn.0042862d
cmp byte [ebp + 0x5f], bl
mov edx, eax
pop ecx
mov dword [ebp + 0x38], edx
jne 0x442f29
push 0xffffffffffffffff
push 0x480e8c
lea ecx, [ebp + 0x78]
mov dword [ebp + 0x64], ebx
call fcn.0042605a
mov eax, dword [ebp + 0x50]
xor ecx, ecx
mov cx, word [eax]
cmp cx, bx
mov dword [ebp + 0x3c], ecx
je 0x442cd5
push 0x7c
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
push dword [ebp + 0x50]
lea ecx, [ebp + 0x78]
je 0x442c95
call fcn.004346c9
push 0x480e88
lea ecx, [ebp + 0x78]
call fcn.0042af26
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x64], eax
jmp 0x442c8e
cmp word [eax], 0x7c
jne 0x442c8c
mov word [eax], bx
inc eax
inc eax
cmp word [eax], bx
jne 0x442c83
jmp 0x442cd5
call fcn.0042af26
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.0042aeff
lea eax, [esi + 1]
push eax
mov eax, dword [ebp + 0x78]
push eax
lea eax, [eax + esi*2 + 2]
push eax
call fcn.00403ac3
mov eax, dword [ebp + 0x78]
mov word [eax + esi*4 + 4], bx
mov eax, dword [ebp + 0x78]
add esp, 0xc
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 0x442cef
mov esi, 0x3f7a2
lea eax, [esi + 8]
push eax
lea ecx, [ebp + 0x58]
call fcn.0042aeff
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.00466780
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 0x442d6a
or byte [ebp + 6], 0x20
call fcn.0042701e
cmp byte [ebp + 0x6b], bl
lea eax, [ebp - 0x30]
push eax
je 0x442d80
call dword [0x48fff8]
jmp 0x442d86
call dword [0x48fff4]
cmp eax, 1
jne 0x442f1f
test byte [ebp + 5], 2
je 0x442db0
test byte [ebp + 6], 8
mov esi, dword [ebp - 0x14]
je 0x442e09
push esi
mov edi, esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x442dc0
push dword [ebp - 0x14]
lea ecx, [ebp + 0x74]
call fcn.004346c9
jmp 0x442ebb
mov eax, dword [ebp + 0x74]
cmp word [eax], bx
je 0x442dd5
push 0x47ac0c
lea ecx, [ebp + 0x74]
call fcn.0042af26
push edi
lea ecx, [ebp + 0x74]
call fcn.0042af26
push 0x47ab8c
lea ecx, [ebp + 0x74]
call fcn.0042af26
push esi
lea ecx, [ebp + 0x74]
call fcn.0042af26
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x442dc0
jmp 0x442ebb
lea eax, [ebp + 0x64]
push eax
mov dword [ebp + 0x64], esi
call fcn.0040f463
mov eax, dword [ebp + 0x64]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x60]
call fcn.00426041
push 0x47ab8c
lea ecx, [ebp + 0x60]
call fcn.0042af26
lea eax, [ebp + 0x64]
push eax
call fcn.0042609c
mov esi, dword [ebp + 0x64]
cmp word [esi], bx
pop ecx
jne 0x442e53
push dword [ebp - 0x14]
lea ecx, [ebp + 0x74]
call fcn.004346c9
jmp 0x442eb3
mov eax, dword [ebp + 0x74]
cmp word [eax], bx
je 0x442e68
push 0x47ac0c
lea ecx, [ebp + 0x74]
call fcn.0042af26
push dword [ebp + 0x60]
lea ecx, [ebp + 0x74]
call fcn.0042af26
lea eax, [ebp + 0x64]
push eax
call fcn.0040f463
mov eax, dword [ebp + 0x64]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x38]
call fcn.00426041
push dword [ebp + 0x38]
lea ecx, [ebp + 0x74]
call fcn.0042af26
lea eax, [ebp + 0x64]
push eax
call fcn.0042609c
pop ecx
lea ecx, [ebp + 0x38]
call fcn.0042602e
mov esi, dword [ebp + 0x64]
cmp word [esi], bx
jne 0x442e53
lea ecx, [ebp + 0x60]
call fcn.0042602e
test byte [ebp + 5], 2
jne 0x442f1f
cmp byte [ebp + 0x5e], bl
jne 0x442f1f
cmp byte [ebp + 0x6b], bl
je 0x442f1f
cmp word [ebp + 0x3c], bx
je 0x442f1f
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x60]
call fcn.004346b2
push dword [ebp + 0x60]
call fcn.00428ce4
cmp eax, ebx
pop ecx
jne 0x442eef
mov eax, dword [ebp + 0x60]
jmp 0x442ef1
inc eax
inc eax
push 0x2e
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
jne 0x442f17
push 0x47b254
lea ecx, [ebp + 0x74]
call fcn.0042af26
push dword [ebp + 0x50]
lea ecx, [ebp + 0x74]
call fcn.0042af26
lea ecx, [ebp + 0x60]
call fcn.0042602e
lea ecx, [ebp + 0x78]
call fcn.0042602e
jmp 0x442fa7
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 0x442f6d
mov dword [ebp - 0x3c], 0x42e46c
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 0x442f9f
lea ecx, [ebp - 0x258]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x442f9f
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp + 0x74]
call fcn.004346c9
lea ecx, [ebp + 0x78]
call fcn.0042e439
mov ecx, dword [ebp + 0x7c]
cmp ecx, ebx
push dword [ebp + 0x74]
je 0x442fb8
call fcn.00426075
jmp 0x442fd6
lea ecx, [ebp + 0x78]
call fcn.00434695
push dword [ebp + 0x78]
mov ecx, dword [ebp + 0x34]
push dword [ebp + 0x4c]
call fcn.00429dbf
lea ecx, [ebp + 0x78]
call fcn.0042602e
push dword [ebp + 0x40]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call fcn.0040a64b
lea ecx, [ebp + 0x74]
call fcn.0042602e
lea ecx, [ebp + 0x58]
call fcn.0042602e
lea ecx, [ebp + 0x50]
call fcn.0042602e
lea ecx, [ebp + 0x48]
call fcn.0042602e
lea ecx, [ebp + 0x44]
call fcn.0042602e
lea ecx, [ebp + 0x4c]
call fcn.0042602e
lea ecx, [ebp + 0x28]
call fcn.0042602e
lea ecx, [ebp + 0x40]
call fcn.0042602e
pop edi
pop esi
xor eax, eax
pop ebx
add ebp, 0x6c
leave
ret 0xc