Function at 0x10030250
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101538e1
mov eax, dword fs:[0]
push eax
mov eax, 0x13e0
call fcn.1011bf70
mov eax, dword [0x10198e28]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x10], 0
jne 0x10030528
lea eax, [ecx + 0x50]
mov dword [ebp - 0x1354], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x10030528
push 0x800
lea eax, [ebp - 0x1310]
push 0
push eax
call fcn.101293f0
push 0x800
lea eax, [ebp - 0xb10]
push 0
push eax
call fcn.101293f0
add esp, 0x18
lea eax, [ebp - 0x1310]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xfe
lea eax, [ebp - 0x10e]
push 0
push eax
call fcn.101293f0
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
xor esi, esi
nop dword [eax]
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x110], ax
lea eax, [ebp - 0x1320]
push eax
movups xmmword [ebp - 0x1320], xmm0
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x200
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.101293f0
movzx eax, byte [ebp - 0x1311]
push eax
movzx eax, byte [ebp - 0x1312]
push eax
movzx eax, byte [ebp - 0x1313]
push eax
movzx eax, byte [ebp - 0x1314]
push eax
movzx eax, byte [ebp - 0x1315]
push eax
movzx eax, byte [ebp - 0x1316]
push eax
movzx eax, byte [ebp - 0x1317]
push eax
movzx eax, byte [ebp - 0x1318]
push eax
movzx eax, word [ebp - 0x131a]
push eax
movzx eax, word [ebp - 0x131c]
push eax
push dword [ebp - 0x1320]
lea eax, [ebp - 0x310]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push eax
call fcn.1002fa00
lea eax, [ebp - 0x310]
add esp, 0x40
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100303a6
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x110]
push 0x80
push eax
call fcn.1013a1e3
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x1310]
push eax
lea eax, [ebp - 0xb10]
push eax
call edi
push str..tmp
lea eax, [ebp - 0xb10]
push 0x400
push eax
call fcn.1013a0a1
add esp, 0xc
lea eax, [ebp - 0xb10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100304fd
inc esi
cmp esi, 0xa
jl 0x10030300
call fcn.1005e790
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10030528
push 0x5e
push str.d:jenkins.jenkinsworkspacelib_commonwnd_plugin_realeasewnd_pluginmediaadmediaadmgr.cpp
lea ecx, [ebp - 0x1350]
mov dword [ebp - 0x1340], eax
mov dword [ebp - 0x133c], 0xf
mov byte [ebp - 0x1350], al
call fcn.1001dfc0
push 3
push 0x1015c718
lea ecx, [ebp - 0x1338]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1328], 0
mov dword [ebp - 0x1324], 0xf
mov byte [ebp - 0x1338], 0
call fcn.1001dfc0
mov byte [ebp - 4], 1
call fcn.1005e790
mov edi, eax
lea ecx, [ebp - 0x13ec]
push 0x21
lea eax, [ebp - 0x1350]
push eax
lea eax, [ebp - 0x1338]
push eax
call fcn.10011410
mov esi, eax
push str.get_temp_dir_fail.
push esi
mov byte [ebp - 4], 2
call fcn.10013bd0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x13ec]
call fcn.10014090
lea ecx, [ebp - 0x1338]
call fcn.10005050
lea ecx, [ebp - 0x1350]
call fcn.10005050
jmp 0x10030528
lea edx, [ebp - 0xb10]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10030506
mov ecx, dword [ebp - 0x1354]
lea eax, [ebp - 0xb10]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.10006430
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.1011bafc
mov esp, ebp
pop ebp
ret