Function at 0x44d4c8
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 + 0x38], ecx
push 0x20a
lea ecx, [ebp + 0x40]
call fcn.00433c42
push dword [ebp + 0x40]
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push dword [ebp + 0x38]
lea ecx, [ebp + 0x2c]
call fcn.00435bf3
lea eax, [ebp + 0x74]
push eax
call fcn.0042ebab
push 4
lea eax, [ebp + 0x74]
push eax
push str._fix
call fcn.00435950
add esp, 0x10
mov esi, 0x496134
push esi
lea ecx, [ebp + 0x58]
mov byte [ebp + 0x5f], al
call fcn.0043ddc9
push esi
lea ecx, [ebp + 0x44]
call fcn.0043ddc9
push esi
lea ecx, [ebp + 0x48]
call fcn.0043ddc9
push esi
lea ecx, [ebp + 0x4c]
call fcn.0043ddc9
push 4
push dword [ebp + 0x74]
xor ebx, ebx
push str.raw
mov dword [ebp + 0x50], ebx
mov byte [ebp + 0x67], bl
mov byte [ebp + 0x66], bl
mov byte [ebp + 0x65], bl
call fcn.0042fa9d
add esp, 0xc
test al, al
je 0x44d57d
add dword [ebp + 0x74], 8
lea eax, [ebp + 0x74]
push eax
mov byte [ebp + 0x65], 1
call fcn.0042ebab
pop ecx
xor esi, esi
inc esi
push esi
push 0x2c
pop edi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x2c]
call fcn.0043fb4e
push ebx
lea ecx, [ebp + 0x58]
push ecx
push eax
call fcn.004364f8
mov ecx, dword [ebp + 0x38]
add esp, 0xc
push ebx
lea eax, [ebp + 0x58]
push eax
call fcn.00402c07
mov eax, dword [ebp + 0x58]
cmp word [eax], bx
je 0x44db0c
mov eax, dword [ebp + 0x74]
cmp word [eax], di
jne 0x44d5c4
add dword [ebp + 0x74], 2
lea eax, [ebp + 0x74]
push eax
call fcn.0042ebab
pop ecx
mov ecx, dword [ebp + 0x74]
jmp 0x44d5ee
cmp ax, 0x26
jne 0x44d5df
mov byte [ebp + 0x67], 1
jmp 0x44d5e9
cmp ax, 0x2a
jne 0x44d5f6
mov byte [ebp + 0x66], 1
inc ecx
inc ecx
mov dword [ebp + 0x74], ecx
mov ax, word [ecx]
cmp ax, bx
jne 0x44d5d3
lea eax, [ebp + 0x74]
push eax
call fcn.0042ebab
pop ecx
push esi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x2c]
call fcn.0043fb4e
push ebx
lea ecx, [ebp + 0x44]
push ecx
push eax
call fcn.004364f8
push dword [ebp + 0x44]
call fcn.0040ec9c
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x74]
add esp, 0x10
cmp word [eax], di
jne 0x44d69f
add dword [ebp + 0x74], 2
push esi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x2c]
call fcn.0043fb4e
push ebx
lea ecx, [ebp + 0x48]
push ecx
push eax
call fcn.004364f8
mov eax, dword [ebp + 0x74]
add esp, 0xc
cmp word [eax], di
jne 0x44d69f
add dword [ebp + 0x74], 2
push esi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x2c]
call fcn.0043fb4e
push ebx
lea ecx, [ebp + 0x4c]
push ecx
push eax
call fcn.004364f8
mov eax, dword [ebp + 0x74]
add esp, 0xc
cmp word [eax], di
jne 0x44d69f
add dword [ebp + 0x74], 2
push edi
lea eax, [ebp + 0x50]
push eax
push esi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x2c]
call fcn.0043fb4e
push eax
call fcn.00436745
add esp, 0xc
push dword [ebp + 0x3c]
lea ecx, [ebp + 0x60]
xor esi, esi
call fcn.0043ddc9
mov edi, dword [ebp + 0x60]
cmp word [edi], bx
je 0x44d708
cmp byte [ebp + 0x5f], bl
je 0x44d706
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [edi], bx
mov esi, eax
je 0x44d706
cmp word [edi + 2], 0x3a
jne 0x44d706
cmp word [edi + 4], 0x5c
jne 0x44d706
cmp word [edi + 6], 0x2e
je 0x44d706
lea eax, [esi + 8]
push eax
lea ecx, [ebp + 0x60]
call fcn.00433c6b
mov edi, dword [ebp + 0x60]
lea eax, [esi + esi + 4]
push eax
lea eax, [edi + 4]
push eax
lea eax, [edi + 8]
push eax
call fcn.0047b870
add esp, 0xc
mov word [edi + 6], 0x2e
mov esi, edi
lea ecx, [ebp + 0x74]
call fcn.00433c24
push dword [ebp + 0x78]
call fcn.0043144a
cmp byte [ebp + 0x66], bl
mov edx, eax
pop ecx
mov dword [ebp + 0x54], edx
jne 0x44da41
push 0xffffffffffffffff
push 0x496bec
lea ecx, [ebp + 0x78]
mov dword [ebp + 0x68], ebx
call fcn.0043ddff
mov esi, dword [ebp + 0x4c]
xor eax, eax
mov ax, word [esi]
cmp ax, bx
mov dword [ebp + 0x3c], eax
je 0x44d7c6
push 0x7c
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
lea ecx, [ebp + 0x78]
push esi
je 0x44d789
call fcn.0043de31
push 0x496be8
lea ecx, [ebp + 0x78]
call fcn.00433c92
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x68], eax
jmp 0x44d782
cmp word [eax], 0x7c
jne 0x44d780
mov word [eax], bx
inc eax
inc eax
cmp word [eax], bx
jne 0x44d777
jmp 0x44d7c6
call fcn.00433c92
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.00433c6b
lea eax, [esi + 1]
push eax
mov eax, dword [ebp + 0x78]
push eax
lea eax, [eax + esi*2 + 2]
push eax
call fcn.0040414f
mov eax, dword [ebp + 0x78]
add esp, 0xc
mov word [eax + esi*4 + 4], bx
mov dword [ebp + 0x68], eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
lea esi, [edi + edi + 0x10]
cmp esi, 0x3f7a0
jg 0x44d7e0
mov esi, 0x3f7a2
lea eax, [esi + 8]
push eax
lea ecx, [ebp + 0x60]
call fcn.00433c6b
mov eax, esi
sub eax, edi
lea eax, [eax + eax + 0x10]
push eax
mov eax, dword [ebp + 0x60]
lea eax, [eax + edi*2]
push ebx
push eax
call fcn.0047b210
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 + 0x54]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x48]
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 + 0x60]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0x50]
mov dword [ebp + 4], ecx
test eax, 0x40000
mov dword [ebp + 8], eax
jne 0x44d85b
or byte [ebp + 0xa], 0x20
call fcn.0042fb8c
cmp byte [ebp + 0x67], bl
lea eax, [ebp - 0x2c]
push eax
je 0x44d871
call dword [0x4a7068]
jmp 0x44d877
call dword [0x4a7064]
cmp eax, 1
jne 0x44da37
test byte [ebp + 9], 2
je 0x44d8a8
test byte [ebp + 0xa], 8
je 0x44d913
mov esi, dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
mov dword [ebp + 0x54], esi
call edi
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x44d8b8
push dword [ebp - 0x10]
lea ecx, [ebp + 0x74]
call fcn.0043de31
jmp 0x44d9d3
mov eax, dword [ebp + 0x74]
cmp word [eax], bx
je 0x44d8cd
push 0x48fce4
lea ecx, [ebp + 0x74]
call fcn.00433c92
push dword [ebp + 0x54]
lea ecx, [ebp + 0x74]
call fcn.00433c92
push dword [ebp + 0x74]
call edi
cmp eax, ebx
jle 0x44d8f9
mov ecx, dword [ebp + 0x74]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x44d8f9
push 0x48fc60
lea ecx, [ebp + 0x74]
call fcn.00433c92
push esi
lea ecx, [ebp + 0x74]
call fcn.00433c92
push esi
call edi
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x44d8b8
jmp 0x44d9d3
mov edi, dword [ebp - 0x10]
lea eax, [ebp + 0x68]
push eax
mov dword [ebp + 0x68], edi
call fcn.004103ce
mov esi, dword [ebp + 0x68]
sub esi, edi
pop ecx
sar esi, 1
lea eax, [esi + 1]
push eax
push edi
lea ecx, [ebp + 0x54]
call fcn.0043dde6
cmp esi, ebx
jle 0x44d945
push 0x5c
pop eax
cmp word [edi + esi*2 - 2], ax
jne 0x44d947
xor eax, eax
mov edi, dword [ebp + 0x54]
mov word [edi + esi*2], ax
lea eax, [ebp + 0x68]
push eax
call fcn.0042ebab
mov esi, dword [ebp + 0x68]
cmp word [esi], bx
pop ecx
jne 0x44d96d
push dword [ebp - 0x10]
lea ecx, [ebp + 0x74]
call fcn.0043de31
jmp 0x44d9cb
mov eax, dword [ebp + 0x74]
cmp word [eax], bx
je 0x44d982
push 0x48fce4
lea ecx, [ebp + 0x74]
call fcn.00433c92
push edi
lea ecx, [ebp + 0x74]
call fcn.00433c92
lea eax, [ebp + 0x68]
push eax
call fcn.004103ce
mov eax, dword [ebp + 0x68]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x50]
call fcn.0043dde6
push dword [ebp + 0x50]
lea ecx, [ebp + 0x74]
call fcn.00433c92
lea eax, [ebp + 0x68]
push eax
call fcn.0042ebab
pop ecx
lea ecx, [ebp + 0x50]
call fcn.0042eb98
mov esi, dword [ebp + 0x68]
cmp word [esi], bx
jne 0x44d96d
lea ecx, [ebp + 0x54]
call fcn.0042eb98
test byte [ebp + 9], 2
jne 0x44da37
cmp byte [ebp + 0x65], bl
jne 0x44da37
cmp byte [ebp + 0x67], bl
je 0x44da37
cmp word [ebp + 0x3c], bx
je 0x44da37
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x68]
call fcn.0043de1a
push dword [ebp + 0x68]
call fcn.0043211e
cmp eax, ebx
pop ecx
jne 0x44da07
mov eax, dword [ebp + 0x68]
jmp 0x44da09
inc eax
inc eax
push 0x2e
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
jne 0x44da2f
push 0x4903f0
lea ecx, [ebp + 0x74]
call fcn.00433c92
push dword [ebp + 0x4c]
lea ecx, [ebp + 0x74]
call fcn.00433c92
lea ecx, [ebp + 0x68]
call fcn.0042eb98
lea ecx, [ebp + 0x78]
call fcn.0042eb98
jmp 0x44dabf
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 + 0x48]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x50]
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 0x44da85
mov dword [ebp - 0x38], 0x43753a
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 0x44dab7
lea ecx, [ebp - 0x254]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x44dab7
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp + 0x74]
call fcn.0043de31
lea ecx, [ebp + 0x78]
call fcn.00437507
mov ecx, dword [ebp + 0x7c]
cmp ecx, ebx
push dword [ebp + 0x74]
je 0x44dad0
call fcn.0043de8d
jmp 0x44daee
lea ecx, [ebp + 0x78]
call fcn.0043ddc9
push dword [ebp + 0x78]
mov ecx, dword [ebp + 0x38]
push dword [ebp + 0x58]
call fcn.004335ed
lea ecx, [ebp + 0x78]
call fcn.0042eb98
push dword [ebp + 0x40]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call fcn.00410607
lea ecx, [ebp + 0x74]
call fcn.0042eb98
lea ecx, [ebp + 0x60]
call fcn.0042eb98
lea ecx, [ebp + 0x4c]
call fcn.0042eb98
lea ecx, [ebp + 0x48]
call fcn.0042eb98
lea ecx, [ebp + 0x44]
call fcn.0042eb98
lea ecx, [ebp + 0x58]
call fcn.0042eb98
lea ecx, [ebp + 0x2c]
call fcn.0042eb98
lea ecx, [ebp + 0x40]
call fcn.0042eb98
pop edi
pop esi
xor eax, eax
pop ebx
add ebp, 0x6c
leave
ret 0xc