Function at 0x7d03bdd5
Capabilities:
Get common file path

Disassembly:
sub esp, 0x704
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push ebp
push esi
push edi
mov edi, dword [esp + 0x718]
mov esi, ecx
push 0x7560
push edi
mov dword [esi + 0x30], edi
call ebx
push 0x7563
push edi
mov dword [esi + 0x34], eax
call ebx
push 0x7565
push edi
mov dword [esi + 0x38], eax
call ebx
xor ebp, ebp
cmp eax, ebp
je 0x7d03be25
push ebp
push dword [0x7cf4d1a4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_165]
call fcn.7cf6b821
mov eax, dword [0x7d04ed8c]
cmp eax, ebp
jne 0x7d03beae
lea eax, [esp + 0x10]
push 0x7cf392b0
push eax
call fcn.7d0307d8
mov edi, eax
cmp edi, ebp
jl 0x7d03c2b4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0xa
push edx
lea edx, [esp + 0x468]
mov dword [esp + 0x1c], 0x104
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x7d03be85
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x460]
push 4
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 0x10]
push 0x7d04ed8c
push 0x7cf395c0
push eax
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp edi, ebp
jl 0x7d03c2b4
jmp 0x7d03beb4
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
push 0x4000004a
call sym.SHELL32.dll_SHRestricted
cmp eax, ebp
mov dword [esi + 0x50], eax
jne 0x7d03bed7
push 0x40000004
call sym.SHELL32.dll_SHRestricted
test eax, eax
je 0x7d03bed7
xor eax, eax
jmp 0x7d03beda
push 1
pop eax
push 0x40000011
mov dword [esi + 0x40], eax
call sym.SHELL32.dll_SHRestricted
neg eax
sbb eax, eax
inc eax
cmp dword [esi + 0x40], ebp
mov dword [esi + 0x44], eax
jne 0x7d03bef9
mov dword [esi + 0x3c], ebp
jmp 0x7d03bf0b
push 0x40000010
call sym.SHELL32.dll_SHRestricted
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3c], eax
push ebp
push ebp
call fcn.7d02d65f
push ebp
mov dword [esi + 0x48], eax
call fcn.7d02d6ae
push 9
push 9
push 1
push 0x32
mov dword [esi + 0x4c], eax
call fcn.7cf5b11e
push eax
push 0x31
call fcn.7cf5b11e
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x14], edi
je 0x7d03c01c
push ebp
push 0x32
call fcn.7cf5b11e
push eax
push 0x31
call fcn.7cf5b11e
push eax
push 1
push 0xc8
push dword [0x7d04cdfc]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 0xffffffffffffffff
push edi
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov edi, 0x7cf4b430
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x50]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push eax
call edi
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], 0x7cf4b370
lea eax, [esp + eax*2 + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
push dword [eax]
push dword [esp + 0x30]
call edi
push 0x111
lea eax, [esp + 0x464]
push 0x2b4
push eax
lea eax, [esp + 0x5c]
push ebp
push eax
call sym.SHELL32.dll_SHGetFileInfoW
test eax, eax
je 0x7d03bff5
push dword [esp + 0x460]
push 0xffffffffffffffff
push dword [esp + 0x1c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [esp + 0x460]
call dword [sym.imp.USER32.dll_DestroyIcon]
add dword [esp + 0x10], 4
cmp dword [esp + 0x10], 0x7cf4b394
jb 0x7d03bfa8
push dword [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0x1003
push dword [esi + 0x34]
call edi
jmp 0x7d03c022
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x50]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 0x50]
push 0x104
push eax
push ebp
push 0x7cf4b358
push 0x7cf4b2f8
push reloc.SHLWAPI.dll_ParseURLW
call fcn.7cf6bddd
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 9
push eax
push ebp
push 0x1061
mov dword [esp + 0x40], ebp
push dword [esi + 0x34]
mov dword [esp + 0x54], ebp
call edi
push ebp
push 0x7d04eda0
push ebp
mov ecx, esi
call fcn.7d03b7ab
push 1
lea eax, [esp + 0x54]
push dword [0x7cf4b370]
mov ecx, esi
push eax
call fcn.7d03b8bc
lea eax, [esp + 0x50]
push 0x104
push eax
call fcn.7d032f7c
lea eax, [esp + 0x50]
mov ecx, esi
push eax
call fcn.7d03bd6d
lea eax, [esp + 0x50]
push eax
push ebp
push ebp
push 0x8027
push ebp
call sym.SHELL32.dll_SHGetFolderPathW
test eax, eax
jne 0x7d03c0d0
lea eax, [esp + 0x50]
mov ecx, esi
push eax
call fcn.7d03bd6d
push 0x7d03bcfb
push ebp
push 0x1030
push dword [esi + 0x34]
call edi
mov eax, dword [0x7d04ed8c]
push ebp
lea edx, [esp + 0x25c]
push 0x104
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
cmp dword [esi + 0x3c], ebp
jne 0x7d03c117
lea eax, [esp + 0x258]
push eax
call fcn.7d03235f
test eax, eax
jne 0x7d03c117
mov word [esp + 0x258], bp
lea eax, [esp + 0x258]
mov ecx, esi
push eax
call fcn.7d03bb51
xor eax, eax
cmp dword [0x7d04ce40], ebp
mov dword [esp + 0x10], ebp
setne al
inc eax
cmp eax, ebp
mov dword [esp + 0x14], eax
jl 0x7d03c17c
lea eax, [esp + 0x50]
push 0x104
push eax
mov eax, dword [esp + 0x18]
add eax, 0x761c
push eax
push dword [0x7d04cdfc]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0x50]
push eax
push ebp
push 0x143
push dword [esi + 0x38]
call edi
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x14]
jle 0x7d03c13e
mov eax, dword [0x7d04ed8c]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 8
push ebp
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
cmp dword [0x7d04ce40], ebp
mov eax, dword [esp + 0x28]
jne 0x7d03c1a4
and eax, 1
push ebp
push eax
push 0x14e
push dword [esi + 0x38]
call edi
cmp dword [esi + 0x44], ebp
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
jne 0x7d03c20f
push ebp
push 0x7567
push dword [esi + 0x30]
call ebx
push eax
call edi
push ebp
push 0x7563
push dword [esi + 0x30]
call ebx
push eax
call edi
push ebp
push 0x7561
push dword [esi + 0x30]
call ebx
push eax
call edi
push ebp
push 0x7562
push dword [esi + 0x30]
call ebx
push eax
call edi
push ebp
push 0x7560
push dword [esi + 0x30]
call ebx
push eax
call edi
push ebp
push 0x7568
push dword [esi + 0x30]
call ebx
push eax
call edi
cmp dword [esi + 0x48], ebp
je 0x7d03c23e
push ebp
push 0x7561
push dword [esi + 0x30]
call ebx
push eax
call edi
push ebp
push 0x7560
push dword [esi + 0x30]
call ebx
push eax
call edi
push ebp
push 0x7568
push dword [esi + 0x30]
call ebx
push eax
call edi
cmp dword [esi + 0x4c], ebp
je 0x7d03c25f
push ebp
push 0x7563
push dword [esi + 0x30]
call ebx
push eax
call edi
push ebp
push 0x7567
push dword [esi + 0x30]
call ebx
push eax
call edi
mov eax, dword [0x7d04ed8c]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0xc
push ebp
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x28]
cmp dword [esi + 0x50], ebp
je 0x7d03c28d
cmp dword [esp + 0x20], ebp
jne 0x7d03c2ad
mov dword [esp + 0x20], 1
jmp 0x7d03c29c
cmp dword [esi + 0x40], ebp
jne 0x7d03c2ad
cmp dword [esp + 0x20], ebp
je 0x7d03c2ad
mov dword [esp + 0x20], ebp
mov eax, dword [0x7d04ed8c]
lea edx, [esp + 0x18]
push ebp
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov ecx, esi
call fcn.7d03ba2a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x704
ret 4