Function at 0x1004e580
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f04cd
mov eax, dword fs:[0]
push eax
sub esp, 0x760
mov eax, dword [0x10130fc4]
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.100bcde0
mov eax, dword [edi]
add esp, 0xc
mov dword [ebp - 0x6d4], 0x58
mov dword [ebp - 0x6d0], 0
cmp dword [eax - 0xc], 0
jne 0x1004e61f
mov dword [ebp - 0x6c8], str.All_Files_._
mov dword [ebp - 0x698], 0
jmp 0x1004e76e
call fcn.10009940
mov ecx, eax
test ecx, ecx
je 0x1004ea08
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 0x100ffdf0
push eax
call fcn.10014d30
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100bcde0
push dword [edi]
lea eax, [ebp - 0x66c]
push dword [edi]
push str._s_Files_._s_
push eax
call fcn.10014d30
mov esi, dword [ebp - 0x66c]
lea eax, [ebp - 0x420]
add esp, 0x30
push esi
push dword [esi - 0xc]
push eax
call fcn.10050270
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.10014d30
mov esi, dword [ebp - 0x66c]
add esp, 0xc
push esi
push dword [esi - 0xc]
push edi
call fcn.10050270
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.10014d30
mov esi, dword [ebp - 0x66c]
add esp, 8
push esi
push dword [esi - 0xc]
push edi
call fcn.10050270
mov eax, dword [esi - 0xc]
push str.._
lea edi, [edi + eax*2]
lea eax, [ebp - 0x66c]
add edi, 2
push eax
call fcn.10014d30
mov esi, dword [ebp - 0x66c]
add esp, 8
push esi
push dword [esi - 0xc]
push edi
call fcn.10050270
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 0x1004e768
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.100bcde0
mov ecx, dword [ebp - 0x67c]
add esp, 0xc
mov ecx, dword [ecx]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x1004e7b1
push 1
push eax
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
jmp 0x1004e7c8
inc eax
push eax
push ecx
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.100c6796
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.100bcde0
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 0x1004e970
call dword [sym.imp.COMDLG32.dll_CommDlgExtendedError]
mov dword [ebp - 0x670], eax
call fcn.1006fe30
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x1004e949
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.1000b050
push 3
push 0x100faf40
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.1000b050
mov byte [ebp - 4], 2
call fcn.1006fe30
mov edi, eax
lea ecx, [ebp - 0x76c]
push 0x1bc
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x650]
push eax
call fcn.10007cf0
mov esi, eax
push str._Utils__OpenFileSaveDialog__err_to_save_file_name:
push esi
mov byte [ebp - 4], 3
call fcn.10009030
add esp, 8
mov ecx, esi
push dword [ebp - 0x670]
call fcn.10014540
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x76c]
call fcn.100090f0
lea ecx, [ebp - 0x650]
call fcn.10008890
lea ecx, [ebp - 0x668]
mov dword [ebp - 4], 0xffffffff
call fcn.10008890
mov esi, dword [ebp - 0x674]
xor eax, eax
push 0x100fab24
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.10050670
jmp 0x1004e9eb
push dword [ebp - 0x6b8]
xor eax, eax
mov dword [ebp - 0x628], 0
lea ecx, [ebp - 0x638]
mov dword [ebp - 0x624], 7
mov word [ebp - 0x638], ax
call fcn.10050670
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.100088e0
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.100a242e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10009730
int3