Function at 0x1dd8610
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1e32515
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x1e94008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], ebx
push 1
push str.FileOpenDialog
push 0
mov dword [ebp - 0x42c], ebx
call fcn.01ddca50
mov dword [ebp - 4], 0
mov dword [ebx], vtable.vgui2::FileOpenDialog.0
call fcn.01ddb850
call fcn.01ddb7e0
call fcn.01ddb6f0
call fcn.01ddb680
sub esp, 0xc
lea ecx, [ebx + 0x53c]
call fcn.01ddaff0
push 1
push str.GameUI_ImportImage
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.01ddddc0
mov ecx, dword [ebx + 0xe8]
push 0
mov eax, dword [ecx]
call dword [eax + 0x74]
push 0x3ff
lea esi, [ebx + 0x13c]
push 0x1e767d4
push esi
call fcn.01e0d270
push 0x150
mov byte [esi + 0x3ff], 0
call fcn.01e0626e
add esp, 0x10
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1dd86fb
push 0
push 6
push str.FullPathEdit
push ebx
mov ecx, eax
call fcn.01dee6b0
mov esi, eax
jmp 0x1dd86fd
xor esi, esi
mov dword [ebx + 0x110], esi
cmp dword [esi + 0x6c], 0
jne 0x1dd8732
push 0x24
call fcn.01e0626e
add esp, 4
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x1dd872d
sub esp, 8
mov ecx, eax
call fcn.01de5600
jmp 0x1dd872f
xor eax, eax
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x6c]
push 0xec
or byte [eax + 0x20], 2
call fcn.01e0626e
add esp, 4
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x1dd8765
push str.FileList
push ebx
mov ecx, eax
call fcn.01df07b0
mov ecx, eax
jmp 0x1dd8767
xor ecx, ecx
mov byte [ebp - 4], 1
mov dword [ebx + 0x114], ecx
mov eax, dword [ecx]
push 0x1dd7c50
call dword [eax + 0x240]
push 0x13c
call fcn.01e0626e
add esp, 4
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x1dd87a6
push ecx
push ebx
mov ecx, eax
call fcn.01dd7eb0
mov ecx, eax
jmp 0x1dd87a8
xor ecx, ecx
mov byte [ebp - 4], 1
mov dword [ebx + 0x118], ecx
mov eax, dword [ecx]
push ebx
call dword [eax + 0xa4]
push 0x150
call fcn.01e0626e
add esp, 4
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x1dd87e9
push 0
push 6
push str.FileTypeCombo
push ebx
mov ecx, eax
call fcn.01dee6b0
jmp 0x1dd87eb
xor eax, eax
push 0x108
mov dword [ebx + 0x11c], eax
call fcn.01e0626e
add esp, 4
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x1dd8820
push str.FileOpenDialog_Open
push str.OpenButton
push ebx
mov ecx, eax
call fcn.01de3ca0
jmp 0x1dd8822
xor eax, eax
push 0x108
mov dword [ebx + 0x120], eax
call fcn.01e0626e
add esp, 4
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x1dd8857
push str.FileOpenDialog_Cancel
push str.CancelButton
push ebx
mov ecx, eax
call fcn.01de3ca0
jmp 0x1dd8859
xor eax, eax
push 0x108
mov dword [ebx + 0x124], eax
call fcn.01e0626e
add esp, 4
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x1dd888e
push 0x1e70c8e
push str.FolderUpButton
push ebx
mov ecx, eax
call fcn.01de3ca0
jmp 0x1dd8890
xor eax, eax
push 0xbc
mov dword [ebx + 0x128], eax
call fcn.01e0626e
add esp, 4
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x1dd88c5
push str.FileOpenDialog_Look_in
push str.LookInLabel
push ebx
mov ecx, eax
call fcn.01de1b60
jmp 0x1dd88c7
xor eax, eax
push 0xbc
mov dword [ebx + 0x134], eax
call fcn.01e0626e
add esp, 4
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x1dd88fc
push str.FileOpenDialog_File_Name
push str.FileNameLabel
push ebx
mov ecx, eax
call fcn.01de1b60
jmp 0x1dd88fe
xor eax, eax
push 0xbc
mov dword [ebx + 0x138], eax
call fcn.01e0626e
add esp, 4
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x1dd8933
push str.FileOpenDialog_File_Type
push str.FileTypeLabel
push ebx
mov ecx, eax
call fcn.01de1b60
jmp 0x1dd8935
xor eax, eax
push 0x88
mov dword [ebx + 0x130], eax
call fcn.01e0626e
add esp, 4
mov dword [ebp - 0x424], eax
mov byte [ebp - 4], 0xd
test eax, eax
je 0x1dd8965
push str.FolderIcon
push ecx
mov ecx, eax
call fcn.01df2570
jmp 0x1dd8967
xor eax, eax
mov byte [ebp - 4], 1
mov ecx, ebx
mov esi, dword [0x1ea7780]
mov dword [ebx + 0x12c], eax
mov eax, dword [ebx]
push 0x104
mov edi, dword [esi]
push 0x1aa
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 0x10]
mov ebx, dword [ebx + 0x110]
mov ecx, ebx
mov esi, dword [0x1ea7780]
push 0x20
push 0x43
mov eax, dword [ebx]
mov edi, dword [esi]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 8]
mov esi, dword [0x1ea7780]
mov ecx, ebx
mov eax, dword [ebx]
push 0x18
push 0x136
mov edi, dword [esi]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 0x10]
mov ebx, dword [ebp - 0x428]
mov esi, dword [0x1ea7780]
push 0x20
push 0x188
mov ebx, dword [ebx + 0x128]
mov ecx, ebx
mov edi, dword [esi]
mov eax, dword [ebx]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 8]
mov esi, dword [0x1ea7780]
mov ecx, ebx
mov eax, dword [ebx]
push 0x18
push 0x18
mov edi, dword [esi]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 0x10]
mov eax, dword [ebp - 0x428]
mov esi, dword [0x1ea7780]
push 0x3c
push 0xa
mov ebx, dword [eax + 0x114]
mov ecx, ebx
mov edi, dword [esi]
mov eax, dword [ebx]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 8]
mov esi, dword [0x1ea7780]
mov ecx, ebx
mov eax, dword [ebx]
push 0x82
push 0x196
mov edi, dword [esi]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 0x10]
mov eax, dword [ebp - 0x428]
mov esi, dword [0x1ea7780]
mov ebx, dword [eax + 0x118]
mov edi, dword [esi]
mov eax, dword [ebx]
mov ecx, ebx
push 0xc2
push 0x54
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 8]
mov esi, dword [0x1ea7780]
mov ecx, ebx
mov eax, dword [ebx]
push 0x18
push 0xee
mov edi, dword [esi]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 0x10]
mov eax, dword [ebp - 0x428]
mov esi, dword [0x1ea7780]
push 0xe0
push 0x54
mov ebx, dword [eax + 0x11c]
mov ecx, ebx
mov edi, dword [esi]
mov eax, dword [ebx]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 8]
mov esi, dword [0x1ea7780]
mov ecx, ebx
mov eax, dword [ebx]
push 0x18
push 0xee
mov edi, dword [esi]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 0x10]
mov eax, dword [ebp - 0x428]
mov esi, dword [0x1ea7780]
push 0xc2
push 0x150
mov ebx, dword [eax + 0x120]
mov ecx, ebx
mov edi, dword [esi]
mov eax, dword [ebx]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 8]
mov esi, dword [0x1ea7780]
mov ecx, ebx
mov eax, dword [ebx]
push 0x18
push 0x4a
mov edi, dword [esi]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 0x10]
mov eax, dword [ebp - 0x428]
mov esi, dword [0x1ea7780]
push 0xe0
push 0x150
mov ebx, dword [eax + 0x124]
mov ecx, ebx
mov edi, dword [esi]
mov eax, dword [ebx]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 8]
mov esi, dword [0x1ea7780]
mov ecx, ebx
mov eax, dword [ebx]
push 0x18
push 0x4a
mov edi, dword [esi]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 0x10]
mov eax, dword [ebp - 0x428]
mov esi, dword [0x1ea7780]
push 0x20
push 0xa
mov ebx, dword [eax + 0x134]
mov ecx, ebx
mov edi, dword [esi]
mov eax, dword [ebx]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 8]
mov esi, dword [0x1ea7780]
mov ecx, ebx
mov eax, dword [ebx]
push 0x18
push 0x37
mov edi, dword [esi]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 0x10]
mov eax, dword [ebp - 0x428]
mov esi, dword [0x1ea7780]
push 0xc2
push 0xa
mov ebx, dword [eax + 0x138]
mov ecx, ebx
mov edi, dword [esi]
mov eax, dword [ebx]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 8]
mov esi, dword [0x1ea7780]
mov ecx, ebx
mov eax, dword [ebx]
push 0x18
push 0x48
mov edi, dword [esi]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 0x10]
mov eax, dword [ebp - 0x428]
mov esi, dword [0x1ea7780]
push 0xe0
push 0xa
mov ebx, dword [eax + 0x130]
mov ecx, ebx
mov edi, dword [esi]
mov eax, dword [ebx]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 8]
mov esi, dword [0x1ea7780]
mov ecx, ebx
mov eax, dword [ebx]
push 0x18
push 0x48
mov edi, dword [esi]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 0x10]
mov ebx, dword [ebp - 0x428]
mov eax, dword [ebx + 0x110]
mov dword [eax + 0x60], 1
mov eax, dword [ebx + 0x118]
mov dword [eax + 0x60], 1
mov eax, dword [ebx + 0x11c]
mov dword [eax + 0x60], 1
mov eax, dword [ebx + 0x114]
mov dword [eax + 0x60], 3
mov eax, dword [ebx + 0x128]
mov dword [eax + 0x5c], 1
mov eax, dword [ebx + 0x118]
mov dword [eax + 0x5c], 2
mov eax, dword [ebx + 0x11c]
push 3
mov dword [eax + 0x5c], 2
mov eax, dword [ebx + 0x120]
mov dword [eax + 0x5c], 3
mov eax, dword [ebx + 0x124]
mov dword [eax + 0x5c], 3
mov eax, dword [ebx + 0x138]
mov dword [eax + 0x5c], 2
mov eax, dword [ebx + 0x130]
mov dword [eax + 0x5c], 2
mov ecx, dword [ebx + 0x134]
mov eax, dword [ecx]
call dword [eax + 0x22c]
mov ecx, dword [ebx + 0x138]
push 3
mov eax, dword [ecx]
call dword [eax + 0x22c]
mov ecx, dword [ebx + 0x130]
push 3
mov eax, dword [ecx]
call dword [eax + 0x22c]
mov ecx, dword [ebx + 0x134]
push dword [ebx + 0x110]
mov eax, dword [ecx]
call dword [eax + 0x254]
mov ecx, dword [ebx + 0x138]
push dword [ebx + 0x118]
mov eax, dword [ecx]
call dword [eax + 0x254]
mov ecx, dword [ebx + 0x130]
push dword [ebx + 0x11c]
mov eax, dword [ecx]
call dword [eax + 0x254]
mov eax, dword [ebx + 0x78]
lea ecx, [ebx + 0x78]
push dword [ebx + 0x120]
call dword [eax + 4]
mov ecx, dword [ebx + 0x118]
push 1
mov eax, dword [ecx]
call dword [eax + 0xec]
mov ecx, dword [ebx + 0x11c]
push 2
mov eax, dword [ecx]
call dword [eax + 0xec]
mov ecx, dword [ebx + 0x120]
push 3
mov eax, dword [ecx]
call dword [eax + 0xec]
mov ecx, dword [ebx + 0x124]
push 4
mov eax, dword [ecx]
call dword [eax + 0xec]
mov ecx, dword [ebx + 0x110]
push 5
mov eax, dword [ecx]
call dword [eax + 0xec]
mov ecx, dword [ebx + 0x114]
push 6
mov eax, dword [ecx]
call dword [eax + 0xec]
mov ecx, dword [ebx + 0x120]
push str.Open
mov eax, dword [ecx]
call dword [eax + 0x310]
mov ecx, dword [ebx + 0x124]
push str.Close
mov eax, dword [ecx]
call dword [eax + 0x310]
mov ecx, dword [ebx + 0x128]
push str.FolderUp
mov eax, dword [ecx]
call dword [eax + 0x310]
mov esi, dword [0x1ea7780]
mov ecx, ebx
mov eax, dword [ebx]
push 0x180
push 0x1aa
mov edi, dword [esi]
call dword [eax]
push eax
mov ecx, esi
call dword [edi + 0x10]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 2
push 0x208
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.vstdlib_d.dll_V_UTF16ToUTF8]
add esp, 0x10
test eax, eax
je 0x1dd8e2f
mov ecx, dword [ebx + 0x110]
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ecx]
call dword [eax + 0x218]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x314]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x300]
mov ecx, ebx
call fcn.01dd9130
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret 8