Function at 0x100518e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101019ed
mov eax, dword fs:[0]
push eax
sub esp, 0x760
mov eax, dword [0x10145fb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x670], esi
mov dword [ebp - 0x670], eax
mov eax, dword [ebp + 0x14]
push 0x50
mov dword [ebp - 0x67c], eax
lea eax, [ebp - 0x6cc]
push 0
push eax
mov dword [ebp - 0x674], esi
mov dword [ebp - 0x678], edi
call fcn.100cdc50
mov eax, dword [edi]
add esp, 0xc
mov dword [ebp - 0x6d4], 0x58
mov dword [ebp - 0x6d0], 0
cmp dword [eax - 0xc], 0
jne 0x1005197f
mov dword [ebp - 0x6c8], str.All_Files_._
mov dword [ebp - 0x698], 0
jmp 0x10051ace
call fcn.10009850
mov ecx, eax
test ecx, ecx
je 0x10051d86
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x66c], eax
push dword [edi]
lea eax, [ebp - 0x66c]
mov dword [ebp - 4], 0
push dword [edi]
push dword [edi]
push 0x10112138
push eax
call fcn.10014e70
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100cdc50
push dword [edi]
lea eax, [ebp - 0x66c]
push dword [edi]
push str._s_Files_._s_
push eax
call fcn.10014e70
mov esi, dword [ebp - 0x66c]
lea eax, [ebp - 0x420]
add esp, 0x30
push esi
push dword [esi - 0xc]
push eax
call fcn.10056140
mov eax, dword [esi - 0xc]
lea edi, [ebp - 0x41e]
lea edi, [edi + eax*2]
mov eax, dword [ebp - 0x678]
push dword [eax]
lea eax, [ebp - 0x66c]
push str.._s_
push eax
call fcn.10014e70
mov esi, dword [ebp - 0x66c]
add esp, 0xc
push esi
push dword [esi - 0xc]
push edi
call fcn.10056140
mov eax, dword [esi - 0xc]
push str.All_Files_.__
lea edi, [edi + eax*2]
lea eax, [ebp - 0x66c]
add edi, 2
push eax
call fcn.10014e70
mov esi, dword [ebp - 0x66c]
add esp, 8
push esi
push dword [esi - 0xc]
push edi
call fcn.10056140
mov eax, dword [esi - 0xc]
push str.._
lea edi, [edi + eax*2]
lea eax, [ebp - 0x66c]
add edi, 2
push eax
call fcn.10014e70
mov esi, dword [ebp - 0x66c]
add esp, 8
push esi
push dword [esi - 0xc]
push edi
call fcn.10056140
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x6c8], eax
add esi, 0xfffffff0
mov eax, dword [ebp - 0x678]
mov eax, dword [eax]
mov dword [ebp - 0x698], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10051ac8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x674]
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x6bc], 1
push 0
push eax
call fcn.100cdc50
mov ecx, dword [ebp - 0x67c]
add esp, 0xc
mov ecx, dword [ecx]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x10051b11
push 1
push eax
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
jmp 0x10051b28
inc eax
push eax
push ecx
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.100d7606
add esp, 0x10
lea eax, [ebp - 0x218]
mov dword [ebp - 0x6b4], 0x104
push 0x200
mov dword [ebp - 0x6b8], eax
lea eax, [ebp - 0x620]
push 0
push eax
call fcn.100cdc50
lea eax, [ebp - 0x620]
mov dword [ebp - 0x6ac], 0x200
mov dword [ebp - 0x6b0], eax
add esp, 0xc
lea eax, [ebp - 0x218]
mov dword [ebp - 0x6a0], 0
mov dword [ebp - 0x6a8], eax
mov eax, dword [ebp - 0x670]
mov eax, dword [eax]
mov dword [ebp - 0x6a4], eax
xor eax, eax
mov dword [ebp - 0x69c], eax
lea eax, [ebp - 0x6d4]
push eax
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
jne 0x10051cd4
call dword [sym.imp.COMDLG32.dll_CommDlgExtendedError]
mov dword [ebp - 0x670], eax
call fcn.1007b1e0
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x10051ca9
push 0x5c
mov dword [ebp - 0x658], ecx
mov byte [ebp - 0x668], cl
lea ecx, [ebp - 0x668]
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicutils.cc
mov dword [ebp - 0x654], 0xf
call fcn.1000af60
push 3
push 0x1010ccec
lea ecx, [ebp - 0x650]
mov dword [ebp - 4], 1
mov dword [ebp - 0x640], 0
mov dword [ebp - 0x63c], 0xf
mov byte [ebp - 0x650], 0
call fcn.1000af60
mov byte [ebp - 4], 2
call fcn.1007b1e0
mov edi, eax
lea ecx, [ebp - 0x76c]
push 0x1c0
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x650]
push eax
call fcn.10007c00
mov esi, eax
push str._Utils__OpenFileSaveDialog__err_to_save_file_name:
push esi
mov byte [ebp - 4], 3
call fcn.10008f40
add esp, 8
mov ecx, esi
push dword [ebp - 0x670]
call fcn.10014680
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x76c]
call fcn.10009000
lea ecx, [ebp - 0x650]
call fcn.100087a0
lea ecx, [ebp - 0x668]
mov dword [ebp - 4], 0xffffffff
call fcn.100087a0
mov esi, dword [ebp - 0x674]
xor eax, eax
push eax
push 0x1010cb24
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.1000b050
jmp 0x10051d69
mov edx, dword [ebp - 0x6b8]
xor eax, eax
mov word [ebp - 0x638], ax
mov eax, edx
mov dword [ebp - 0x628], 0
mov dword [ebp - 0x624], 7
lea edi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10051d00
sub eax, edi
lea ecx, [ebp - 0x638]
sar eax, 1
push eax
push edx
call fcn.1000b050
movups xmm0, xmmword [ebp - 0x638]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x638]
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [ebp - 0x638], ax
movq xmm0, qword [ebp - 0x628]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x628], 0
mov dword [ebp - 0x624], 7
call fcn.100087f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b254d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10009640
int3