Function at 0x44528e
Capabilities:
Get common file path

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.0042c827
push dword [ebp + 0x40]
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push dword [ebp + 0x34]
lea ecx, [ebp + 0x28]
call fcn.0042e48d
lea eax, [ebp + 0x74]
push eax
call fcn.00427312
push 4
lea eax, [ebp + 0x74]
push eax
push str._fix
call fcn.0042e2da
add esp, 0x10
mov esi, 0x480934
push esi
lea ecx, [ebp + 0x50]
mov byte [ebp + 0x57], al
call fcn.004365ba
push esi
lea ecx, [ebp + 0x44]
call fcn.004365ba
push esi
lea ecx, [ebp + 0x48]
call fcn.004365ba
push esi
lea ecx, [ebp + 0x4c]
call fcn.004365ba
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.00428219
add esp, 0xc
test al, al
je 0x445343
add dword [ebp + 0x74], 8
lea eax, [ebp + 0x74]
push eax
mov byte [ebp + 0x5e], 1
call fcn.00427312
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.00440941
push ebx
lea ecx, [ebp + 0x50]
push ecx
push eax
call fcn.0042ec20
mov ecx, dword [ebp + 0x34]
add esp, 0xc
push ebx
lea eax, [ebp + 0x50]
push eax
call fcn.00402b15
mov eax, dword [ebp + 0x50]
cmp word [eax], bx
je 0x4458ab
mov eax, dword [ebp + 0x74]
cmp word [eax], di
jne 0x44538a
add dword [ebp + 0x74], 2
lea eax, [ebp + 0x74]
push eax
call fcn.00427312
pop ecx
mov ecx, dword [ebp + 0x74]
jmp 0x4453b4
cmp ax, 0x26
jne 0x4453a5
mov byte [ebp + 0x6b], 1
jmp 0x4453af
cmp ax, 0x2a
jne 0x4453bc
mov byte [ebp + 0x5f], 1
inc ecx
inc ecx
mov dword [ebp + 0x74], ecx
mov ax, word [ecx]
cmp ax, bx
jne 0x445399
lea eax, [ebp + 0x74]
push eax
call fcn.00427312
pop ecx
push esi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x28]
call fcn.00440941
push ebx
lea ecx, [ebp + 0x44]
push ecx
push eax
call fcn.0042ec20
push dword [ebp + 0x44]
call fcn.0040d003
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x74]
add esp, 0x10
cmp word [eax], di
jne 0x445465
add dword [ebp + 0x74], 2
push esi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x28]
call fcn.00440941
push ebx
lea ecx, [ebp + 0x48]
push ecx
push eax
call fcn.0042ec20
mov eax, dword [ebp + 0x74]
add esp, 0xc
cmp word [eax], di
jne 0x445465
add dword [ebp + 0x74], 2
push esi
push edi
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x28]
call fcn.00440941
push ebx
lea ecx, [ebp + 0x4c]
push ecx
push eax
call fcn.0042ec20
mov eax, dword [ebp + 0x74]
add esp, 0xc
cmp word [eax], di
jne 0x445465
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.00440941
push eax
call fcn.0042ee6d
add esp, 0xc
push dword [ebp + 0x3c]
lea ecx, [ebp + 0x58]
xor esi, esi
call fcn.004365ba
mov edi, dword [ebp + 0x58]
cmp word [edi], bx
je 0x4454ce
cmp byte [ebp + 0x57], bl
je 0x4454cc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [edi], bx
mov esi, eax
je 0x4454cc
cmp word [edi + 2], 0x3a
jne 0x4454cc
cmp word [edi + 4], 0x5c
jne 0x4454cc
cmp word [edi + 6], 0x2e
je 0x4454cc
lea eax, [esi + 8]
push eax
lea ecx, [ebp + 0x58]
call fcn.0042c850
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.0046cf30
add esp, 0xc
mov word [edi + 6], 0x2e
mov esi, edi
lea ecx, [ebp + 0x74]
call fcn.0042c809
push dword [ebp + 0x78]
call fcn.004299a8
cmp byte [ebp + 0x5f], bl
mov edx, eax
pop ecx
mov dword [ebp + 0x38], edx
jne 0x4457e0
push 0xffffffffffffffff
push 0x4873f0
lea ecx, [ebp + 0x78]
mov dword [ebp + 0x64], ebx
call fcn.004365f0
mov esi, dword [ebp + 0x4c]
xor eax, eax
mov ax, word [esi]
cmp ax, bx
mov dword [ebp + 0x3c], eax
je 0x44558c
push 0x7c
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
lea ecx, [ebp + 0x78]
push esi
je 0x44554f
call fcn.00436622
push 0x4873ec
lea ecx, [ebp + 0x78]
call fcn.0042c877
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x64], eax
jmp 0x445548
cmp word [eax], 0x7c
jne 0x445546
mov word [eax], bx
inc eax
inc eax
cmp word [eax], bx
jne 0x44553d
jmp 0x44558c
call fcn.0042c877
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.0042c850
lea eax, [esi + 1]
push eax
mov eax, dword [ebp + 0x78]
push eax
lea eax, [eax + esi*2 + 2]
push eax
call fcn.00403c6b
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 0x4455a6
mov esi, 0x3f7a2
lea eax, [esi + 8]
push eax
lea ecx, [ebp + 0x58]
call fcn.0042c850
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.0046c9b0
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 0x445621
or byte [ebp + 6], 0x20
call fcn.00428308
cmp byte [ebp + 0x6b], bl
lea eax, [ebp - 0x30]
push eax
je 0x445637
call dword [0x496fe8]
jmp 0x44563d
call dword [0x496fe4]
cmp eax, 1
jne 0x4457d6
test byte [ebp + 5], 2
je 0x445667
test byte [ebp + 6], 8
mov esi, dword [ebp - 0x14]
je 0x4456c0
push esi
mov edi, esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x445677
push dword [ebp - 0x14]
lea ecx, [ebp + 0x74]
call fcn.00436622
jmp 0x445772
mov eax, dword [ebp + 0x74]
cmp word [eax], bx
je 0x44568c
push 0x483110
lea ecx, [ebp + 0x74]
call fcn.0042c877
push edi
lea ecx, [ebp + 0x74]
call fcn.0042c877
push 0x480bd8
lea ecx, [ebp + 0x74]
call fcn.0042c877
push esi
lea ecx, [ebp + 0x74]
call fcn.0042c877
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x445677
jmp 0x445772
lea eax, [ebp + 0x64]
push eax
mov dword [ebp + 0x64], esi
call fcn.0040ef3f
mov eax, dword [ebp + 0x64]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x60]
call fcn.004365d7
push 0x480bd8
lea ecx, [ebp + 0x60]
call fcn.0042c877
lea eax, [ebp + 0x64]
push eax
call fcn.00427312
mov esi, dword [ebp + 0x64]
cmp word [esi], bx
pop ecx
jne 0x44570a
push dword [ebp - 0x14]
lea ecx, [ebp + 0x74]
call fcn.00436622
jmp 0x44576a
mov eax, dword [ebp + 0x74]
cmp word [eax], bx
je 0x44571f
push 0x483110
lea ecx, [ebp + 0x74]
call fcn.0042c877
push dword [ebp + 0x60]
lea ecx, [ebp + 0x74]
call fcn.0042c877
lea eax, [ebp + 0x64]
push eax
call fcn.0040ef3f
mov eax, dword [ebp + 0x64]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x38]
call fcn.004365d7
push dword [ebp + 0x38]
lea ecx, [ebp + 0x74]
call fcn.0042c877
lea eax, [ebp + 0x64]
push eax
call fcn.00427312
pop ecx
lea ecx, [ebp + 0x38]
call fcn.00427365
mov esi, dword [ebp + 0x64]
cmp word [esi], bx
jne 0x44570a
lea ecx, [ebp + 0x60]
call fcn.00427365
test byte [ebp + 5], 2
jne 0x4457d6
cmp byte [ebp + 0x5e], bl
jne 0x4457d6
cmp byte [ebp + 0x6b], bl
je 0x4457d6
cmp word [ebp + 0x3c], bx
je 0x4457d6
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp + 0x60]
call fcn.0043660b
push dword [ebp + 0x60]
call fcn.0042a080
cmp eax, ebx
pop ecx
jne 0x4457a6
mov eax, dword [ebp + 0x60]
jmp 0x4457a8
inc eax
inc eax
push 0x2e
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
jne 0x4457ce
push 0x4812f8
lea ecx, [ebp + 0x74]
call fcn.0042c877
push dword [ebp + 0x4c]
lea ecx, [ebp + 0x74]
call fcn.0042c877
lea ecx, [ebp + 0x60]
call fcn.00427365
lea ecx, [ebp + 0x78]
call fcn.00427365
jmp 0x44585e
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 0x445824
mov dword [ebp - 0x3c], 0x42fb18
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 0x445856
lea ecx, [ebp - 0x258]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x445856
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp + 0x74]
call fcn.00436622
lea ecx, [ebp + 0x78]
call fcn.0042fae5
mov ecx, dword [ebp + 0x7c]
cmp ecx, ebx
push dword [ebp + 0x74]
je 0x44586f
call fcn.0043667e
jmp 0x44588d
lea ecx, [ebp + 0x78]
call fcn.004365ba
push dword [ebp + 0x78]
mov ecx, dword [ebp + 0x34]
push dword [ebp + 0x50]
call fcn.0042b2cd
lea ecx, [ebp + 0x78]
call fcn.00427365
push dword [ebp + 0x40]
call fcn.0040a41e
pop ecx
call fcn.0040f134
lea ecx, [ebp + 0x74]
call fcn.00427365
lea ecx, [ebp + 0x58]
call fcn.00427365
lea ecx, [ebp + 0x4c]
call fcn.00427365
lea ecx, [ebp + 0x48]
call fcn.00427365
lea ecx, [ebp + 0x44]
call fcn.00427365
lea ecx, [ebp + 0x50]
call fcn.00427365
lea ecx, [ebp + 0x28]
call fcn.00427365
lea ecx, [ebp + 0x40]
call fcn.00427365
pop edi
pop esi
xor eax, eax
pop ebx
add ebp, 0x6c
leave
ret 0xc