Function at 0x1004cd70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1ced
mov eax, dword fs:[0]
push eax
sub esp, 0x760
mov eax, dword [0x10121b54]
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.100b28f0
mov eax, dword [edi]
add esp, 0xc
mov dword [ebp - 0x6d4], 0x58
mov dword [ebp - 0x6d0], 0
cmp dword [eax - 0xc], 0
jne 0x1004ce0f
mov dword [ebp - 0x6c8], str.All_Files_._
mov dword [ebp - 0x698], 0
jmp 0x1004cf5e
call fcn.1000a020
mov ecx, eax
test ecx, ecx
je 0x1004d1f8
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 0x100f2038
push eax
call fcn.100149e0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100b28f0
push dword [edi]
lea eax, [ebp - 0x66c]
push dword [edi]
push str._s_Files_._s_
push eax
call fcn.100149e0
mov esi, dword [ebp - 0x66c]
lea eax, [ebp - 0x420]
add esp, 0x30
push esi
push dword [esi - 0xc]
push eax
call fcn.1004e4c0
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.100149e0
mov esi, dword [ebp - 0x66c]
add esp, 0xc
push esi
push dword [esi - 0xc]
push edi
call fcn.1004e4c0
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.100149e0
mov esi, dword [ebp - 0x66c]
add esp, 8
push esi
push dword [esi - 0xc]
push edi
call fcn.1004e4c0
mov eax, dword [esi - 0xc]
push str.._
lea edi, [edi + eax*2]
lea eax, [ebp - 0x66c]
add edi, 2
push eax
call fcn.100149e0
mov esi, dword [ebp - 0x66c]
add esp, 8
push esi
push dword [esi - 0xc]
push edi
call fcn.1004e4c0
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 0x1004cf58
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.100b28f0
mov ecx, dword [ebp - 0x67c]
add esp, 0xc
mov ecx, dword [ecx]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x1004cfa1
push 1
push eax
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
jmp 0x1004cfb8
inc eax
push eax
push ecx
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.100ba57c
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.100b28f0
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 0x1004d160
call dword [sym.imp.COMDLG32.dll_CommDlgExtendedError]
mov dword [ebp - 0x670], eax
call fcn.1006b3e0
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x1004d139
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.1000ba10
push 3
push 0x100ebef8
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.1000ba10
mov byte [ebp - 4], 2
call fcn.1006b3e0
mov edi, eax
lea ecx, [ebp - 0x76c]
push 0x1bc
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x650]
push eax
call fcn.100082f0
mov esi, eax
push str._Utils__OpenFileSaveDialog__err_to_save_file_name:
push esi
mov byte [ebp - 4], 3
call fcn.10009630
add esp, 8
mov ecx, esi
push dword [ebp - 0x670]
call fcn.100142d0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x76c]
call fcn.100096f0
lea ecx, [ebp - 0x650]
call fcn.10008e90
lea ecx, [ebp - 0x668]
mov dword [ebp - 4], 0xffffffff
call fcn.10008e90
mov esi, dword [ebp - 0x674]
xor eax, eax
push 0x100ebac4
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.1004e8d0
jmp 0x1004d1db
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.1004e8d0
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.10008ee0
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.10097f4e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10009e10
int3